jq解析json文件

$.ajaxSettings.async = false;//同步还是异步

$.getJSON(URL,function(data)
{
  //成功后执行

})

原文地址:https://www.cnblogs.com/lbonet/p/7128021.html