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!

版权声明:本文博主原创文章,博客,未经同意不得转载。

最新文章

  1. Android Studio同时打开多个项目
  2. [liusy.api-SMJ]-MAVEN archetype 创建项目
  3. include包含头文件的语句中,双引号和尖括号的区别是什么?
  4. Java多线程系列--“基础篇”02之 常用的实现多线程的两种方式
  5. cat -n与nl的区别
  6. Vmware vsphere webservice sdk 连接打开慢的问题
  7. _set_invalid_parameter_handler异常处理函数
  8. Codeforces 735C:Tennis Championship(数学+贪心)
  9. js动态生成数据列表
  10. flex 监听网络连接情况
  11. 设计模式_Decorator_装饰模式
  12. JS中timestamp日期类型的转换
  13. Adrnoid开发系列(二十五):使用AlertDialog创建各种类型的对话框
  14. 51 nod 1203 JZPLCM
  15. VC++ 6.0中添加库文件和头文件
  16. python2和python3的区别
  17. 18.1 volatile的作用
  18. 使用HostAliases 添加pod 的/etc/hosts
  19. expdp ORA-39070:Unable to open the log file
  20. powerdesigner远程连接数据库

热门文章

  1. 【Codeforces Round #433 (Div. 1) C】Boredom(二维线段树)
  2. 参数传递方法(用Delphi的汇编代码解释)
  3. IOS RGB颜色转换
  4. [Maven实战](6)仓库(本地仓库,远程仓库,镜像)
  5. Hadoop读书笔记(四)HDFS体系结构
  6. SQLITE3 使用总结(直接使用C函数)
  7. [AngularJS Ng-redux] Integrate ngRedux
  8. thinkphp3.2.3 excel导出,下载文件,包含图片
  9. ArcGIS二次开发入门(一)
  10. sourceinsight4