`"{
"24":"Andaman and Nicobar Islands",
"31":"Andhra Pradesh",
"8":"Arunachal Pradesh",
"32":"Assam",
"33":"Bihar",
"28":"Chandigarh",
"30":"Chhattisgarh",
"20":"Dadra and Nagar Haveli",
"27":"Daman and Diu",
"36":"Delhi",
"39":"Goa",
"23":"Gujarat",
"18":"Haryana",
"38":"Himachal Pradesh",
"1":"Jammu & Kashmir",
"5":"Jammu and Kashmir",
"21":"Jharkhand",
"35":"Karnataka",
"7":"Kerala",
"3":"Lakshadweep",
"40":"Madhya Pradesh",
"4":"Maharashtra",
"26":"Manipur",
"16":"Meghalaya",
"37":"Mizoram",
"14":"Nagaland",
"29":"National Capital Region (India)",
"19":"Odisha",
"2":"Orissa",
"34":"Puducherry",
"6":"Punjab",
"12":"Rajasthan",
"15":"Sikkim",
"25":"Tamil Nadu",
"17":"TamilNadu",
"9":"Tripura",
"22":"Uttar Pradesh",
"10":"Uttarakhand",
"11":"West Bengal"
}"`
我发现JSON许多文章排序,但他们有不同的格式,我想这就是为什么它不工作我尝试以下 url_1
我是JSON和jquery的新手,请客气。
+0
http://stackoverflow.com/help/how-to-ask - 尤其是预期/所需VS实际输出,以及你想这个到代码运行也很有帮助 –