我一直在嘗試,但無法弄清楚爲什麼這個JSON無效(當我把它放在www.jsonlint.com上)任何人都可以幫忙嗎?這裏是JSON:爲什麼這個JSON無效?
[
{
"title": "COFA NEW SOUTH WALES ",
"img": "images/uni/cofa.png",
"desc": "One of the Best University",
"url": "http://127.0.0.1:8888/ilets/app/col.html"
},
{
"title": "MIDDLESEX UNIVERSITY ",
"img": "images/1339977840.jpg",
"desc": "Well this is Testi",
"url": "http://127.0.0.1:8888/ilets/app/MIDDLESEX UNIVERSITY.html"
},
{
"title": "ROYAL COLLEGE OF ARTS ",
"img": "images/uni/1339978144.png",
"desc": "This is One of the best University",
"url": "http://127.0.0.1:8888/ilets/app/ROYAL COLLEGE OF ARTS.html"
},
{
"title": "UNIVERSITY OF SCOTLAND ",
"img": "images/uni/1339996882.gif",
"desc": "SCOTLAND OWNS THIS UNIVERSITY",
"url": "http://127.0.0.1:8888/ilets/app/UNIVERSITY OF SCOTLAND.html"
}
]
這似乎驗證了我的JSONlint.com –
我複製並粘貼您的樣品放入JSONlint其說「有效的JSON」 –
[JSONLint](http://jsonlint.com )說這是有效的。 – Filburt