BaseModel类
基础Model类, 实现了 将Model转化成NSDictionary,转化成JsonString,将NSDictionary转化成Model
继承BaseModel类,创建自己的Model类
// Model -> Dictionary
-(NSDictionary*)toDictionary;
//Model ->Json
-(NSString*)TOjsonString;
//dictionary -> Model
-(id)initWithDic:(NSDictionary *)dic;
资源下载:
http://download.csdn.net/detail/jasonjz/9305211
在线Json校验格式化工具:
http://www.bejson.com