A fast, convenient and nonintrusive conversion framework between JSON and model. Dictionary-to-model framework with fast conversion speed and easy to use. A large number of unit tests have been carried out on various commonly used data scenarios. MJExtension is an ultra-lightweight framework that converts between dictionaries and models. Coding all properties of a model with only one line of code. Coding (archiving and unarchiving) of all attributes of the model can be achieved with just one line of code. @objcattributes should be added to class and property for declaration of Objc accessibility. After Swift4, please add attributes before @objcmodification. Swift to ensure properties can be exposed to ObjC used.
Features
- Easy to use, rich in features, fast conversion
- JSON string to model
- Nested model in model
- Model name to JSON key mapping
- Turn a dictionary array into a model array
- Convert a model into a dictionary
License
MIT LicenseFollow MJExtension
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MJExtension!