I am trying to parse my nested JSON with JSONKit and the 2nd level JSON isn't being parsed correctly.
Here's sample JSON...
{
"app": {
"content": "[{\\\"Id\\\":\\\"1\\\",\\\"Name\\\":\\\"John\\\"},{\\\"Id\\\":\\\"2\\\",\\\"Name\\\":\\\"John\\\"}]"
}
}
and Here's my code...
NSString *jsonString = "...long nested json string...";
NSDictionary *jsonParsed = [jsonString objectFromJSONString];
NSString *content = [[jsonParsed objectForKey:@"app"] objectForKey:@"content"];
NSDictionary *jsonContent = [content objectFromJSONString];
NSLog(@"%@", jsonContent);
Where am I going wrong?