JSONKit icon indicating copy to clipboard operation
JSONKit copied to clipboard

Objective-C JSON

Results 107 JSONKit issues
Sort by recently updated
recently updated
newest added

``` NSArray * josnArry = [[NSArray alloc] init]; NSString * josnString = [josnArry JSONString]; ``` Xcode 7 reported the wrong how to solve the crash

NSString *str = @"{\"123123\":\"1\"}"; NSDictionary *jsonObj = [str objectFromJSONString]; [jsonObj JSONData]; crash on [jsonObj JSONData]; only who know how to solve this? ![default](https://cloud.githubusercontent.com/assets/2555197/9987653/4e9110a6-607c-11e5-8c20-66dea83029ac.png)

can not use with xcode 7, when run simulator crush in "void _keyObjectISA = *((void *_)keys[idx]);"

replacing _((void *_) with object_getClass( - to fix crash in iOS9 replaced "->isa =" wiith objectSetClass -to make compiler happier ;)

void _objectISA = (JK_EXPECT_F(workAroundMacOSXABIBreakingBug)) ? NULL : *((void *_)objectPtr); This is where I use JSONString: [@{@"ID":@"", @"Data":[@{@"EditionID":@6, @"AppID":kAppID} JSONString] when I change @6 to @"6" , this line of code...

I'm getting EXC_BAD_ACCESS (code=EXC_I368_GPFLT) when trying to convert dictionary that contains NSNumber in method called `jk_encode_add_atom_to_buffer` in the following line `void *objectISA = (JK_EXPECT_F(workAroundMacOSXABIBreakingBug)) ? NULL : *((void **)objectPtr);` here...

There are two deprecations. OK to fix like this? // http://stackoverflow.com/a/14590684/129202 object_setClass(array, _JKArrayClass); // was deprecated: array->isa = _JKArrayClass; // http://stackoverflow.com/a/14590684/129202 object_setClass(dictionary, _JKDictionaryClass); // was deprecated: dictionary->isa = _JKDictionaryClass;

Hi Thanks for the awesome library. I was wondering that should the support for GZIP decompression be added to master? I could see in the "experimental" branch that a commit...

...check with a diagnostic ignore (bitmasking tagged pointers is deprecated). There's likely more work to do around the ABIBreakingBug check; primarily wanted to get this up and running on iOS/Xcode5.0.1....