johnezang / JSONKit

Objective-C JSON
6.21k stars 1.66k forks source link

got crash on iOS 8.1 device iPhone6+ #160

Open captain-black opened 9 years ago

captain-black commented 9 years ago

tmp76068213 tmp317ab4f3

only on iOS8.1 device iPhone6+

JianYeee commented 9 years ago

with the same error while my dic have a NSNumber value,when changed to string ,it works fine

willonboy commented 9 years ago

all of these will cause crash when my project support arm64! why ?

NSLog(@"str %@", [@[@(1)] JSONString]);
NSLog(@"str %@", [@{@"id" : @(1)} JSONString]);
JianYeee commented 9 years ago

When I replace @(1) with [NSNumber numberWithInteger:1] or string, it will fine.

backlux commented 9 years ago

+1 [NSNumber numberWithInteger:1] works

rooperi commented 9 years ago

system() popen() exec() passthru() eval() backticks