JSONCoding
This is a static library to encode objects to JSON, and decode them back.
Install / Use
/learn @ontometrics/JSONCodingREADME
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
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
