Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
JSON parser sample
#import "SZJsonParser.h"
NSString *str = @"[ 'Apple', 'Banana' ]";
id obj = [str jsonObject]; // obj will be an array or a dictionary
NSLog(@"JSON Object: %@", obj);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment