plist, files are xml
pragma mark - read local JSON file
```
- (NSDictionary *) readLocalFileWithName: (NSString *) name {
// get the file path
NSString * path = [[mainBundle the NSBundle] pathForResource: ofType name: @ "JSON"];
// data file of
NSData * data = [[NSData the alloc] initWithContentsOfFile: path];
// data JSON format and returns a dictionary
return [NSJSONSerialization JSONObjectWithData: data Options: kNilOptions error: nil];
}
Reproduced in: https: //www.jianshu.com/p/c6cfbeee7064