This is a static library which can be used for iOS applications to convert objects to JSON and convert JSON to objects. This is not only for Foundation objects but any custom object that implements the NSCoding protocol.
-
It will convert complex objects to a dictionary of Foundation objects, then use NSJSONSerialization to convert the created dictionary to JSON.
-
Same for decoding, it will use the NSJSONSerialization to get the dictionary representing the object, then it will build the complex object from it.
- This is a static library, clone it then use steps here to add to your project.