Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nsjsonserialization in ios5?

Tags:

json

ios5

I have been reading that there is a now library in ios 5 that allows you to serialize & deserialize JSON data. I can't for the life of me find examples or the framework in my /Developer folder. Anyone have luck locating/working with this? If so could you please point me in the right direction?

like image 397
user483044 Avatar asked Jul 17 '11 21:07

user483044


2 Answers

NSJSONSerialization is now public in iOS 5, and there's an example of its use in the Tweeting sample app.

like image 64
Drew C Avatar answered Oct 15 '22 17:10

Drew C


I'm using it and it's quite simple, just import the library:

#import <Foundation/NSJSONSerialization.h> 

and begin to use it.

Here there's a small but good tutorial: http://pragprog.com/magazines/2011-11/inside-ios-

like image 21
calamandurrio Avatar answered Oct 15 '22 15:10

calamandurrio