JSONKit EXC_BAD_ACCESS
void objectISA = (JK_EXPECT_F(workAroundMacOSXABIBreakingBug)) ? NULL : *((void *)objectPtr);
此处崩溃出现EXC_BAD_ACCESS
我是如下方式调用JSONKit
NSMutableDictionary *jsonDict2 = [NSMutableDictionary dictionary]; [jsonDict2 setObject:@"doLogin" forKey:@"method"]; [jsonDict2 setObject:jsonDict1 forKey:@"params"];
NSString *sendeStr = [jsonDict2 JSONString];
解决办法 用这个JSONKit https://github.com/jcbertin/JSONKit