txt文件名为MovieList.txt
//解析数据时用这种方法不用每次运行时都改文件路径
NSString *path = [[NSBundle mainBundle] pathForResource:@"MovieList" ofType:@"txt"];
NSData *data = [NSData dataWithContentsOfFile:path];
NSError *error;
id result = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:&error];
NSLog(@"%@", result);