how do I deserialize this JSON string to NSSArray
using jsonkit.
[{"answer": "AAA", "questionId": "1"}, {"answer": "BBB", "questionId": "2"}, ...]
how do I deserialize this JSON string to NSSArray
using jsonkit.
[{"answer": "AAA", "questionId": "1"}, {"answer": "BBB", "questionId": "2"}, ...]
Something like this should do it:
NSDictionary *jsonDictionary = [jsonString objectFromJSONString];
NSArray *jsonValues = [jsonDictionary allValues];