json2pojo
JSON to POJO with duplicate key handling, uses jsonschema2pojo(http://jsonschema2pojo.org/) to do the schema to POJO code generation.
Install:
npm install -g json2pojo
Usage:
json2pojo API -p com.example
For generate POJO from the following json:
# API
GET https://api.github.com/users/nodejs/repos Repo
GET https://api.github.com/repos/nodejs/node/branches Branch
Generated POJO(under com.example package):
Branch.java Commit.java Owner.java Repo.java