Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何反序列化这个JSON字符串以NSSArray使用 jsonkit。
NSSArray
[{"answer": "AAA", "questionId": "1"}, {"answer": "BBB", "questionId": "2"}, ...]
这样的事情应该这样做:
NSDictionary *jsonDictionary = [jsonString objectFromJSONString]; NSArray *jsonValues = [jsonDictionary allValues];