[英]Working with JSON in iOS6
I have worked with JSONKit library in a previous iOS version. 我曾在以前的iOS版本中使用过JSONKit库。 The problem with JSONKit in iOS6 is that most of the methods are deprecated and I am getting warnings when I compile.
iOS6中JSONKit的问题在于大多数方法已被弃用,并且在编译时会收到警告。
Is there any way to resolve this issue? 有什么方法可以解决这个问题吗?
Use the native NSJONSerialization Class 使用本机NSJONSerialization类
I have got another solution for the same... 我有另一个解决方案...
Following link contains: 以下链接包含:
ios-funda.blogspot.in/2012/11/working-with-json-in-ios6.html ios-funda.blogspot.in/2012/11/working-with-json-in-ios6.html
This JSONKit classes worked fine with iOS6.. 这个JSONKit类适用于iOS6 ..
For anyone interested, here's a repo with iOS6 fixes (and a Podspec file). 对于任何有兴趣的人,这里有一个iOS6修复(和Podspec文件)的仓库。 https://github.com/JoistApp/JSONKit
https://github.com/JoistApp/JSONKit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.