這是我的代碼中的示例json數組。我如何使用getJSON從這個數組中獲取數據。getJSON從這個json數組中獲取數據
"Restoration": [
{
"Easy": {
"value": "1",
"info": "This is Easy."
},
"Medium": {
"value": ".75",
"info": "This is Medium."
},
"Difficult": {
"value": ".5",
"info": "This is Difficult."
}
}
]
可能重複http://stackoverflow.com/questions/11922383/access-process-nested-objects-arrays- or-json) – 2014-04-14 06:36:24