码迷,mamicode.com
首页 > Web开发 > 详细

jsonkit 解析nsarray 时候 报错

时间:2014-07-03 18:25:16      阅读:356      评论:0      收藏:0      [点我收藏+]

标签:ios

jsonkit 解析nsarray 时候 报错

Assertion failure in -[TXJKArray count], /Users/mqq/hudson/1740/src/TencentOpenApi_IOS/Common/Util/JSONKit.m:738



解决办法:

Had the same issue, I was trying to set the output straight to a dictionary I had created.
myDictionary = [string objectFromJSONString];

solved it by setting the output to a temporary dictionary and making a copy
NSDictionary *tempDictionary =[string objectFromJSONString];
myDictionary = [tempDictionary copy];

JSONKit is a very nice tool I will continue to use it!

jsonkit 解析nsarray 时候 报错,布布扣,bubuko.com

jsonkit 解析nsarray 时候 报错

标签:ios

原文地址:http://blog.csdn.net/liudukun/article/details/36424349

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!