JSON Parsing in iOS 7

前端 未结 14 2291
长情又很酷
长情又很酷 2020-12-04 11:25

I am creating an app for as existing website. They currently has the JSON in the following format :

[

   {
       \"id\": \"value\",
       \"array\": \"[{\         


        
14条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 12:18

    As another answer has said, that value is a string.

    You can get around it by turning that string into data, as it seems to be a valid json string and then parse that json data object back into an array which you can add to your dictionary as the value for the key.

提交回复
热议问题