views:

87

answers:

2

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
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