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
- Feature: Generated POJOs with setAdditionalProperty should implement a common HasAdditionalProperties interface, and the interface should be generated/copied to output directory
- Allow jsonschema2pojo custom keywords to use x- prefix (e.g. javaType can be x-javaType)
- Unify Maven and Gradle workflows for jsonschema2pojo-gradle-plugin
- Use spotless to enforce style and apply
- Rework ci pipeline
- Add support for standard "$ref" behaviour
- Inner builder List attribute compiler warning "unchecked call as a member of the raw type"
- Usage of `maxProperties` not possible
- Support https://jspecify.dev/
- Docs
- Java not yet supported