We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
JSON string -> NSDictionary:
NSString *jsonString = @"{"foo": "bar"}"; NSDictionary *dictionary = [jsonString JSONValue]; NSLog(@ "Dictionary value for "foo" is "%@"", [dictionary objectForKey:@"foo"]);
NSDictionary -> JSON string:
NSString *newJSONString = [dictionary JSONRepresentation];
`
There was an error while loading. Please reload this page.