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

前端 未结 6 1786
花落未央
花落未央 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:55

    You can make model class using this url : http://www.jsoncafe.com/

    open this link and put your json in JSON tab and select any Code Template that is you want. and there is you can also add prefix class name and root class name if you want other wise it is optional. and last click on generate button, your json class is ready.!!

提交回复
热议问题