jianfeihit / json2java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json2java

This project converts a JSON document to its implied Java source code

Look at the Json2JavaTest for examples on how to generate Java classes from a JSON document, and how define custom mappings of names.

Example public projects using Json2Java:

Look at the generator projects in the repositories above to see how to customized output Java code.

TODO:

  • limit line width to 100 characters
  • Use JsonPath expressions for custom mappings

About

License:Apache License 2.0


Languages

Language:Java 100.0%