Is there a class to parse JSON from a server in the iOS SDK? (similar to NSXML for XML and by extension RSS.)
+2
A:
JSON support is not native to iOS, but there is a great framework for this exact purpose: http://code.google.com/p/json-framework/
This framework supports conversion from raw JSON objects to Objective-C objects (NSArray
, NSDictionary
) and vice versa.
Jacob Relkin
2010-08-25 02:42:25
A:
There are several JSON libraries for the iPhone listed in this thread: http://stackoverflow.com/questions/286087/best-json-library-to-use-when-developing-an-iphone-application
hotpaw2
2010-08-26 03:58:14