JSONの例:
注:「Docs」アレイは、この大きなアレイに含まれるさまざまなアレイの1つです。
{
"Docs": {
"Title1": {
"id": "1",
"active": "0",
"title": "xxx",
"date": "October 22, 2012",
"description": "Description here",
"ext": "DOCX",
"when": "Tuesday, October 23",
"subject": "French",
"author": "xx xD",
"email": "xx.xx@gmail.com",
"day": "Tuesday, October 23",
"dl": "9 downloads"
},
"Title2": {
"id": "2",
"active": "0",
"title": "Vocab, Page 64",
"date": "October 22, 2012",
"description": "Description goes here",
"ext": "XLSX",
"when": "Tuesday October23",
"subject": "French",
"author": "xxxxxx",
"email": "xxx@yahoo.com",
"day": "Tuesday October23",
"dl": "3 downloads"
}
}
たとえば、「Docs」配列(Docs)のタイトルを取得し、docs配列内の配列の数のカウントも取得するNSDictionaryを作成するにはどうすればよいですか?ありがとう。私はこれを行う方法に非常に混乱しています。