MJExtension

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.

MIT License

Stars
8.5K
Committers
33

Bot releases are hidden (Show)

MJExtension - 3.4.2 Latest Release

Published by wolfcon 7 months ago

MJExtension - 3.4.2

Published by wolfcon 7 months ago

What's Changed

  • Add Privacy manifest

Full Changelog: https://github.com/CoderMJLee/MJExtension/compare/3.4.1...3.4.2

MJExtension - 3.4.1

Published by wolfcon almost 3 years ago

What's Changed

Full Changelog: https://github.com/CoderMJLee/MJExtension/compare/3.4.0...3.4.1

MJExtension - 3.4.0

Published by wolfcon about 3 years ago

  • SPM Support #823
  • Add NSSecureCoding support for quick implementation macro MJSecureCodingImplementation(class, isSupport). #821
  • Fixed the crash which EntityName is not same with ClassName in CoreData usage. #718
MJExtension -

Published by wolfcon over 3 years ago

  • Add watchOS and tvOS support.
MJExtension -

Published by wolfcon over 3 years ago

  • Fixing racing condition between setupBlock and readMethod
  • Raise exception when in debug mode
MJExtension -

Published by wolfcon over 3 years ago

  • Fixed multi-threading problems(dark cave🙈).
MJExtension -

Published by wolfcon almost 4 years ago

  • Fix array enumeration fatal error. (mutate array in for-loop)
MJExtension -

Published by wolfcon over 4 years ago

  • Callback converted keyValues as NSMutableDictionary instead of NSDictionary.
  • Add some docs in ReadMe
MJExtension -

Published by wolfcon about 5 years ago

  • Fix a mismatch between value and wrong type.

Do not use 3.2.0

MJExtension -

Published by wolfcon about 5 years ago

  • Add support for French number string to number.
  • Fix longlong conversion mistake.
MJExtension - Fix

Published by kinarobin about 5 years ago

Fix decimal number transform to bool bug #726

MJExtension - Fix

Published by CoderMJLee about 5 years ago

  • Fix a bug for number transform
MJExtension - support iOS 13 beta & fix some bugs

Published by wolfcon over 5 years ago

Fixed:

  • support iOS 13 beta version about that the cause of recursive issue with NSNull property
  • [BOOL] true value should be transform to true but not 1

Deprecated:

  • remove old deprecated methods
MJExtension - (Hotfix) fix memory leak for protocol_copyPropertyList

Published by wolfcon over 5 years ago

MJExtension - 3.0.16 - 修复线程安全及`NSObject`协议中崩溃的问题

Published by kinarobin over 5 years ago

Fix

  • 修复 [self properties] 方法中的线程安全问题 #656
  • 动态获取 NSObject Protocol 的属性列表过滤 hash, superclass, description, debugDescription,避免crash #666 #665
  • 修复 MJProperty 类中线程安全问题,并添加自定义锁MJ_LOCK() #667
  • 修复一处方法名错误

Performances

  • 代码文件结构更改, 方便抽离测试 #669
  • extern 替换为 FOUNDATION_EXPORT #633
  • 新增 mj_keyValuesDidFinishConvertingToObject:方法,把keyValues传给业务方 #630
  • 增加对NSDecimalNumber解析的支持 #628
MJExtension - 调整细节

Published by CoderMJLee over 6 years ago

1.合理调整全局变量的创建时间
2.线程同步

MJExtension - 一些小问题

Published by CoderMJLee about 8 years ago

1.某些属性的懒加载转为init初始化
2.过期方法处理
3.用更简单的方法过滤NSObject自动生成的属性

MJExtension - 多线程支持

Published by CoderMJLee about 8 years ago

解决多线程环境下的Crash问题

MJExtension - 增强key替换的功能

Published by CoderMJLee over 8 years ago

1.优先调用mj_replacedKeyFromPropertyName121
2.其次调用mj_replacedKeyFromPropertyName