0.6.0 • Published 8 years ago

json2pojo v0.6.0

Weekly downloads
4
License
GPL
Repository
github
Last release
8 years ago

json2pojo

NPM version Build Status Downloads

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
0.6.0

8 years ago

0.5.0

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

9 years ago

0.0.4

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago