Migrating from other tools
This document is to help you keep an overview of of the differences between Modelina and other code generation tools, to better get an introduction to Modelina based on your current knowledge.
jsonschema2pojo (v1)
Website: https://www.jsonschema2pojo.org/
GitHub: https://github.com/joelittlejohn/jsonschema2pojo
Supported inputs: JSON/YAML and JSON Schema
Written in: Java
Here is some of the noticeable differences with Modelina that is nice to know before jumping into it:
- Modelina does not care much about the input, and support a range of them with no real limitation. I.e. supporting AsyncAPI, OpenAPI, ..., etc, see supported inputs for more information.
- Modelina does not care about output language, i.e. it's not only Java that is supported, see the full list of supported outputs here.
- Modelina does not hardcode specific features such as serialization libraries i.e. Jackson, Gson, ..., or validation annotations. Instead we use presets to control what is being generated to never be limited by hardcoding. Read more about which serialization libraries we support for Java here.
- Modelina does not care which types you want generated (primitive types, long integers, etc), this can be controlled by the constrainer. Read more about how to change the type mapping.
- Modelina is part of Linux Foundation and is therefore a neutral ground for collaboration.
QuickType
TBD