A fast, convenient and nonintrusive conversion framework between JSON and model. Your model class doesn't need to extend any base class. You don't need to modify any model file.
Fix decimal number transform to bool bug #726
Fixed:
NSNull
propertytrue
but not 1
Deprecated:
[self properties]
方法中的线程安全问题 #656NSObject
Protocol
的属性列表过滤 hash
, superclass
, description
, debugDescription
,避免crash #666 #665MJProperty
类中线程安全问题,并添加自定义锁MJ_LOCK()
#667extern
替换为 FOUNDATION_EXPORT
#633mj_keyValuesDidFinishConvertingToObject:
方法,把keyValues
传给业务方 #6301.合理调整全局变量的创建时间 2.线程同步
1.某些属性的懒加载转为init初始化 2.过期方法处理 3.用更简单的方法过滤NSObject自动生成的属性
解决多线程环境下的Crash问题
1.优先调用mj_replacedKeyFromPropertyName121 2.其次调用mj_replacedKeyFromPropertyName