Swift - Create data model from JSON response

后端 未结 6 1988
小鲜肉
小鲜肉 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:42

    May be its too late.

    You can also try using the link http://www.json4swift.com/results.php Where in you just need to paste the JSON values and it gives you the swift files instead.

提交回复
热议问题