A Very High Performance Objective-C JSON Library, licensed under the terms of the BSD License
Questions tagged [jsonkit]
87 questions
1
vote
1 answer
Error in serializing NSNumber using JSONKIT
I'm getting EXC_BAD_ACCESS (code=EXC_I368_GPFLT) when trying to serialize dictionary that contains NSNumber using JSONKIT
I got the exception in method called jk_encode_add_atom_to_buffer in the following line
void *objectISA =…

Mahmoud Adam
- 5,772
- 5
- 41
- 62
1
vote
1 answer
How do i deal with my response object which corresponds to node ids?
Edit wording..
I am using a 3rd party library called Drupal-IOS-SDk to connect my Drupal website with my under development IOS app. I use a method to index nodes on my website and I am just wondering if anyone has any knowledge about how to deal…

Ishiffman120
- 313
- 1
- 14
1
vote
1 answer
JSONKit not deserializing property without quotes
I'm trying to deserilaize the following into an NSDictionary using both JSONKit and Apple's built in json serlializer
{route:"/tasks/4f9218a27e5c8f0000000000"}
why does it fail
NSDictionary *jsonDictionary = [[JSON valueForKeyPath:@"data"]…

MonkeyBonkey
- 46,433
- 78
- 254
- 460
1
vote
1 answer
JSONKit giving parse error but JSONLint.org says it's valid
Here's my post.json file:
[
{
"Title": "Introduction to WCF",
"Url": "http://myaddress/videos/introduction-to-wcf",
"Thumbnail": "http://myaddress/images/20110212_01.jpg",
"Exceprt": "Introduction to WCF",
…

Mark W
- 3,879
- 2
- 37
- 53
1
vote
2 answers
JSONKit for xcode 4.6 ios 6 with ARC?
Well, I did add the JSONKit classes (JSONKit.h & JSONKit.h) but in the .m file, I have a lot of warnings & compil's error's like:
NSError *error; //--> ARC forbids Objetive-C in structs or unions
or
id key, object; whit the same error
anObject…

user_Dennis_Mostajo
- 2,279
- 4
- 28
- 38
1
vote
1 answer
JSONKit invalid arguement when try to copy
I am parsing JSON data with JSONKit as NSMutableDictionary.
NSString *str = [[NSString alloc] initWithData:self.responseData encoding:NSUTF8StringEncoding];
NSMutableDictionary *jsonResponse = [self.responseData…

Umut Sirin
- 2,462
- 1
- 21
- 31
1
vote
1 answer
The JKDictionary class is private to JSONKit and should not be used in this fashion
This is a followup question to this
In short, I'm making my app iOS 4.3 compatible and using the AFNetworking class version 0.10.1 that supports iOS 4 in my app.
This line self.responseJSON = AFJSONDecode(self.responseData, &error); gives me the…

Segev
- 19,035
- 12
- 80
- 152
1
vote
2 answers
Duplicate Symbol _OBJC_IVAR_$_GCOAuth.OAuthParameters ShareKit and RestKit.
I am in a sticky situation where for the last couple of days I havent been able to progress with sharekit implementation because I am getting a duplicate symbol error with RestKit. I am running with iOS 5.1 and the latest version of xcode. I have…

jimbob
- 3,288
- 11
- 45
- 70
1
vote
1 answer
"Invalid escape sequence found in "" string." reported from JSON call using RestKit
The web service call is failing with the message "Invalid escape sequence found in "" string." being shown through objectLoader:didFailWithError: method.
The JSON that is being fetched from the server has some \ characters and that appears to be the…

OutOnAWeekend
- 1,383
- 1
- 18
- 36
1
vote
1 answer
jsonkit user defined issues and arc restrictions on trying to import it from objective c
So it's my first time to try and use jsonkit. I've been looking for the past hour and couldn't find any installation instructions so I just tried copying and pasting the files and then adding them into the xcode project and then import them. But…

gdubs
- 2,724
- 9
- 55
- 102
1
vote
1 answer
Memory leaks JSONKit iOS
I'm using JSONKit in my app, but when I click analyze in Xcode I get 2 issues in JSONKit.m:
Issue 1:
Issue 2:
Should I do something about this?

Gustaf Rosenblad
- 1,902
- 2
- 25
- 45
1
vote
3 answers
Add objects to dictionary created by JSONKit?
In my project I have to load a number of json files. I parse them with JSONKit and after every single parsing with
NSMutableDictionary *json = [myJSON objectFromJSONString];
I add them to an array like:
[self.themeArray addObject:json];
This…

rockstarberlin
- 1,853
- 1
- 18
- 31
1
vote
1 answer
Git fatal: the remote end hung up when cloning JSONKit.git
What I Want
I want to clone the JSONKit repo from Github.
The Problem
% git clone git://github.com/johnezang/JSONKit.git
…

John Gallagher
- 6,208
- 6
- 40
- 75
1
vote
2 answers
JSON to Objective-C Dictionary
I'm making URL Request to an API but I dont know how to render the JSON, It generates an array of multiple users like this [{"user": "value"}, {"user":"value"}] and I was trying to use a TableView so I need an NSDictionary but i think is better to…

jtomasrl
- 1,430
- 3
- 13
- 22
1
vote
1 answer
JSONKit parsing issue
I am receiving a JSON object like this:
{"data":null,
"error":1,
"error_code":"InvalidSID",
"sid":"",
"num_rows_total":0,
"last_insert_id":0,
"error_info":"Comment...",
"error_data":[]}
and JSONKit using this code:
NSString *responseString =…

Michal
- 15,429
- 10
- 73
- 104