Swift - Create data model from JSON response

后端 未结 6 1984
小鲜肉
小鲜肉 2021-02-02 01:08

I\'m learning Swift lang and one of the things that would be great to hear others input about is \"How you handle models from JSON responses\"? For example -

I have

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-02 01:27

    I'm using jsoncafe easiest and customizable template base model class generator with different framwroks like SwiftyJSON, Codable, Gloss, Simple Swift Class even you can make your own template

    jsoncafe.com

提交回复
热议问题