-2

这是我的代码

NSMutableArray *responseArray = [responseString objectFromJSONString];

我想这样做来获取值:

NSMutableDictionary *responseDict = [responseArray objectAtIndex:<#(NSUInteger)#>];

我想添加NSMutalbeArray到 Dict 变量,如何做到这一点请帮助我

这是responseArray

response >>>>>>>>> succ [{"id":"1","name":"Guitars \/

 Basses","description":"","image":"","parent_category":null},{"id":"2","name":"Keyboards \/ 

 Modules","description":"","image":"","parent_category":null},{"id" . . . . .  }]

如何获取字典值?

4

1 回答 1

0

首先在http://jsonlint.com/上检查您的 json 响应。它是无效的。

于 2013-05-24T12:01:11.343 回答