NSData * data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"demo001" ofType:@"json"]];
NSLog(@"第一个输出%@",data);
id jsonObject = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&error];
NSDictionary *responseDic = jsonObject;
NSLog(@"第二个输出%@",responseDic);
原文:https://www.cnblogs.com/davidyff/p/8758839.html