-
Notifications
You must be signed in to change notification settings - Fork 2
Home
JSONModelKit is an API centric mapping framework that uses, JSON or Plist, mapping files to define a model against an arbitrary dictionary. At build time, the library will generate the model files based on the definitions, and add them to the project automatically, or update any existing files.
By reducing the focus on the model layer itself, and keeping it continuously in sync with an API response in a single place, we can now treat the model as just a "data bucket", and extend it as needed. It comes really handy when implementing MVVM as part of a project's architecture, as it basically reduces the model(s) to ingestible wrapper(s) around dictionary data.
- Auto-Model Generation:
- Define model using .json or .plists
- Automatic import @ build time
- Optional & Non-Optionals Property Mapping:
- String, Int, Double, Float, Bool, Array, Dictionary
-
Collection Types: Array, Dictionary
- Custom Transformations at parse time
- Structs, Enum, Closures, Tuples
- Nested Mapping
- Default Values
- Integrated Inheritance
JSONModelKit is released under the MIT license. See License for details.
A Good Day Production
LinkedIn | Twitter @AntonTheDev