如何读取本地json文件:
NSString *textPath = [[NSBundlemainBundle]pathForResource:@"test1"ofType:@"json"];
NSData *textData = [NSDatadataWithContentsOfFile:textPath];
NSDictionary *textDic = [NSJSONSerializationJSONObjectWithData:textDataoptions:NSJSONReadingAllowFragmentserror:nil];