EnjoySR / ESJsonFormat-Xcode

将JSON格式化输出为模型的属性
MIT License
2.13k stars 351 forks source link

The data couldn’t be read because it isn’t in the correct format #1

Closed lucifer001 closed 9 years ago

lucifer001 commented 9 years ago

我们后端返回的这种数据,没法用啊。 { data = { album = ( ); "attr_num" = 10; "dynamic_num" = 20; "fans_num" = 9; "friends_num" = 5; hobby = ""; integral = 102; level = 0; nickname = "\U8f7b\U8214\U6307\U5c16"; rmb = 96936; signature = ""; }; msg = success; result = 1; }

EnjoySR commented 9 years ago

这个不是一个正确的json哟,json校验:http://www.kjson.com/

lucifer001 commented 9 years ago

哦,必须是json啊 ,这个是json解析后的数据字典

EnjoySR commented 9 years ago

嗯嗯。如果没有其他疑问的话我就close了哦?谢谢你的关注。