I'm using JSONKit
to parse JSON strings, for some reason when trying to assign the JSON string into NSDictionary
it returns null
JSONDecoder *jsonDecoder = [[JSONDecoder alloc] initWithParseOptions:JKParseOptionNone];
NSData *jsonData = [NSData dataWithBytes:[jsonString UTF8String] length:[jsonString length]];
NSDictionary *tempDict = [jsonDecoder objectWithData:jsonData];
jsonString
holds the content, tempDict equals NULL
Thanks!