jsonschema2pojo
https://github.com/joelittlejohn/jsonschema2pojo
Java
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported3 Subscribers
Add a CodeTriage badge to jsonschema2pojo
Help out
- Issues
- Custom DateTime/Date Pattern uses 'Year of Era' instead of 'Year', which is not (strictly) ISO 8601 compliant
- Question: Support type-use annotations for collection element validation (List<@Valid T>)
- Feature: Generated POJOs with setAdditionalProperty should implement a common HasAdditionalProperties interface, and the interface should be generated/copied to output directory
- Handle allOf, anyOf, oneOf, and not by repeated merging of properties.
- Handle null when generating from array example
- Allow jsonschema2pojo custom keywords to use x- prefix (e.g. javaType can be x-javaType)
- Unify Maven and Gradle workflows for jsonschema2pojo-gradle-plugin
- Version 1.3.1 does not provide a plugin with id 'org.jsonschema2pojo'
- Use spotless to enforce style and apply
- Rework ci pipeline
- Docs
- Java not yet supported