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
- De-duplicate identical classes and avoid `__1`
- Enum-generation: differences between Windows and Linux
- Generate POJOs from subschemas defined in 'definitions'/'$defs' section
- Support custom Generated annotation that uses runtime retention policy required by JaCoCo
- Maven plugin's `includeGeneratedAnnotation` does not support `jakarta.annotation.Generated`
- Added support for FastJson
- Generator generated Empty Java class from perfectly valid Jackson Schema
- add support to generate subschemas as static nested classes
- NullPointerException from Maven plugin when sourceDirectory is ../src/json
- handling for relating any supplied '$id' to a static member variable
- Docs
- Java not yet supported