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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of MJExtension!