Both Mac OS X and iOS come with a built-in parser for JSON documents, in the
NSJSONSerialization class. This provides a means to parse a data object and return an
NSDictionary that contains the key/value pairs of a JSON object or an
NSArray to represent JSON arrays. Other literals are parsed and represented as the
The JSON parser uses
JSONObjectWithData to create an object from an
NSData object containing a string. ...