I need a easy to use library whit examples for converting NSObjects to JSON and back again, I found a ton of parseing examples on the net for parsing JSon but not too much on converting NSObject to JSON using SBJSON, Anybody body have a good tutorial or a sample code to convert NSObject to JSON ?
Share
Using
SBJson, to convert a object to JSON string, you have to override theproxyForJsonmethod. Like the following,The .h file,
In the implementation file,
And to get the object from the JSON string you have to write a
parseResponsemethod like this,