1
我無法弄清楚爲什麼在使用jsonlint.com進行測試後,這是無效的JSON。這只是一個對象數組,我沒有看到任何遺漏或不合適的地方。JSON陣列形式的問題
[
{
「rel」: 「self」,
"href": "http://ourdomain/persons",
"name": {
"last": "best"
}
},
{
「rel」: 「self」,
"href": "http://ourdomain/persons",
"name": {
"last": "bet"
}
},
{
「rel」: 「self」,
"href": "http://ourdomain/persons",
"name": {
"last": "brown"
}
}
]