Cocoa-Touch - How parse local Json file

前端 未结 5 1294
鱼传尺愫
鱼传尺愫 2020-12-14 03:40

I\'m newbie in iOS dev and I\'m trying to parse a local Json file such as

{\"quizz\":[{\"id\":\"1\",\"Q1\":\"When Mickey was born\",\"R1\":\"1920\",\"R2\":\"1

5条回答
  •  轮回少年
    2020-12-14 04:32

    There seems to be a typo in your json file.

    Replace
    "R4","1234","response","1920" with "R4":"1234","response":"1920"
    and
    "rep4","1234","reponse","1920" with "rep4":"1234","response":"1920"

提交回复
热议问题