How to make model class for following JSON response in swift iOS

前端 未结 6 1718
花落未央
花落未央 2021-02-10 14:40

Hi i am beginner for swift ios and my requirement is have to display Json response to table list i got response from web-services and response seems like below

MY requ

6条回答
  •  花落未央
    2021-02-10 14:50

    You can make model class using this url : https://www.json4swift.com/

    Open this link and paste your JSON and select from below option you want. Click generate, it will generate class files you can download and used it in your project.

提交回复
热议问题