jsonschema2pojo

Generate Java types from JSON Schema or example JSON documents

brewmacoslinux
Try with needOr install directly
Source

About

Generates Java types from JSON Schema (or example JSON)

Commands

jsonschema2pojo

Examples

Generate Java classes from a JSON Schema file$ jsonschema2pojo -s schema.json -t src/main/java
Generate Java classes from example JSON with package name$ jsonschema2pojo -s example.json -t src/main/java -p com.example.model
Generate with specific configuration options$ jsonschema2pojo -s schema.json -t src/main/java -p com.api -A -I