EnjoySR / ESJsonFormat-Xcode

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

如果数组里的元素是一个NSNumber类型什么的,就解决不了了. #35

Open littlepriest opened 9 years ago

littlepriest commented 9 years ago

{ "ret_code" : 200, "err" : "", "data" : [ [ 0, 1439864742, { "posts\/lists" : [ { "ret_code" : 200, "err" : "", "data" : [ { "u_nick" : "管理员", "p_id" : 1, "content" : "87为人民大会堂特制,习水大曲一瓶。酒满品好,900元。", "u_face_url" : "", "like_count" : 3, "title" : "87为人民大会堂特制,习水大曲一瓶", "publish_time" : "2015-08-08", "u_id" : 5, "comment_count" : 2, "cover" : "", "read_count" : 0 } ] } ] } ] ] }

我用ESJsonFormat只能解析到posts/lists,之后的数组是nil....希望早点解决 谢谢