這是我獲取到的json,請問怎樣把responseinfo轉成NSArry?試了好多方法都不行,凌亂了。
格式如下:
{"responsestatus":1,"responsecode":"2o02","responseinfo":"[{\"USERID\":\"18265309900\",\"USERNAME\":\"麻雀貓\",\"PASSWORD\":\"123456\",\"PHONE\":\"18262309900\",\"EMAIL\":\"\",\"REMARK\":\"\",\"STATUS\":\"1\",\"CMPID\":\"IMCCOY1\",\"MCMPID\":\"IMCCOY\",\"OPTID\":\"jerry\",\"TRNDATE\":\"2015/12/23 10:19:42\",\"CREATEID\":\"\",\"CREATEDATE\":\"\",\"LOGINDATE\":\"2015/12/8 17:13:48\",\"IMGSRC\":\"\"},{\"USERID\":\"18505237553\",\"USERNAME\":\"喵大咪\",\"PASSWORD\":\"123\",\"PHONE\":\"18505237553\",\"EMAIL\":\"[email protected]\",\"REMARK\":\"操作工\",\"STATUS\":\"1\",\"CMPID\":\"IMCCOY1\",\"MCMPID\":\"IMCCOY\",\"OPTID\":\"18505237553\",\"TRNDATE\":\"2015/11/25 10:51:34\",\"CREATEID\":\"\",\"CREATEDATE\":\"\",\"LOGINDATE\":\"2015/12/24 13:55:40\",\"IMGSRC\":\"\"}]"}
謝謝,用自己的方法搞定了,看來是沒靜下心來認真看一看。