NSString *jsonPath = [[NSBundle mainBundle] pathForResource:@"china_Updated" ofType:@"json"];
NSData *data = [NSData dataWithContentsOfFile:jsonPath];
NSError *error = nil;
id result = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&error];
NSLog(@"\n%@", [error localizedDescription]);
网友评论