How to serialize a class in IOS sdk (Objective-c)?

前端 未结 7 1589
既然无缘
既然无缘 2021-01-03 01:21

How to serialize the following class in objective-c so that it can be used with SBJson?

I get \"JSON serialisation not supported for Animal\" error when I use this c

7条回答
  •  伪装坚强ぢ
    2021-01-03 01:55

    This open source project JSONCoding makes the whole process pretty simple, using the new sdk class in conjunction with the NSCoding protocol.

提交回复
热议问题