getJSON 回调函数不执行

getJSON回调函数不执行的原因是因为 json的格式不正确,请参看正确的格式

特别是引号

{
"employees": [
{ "firstName":"Bill" , "lastName":"Gates" },
{ "firstName":"George" , "lastName":"Bush" },
{ "firstName":"Thomas" , "lastName":"Carter" }
]
}
原文地址:https://www.cnblogs.com/sode/p/2779107.html