Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.03 KB

File metadata and controls

13 lines (8 loc) · 1.03 KB

What is JSONCoding?

This is a static library which can be used for iOS/Mac 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.

How do I add JSONCoding to my project?

  • This is a static library, clone it then use steps here to add to your project.