Serialize and Deserialize Objective-C objects into JSON

后端 未结 7 1789
花落未央
花落未央 2020-11-30 01:05

I need to serialize and deserialize objective-c objects into JSON to store in CouchDB. Do people have any example code for best practice for a general solution? I looked a

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 01:58

    You may want to try JTObjectMapping. Their description:

    JTObjectMapping - Inspired by RestKit. A very simple objective-c framework that maps a JSON response from NSDictionary or NSArray to NSObject subclasses for iOS.

    It's very small (unlike RestKit) and works great.

提交回复
热议问题