SkillAgentSearch skills...

JSONCoding

This is a static library to encode objects to JSON, and decode them back.

Install / Use

/learn @ontometrics/JSONCoding
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars45
CategoryDevelopment
Updated1y ago
Forks7

Languages

Objective-C

Security Score

60/100

Audited on Mar 31, 2025

No findings