RFJModel,一个可以将JSON字典自动装填到OBJC对象的IOS类库

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

@interface ExampleJModel : RFJModel
JProperty(NSString *value_NSString, map_value_NSString);
@property (nonatomic, assign) int64_t tag;
@end

@implementation ExampleJModel
@end

{
    "map_value_NSString":"hello world",
}

NSDictionary *json = ...;
ExampleJModel *model = [[ExampleJModel alloc] initWithJsonDict:json];
NSLog(@"%@", model.value_NSString);