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 supported2 Subscribers
Add a CodeTriage badge to jsonschema2pojo
Help out
- Issues
- Allow existingJavaType to take precedence over $ref
- Suggestion: Adhere to java naming conventions when generated from json data
- Is there an option to obtain the schema $id from the generated class
- Generate anonymous enum into its parent class.
- Generating Duplicate Class from single Class Address and Addess_
- Support Vert.x Data Object code generation
- Schema field without camel case naming style drives to skipping of annotated conversion instructions
- Support jar:file:/ path for sourcePaths
- Generate only one top-level class per schema URI by using inner classes
- additionalProperties and patternProperties could generate something smarter than Object (or nothing at all)
- Docs
- Java not yet supported