A Very High Performance Objective-C JSON Library, licensed under the terms of the BSD License
Questions tagged [jsonkit]
87 questions
19
votes
2 answers
Does JSONKit support ARC, or is there a fork that supports ARC?
According to these comments, JSONKit does not support ARC, and not even running with fobjc-no-arc setting in an ARC environment:
https://github.com/johnezang/JSONKit/issues/37

Proud Member
- 40,078
- 47
- 146
- 231
15
votes
3 answers
JSONKit benchmarks
I pulled the code from
http://www.bonto.ch/blog/2011/12/08/json-libraries-for-ios-comparison-updated/ and tested it on my local machine.
I was surprised by the results and NSJSonSerialization gave much better performance than JSONKit.
Has…

Sam Khawase
- 348
- 6
- 21
11
votes
3 answers
is there an example of AFHTTPClient posting json with AFNetworking?
Looking for an example of how to post json with AFHTTPClient. I see that there is a postPath method which takes an NSDictionary and the AFJSONEncode method returns an NSData. Is there an easy way to serialize an object to NSDictionary, or is there…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
10
votes
2 answers
How do I JSON serialize an NSDate Dictionary in JSONKit
I tried this using Jsonkit and Apple's JSON serializer with no luck. It keeps breaking on the geo property, which is an nsarray of NSNumbers.
Post* p = [[Post alloc] init];
p.uname = @"mike";
p.likes =[NSNumber numberWithInt:1];
p.geo…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
10
votes
3 answers
iOS: Serialize/Deserialize complex JSON generically from NSObject class
Anyone have idea how to serialize nested JSON based on NSObject class? There is a discussion to serialize simple JSON here , but it is not generic enough to cater complex nested JSON.
Imagine this is the result of JSON:
{ "accounting" : [{…

Alphapico
- 2,893
- 2
- 30
- 29
8
votes
4 answers
Which json library to use on iphone to consume gson/jackson generated json
I need to build a java based JSON data API that will be accessed from mobile devices: Android, Iphone... I have narrowed down to these:
Server side data api - gson/jackson lib (pojo to json)
Android side - gson/jackson lib (json to pojo)
Iphone…

Ravi
- 3,719
- 6
- 28
- 40
7
votes
2 answers
iOS 7 : 'isa' is deprecated
I get warning when I run my app in iOS7 "'isa' is deprecated", I don't have any idea how to fix this warning message. Please any one help on this.
array->isa = _JKArrayClass;

Divya Bhaloidiya
- 5,018
- 2
- 25
- 45
7
votes
3 answers
Errors on JSONKit implement
Upon importing the JSONKit.h and JSONKit.m files into my project , i get the following errors. I have browsed and browsed but none seems to have encountered these problems ?
All i did was import the files and build and then i get this
Is it…

SnK
- 528
- 1
- 11
- 32
6
votes
2 answers
Can't turn off ARC for JSONkit
Using JSONkit for a project that is ARC enabled, and having issues. I flagged the files appropriately as -fno-objc-arc and tried a build, but it is still throwing errors like ARC is enabled. Any ideas what I could be missing?
For clarity, I flagged…

JoeCortopassi
- 5,083
- 7
- 37
- 65
5
votes
2 answers
Parsing JSON Array in iOS with JSONKit - array with no tag for ObjectForKey?
I am trying to parse a JSON array returned by a RESTful web API that looks similiar to the following (using JSONKit):
[ { "DateCreated" : "/Date(1320296400000)/",
"ID" : 1,
"Summary" : "Summary 1",
"Title" : "Title 1",
"URL" : "URL…

Evan
- 1,737
- 1
- 19
- 32
4
votes
1 answer
Could not find an object mapping for keyPath: ''
I am trying to use RestKit for communicating with a web service providing news items. I've studied this piece of documentation and based on that written this code
//
// NewsViewController_iPhone.m
#import "NewsViewController_iPhone.h"
#import…

Felix Andersen
- 1,381
- 2
- 14
- 26
4
votes
1 answer
Nimbus framework, using CocoaPods, with the Xcode 5 and iOS 7 SDK
Endless issues here:
Nimbus itself is bloated and less maintained every day
I feel, I am forced to upgrade Nimbus from 0.9.3 to 1.0.0 for various reasons
Upgrading Nimbus from 0.9.3 to 1.0.0 has lots of changes (e.g., AFNetworking)
Latest podspec…

Ali
- 1,396
- 14
- 37
4
votes
3 answers
Is JSONKit creating memory leaks?
I have been using JSONKit in my app, but now that I have upgraded to Xcode 4.5.1 and run the analyze, Xcode is reporting possible memory leaks in JSONKit code.
/Users/aleksa.topic/SVN/Apple/iTTChart/trunk/iTTChart/Other Sources/JSONKit.m:682:23:…

Aleksa
- 529
- 4
- 16
4
votes
1 answer
Is NSJSONSerialization more error-tolerant and robust than JSONKit?
Although according to benchmarks JSONKit is faster, the Github readme is full of warnings that illformed JSON leads to crashes, etc.
For me it is more important that there is no crash, and that an ilformed Unicode JSON or other subtle error in the…

Proud Member
- 40,078
- 47
- 146
- 231
3
votes
1 answer
AFNetworking + JSONKit not working together
AFNetworking + JSONKit + iOS 5.0+ = JSON parsing does not work (returns nil objects when trying to parse).
AFNetworking + iOS 5.0+ = JSON parsing works fine.
AFNetworking + JSONKit + iOS 4.X = JSON Parsing works
AFNetworking + iOS 4.X = JSON Parsing…

ninjaneer
- 6,951
- 8
- 60
- 104