将JSON数据直接转成NSObject YYJSON

码农软件 · 软件分类 · JSON/BSON开发包 · 2019-03-31 21:42:56

软件介绍

将JSON数据直接转成NSObject

支持自己绑定属性名和JSON对应的key

@interface NSObject (YYJSON)
//如果需要获取父类的属性,则重载此方法并且return YES
+ (BOOL)YYSuper;
//映射的字典
+ (NSDictionary *)YYJSONKeyDict;
//自定义绑定 
+ (void)bindYYJSONKey:(NSString *)jsonKey toProperty:(NSString *)property;
@end

具体使用方法看Demo吧

本文地址:https://www.codercto.com/soft/d/2586.html

Once Upon an Algorithm

Once Upon an Algorithm

Martin Erwig / MIT Press / 2017-9-8 / GBP 22.95

How Hansel and Gretel, Sherlock Holmes, the movie Groundhog Day, Harry Potter, and other familiar stories illustrate the concepts of computing. Picture a computer scientist, staring at a screen and......一起来看看 《Once Upon an Algorithm》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具