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

posted @ 2016-03-17 14:37  bit by bit  阅读(166)  评论(0编辑  收藏  举报