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 = (JK_EXPECT_F(workAroundMacOSXABIBreakingBug)) ? NULL : *((void **)objectPtr);
here is sample code i tried
NSDictionary *dict = @{@"StringKey":@"Value", @"NumberKey" : @5};
NSString* reqString = [dict JSONStringWithOptions:JKSerializeOptionNone error:&jsonError];
is there is any hint why I'm getting this error?