このjsonオブジェクトをループして各アイテムの値を取得するにはどうすればよいですか? これは簡単ですが、この json オブジェクトの最初と最後に 2 つの角かっこ ([]) がある理由を理解する必要があります。
[// I'm talking about this
[
{
"id": 2,
"title": "xxxxxxxxx",
"author": "mike123",
"postdate": "March 12, 2013 at 6:46 pm",
"postdatecreation": "2013-03-12",
"posteditdate": null,
"postcontent": "eeeeee",
"userID": 34
}
]
]// and this
それらを削除しても、json は引き続き有効です。