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

前端 未结 7 1592
既然无缘
既然无缘 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:54

    See also https://github.com/jsonmodel/jsonmodel

    Magical Data Modeling Framework for JSON - allows rapid creation of smart data models. You can use it in your iOS, macOS, watchOS and tvOS apps.

    This is also the chosen library for the Objective-c Swagger client.

提交回复
热议问题