jsonkit 分解nsarray 时刻 一个错误
2024-08-28 08:48:17
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!
版权声明:本文博主原创文章,博客,未经同意不得转载。
最新文章
- Android Studio同时打开多个项目
- [liusy.api-SMJ]-MAVEN archetype 创建项目
- include包含头文件的语句中,双引号和尖括号的区别是什么?
- Java多线程系列--“基础篇”02之 常用的实现多线程的两种方式
- cat -n与nl的区别
- Vmware vsphere webservice sdk 连接打开慢的问题
- _set_invalid_parameter_handler异常处理函数
- Codeforces 735C:Tennis Championship(数学+贪心)
- js动态生成数据列表
- flex 监听网络连接情况
- 设计模式_Decorator_装饰模式
- JS中timestamp日期类型的转换
- Adrnoid开发系列(二十五):使用AlertDialog创建各种类型的对话框
- 51 nod 1203 JZPLCM
- VC++ 6.0中添加库文件和头文件
- python2和python3的区别
- 18.1 volatile的作用
- 使用HostAliases 添加pod 的/etc/hosts
- expdp ORA-39070:Unable to open the log file
- powerdesigner远程连接数据库
热门文章
- 【Codeforces Round #433 (Div. 1) C】Boredom(二维线段树)
- 参数传递方法(用Delphi的汇编代码解释)
- IOS RGB颜色转换
- [Maven实战](6)仓库(本地仓库,远程仓库,镜像)
- Hadoop读书笔记(四)HDFS体系结构
- SQLITE3 使用总结(直接使用C函数)
- [AngularJS Ng-redux] Integrate ngRedux
- thinkphp3.2.3 excel导出,下载文件,包含图片
- ArcGIS二次开发入门(一)
- sourceinsight4