Skip to content

inder123/json2java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2java

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

  • Use with Gradle
  • add to your repositories
    repositories {
        maven { url "https://jitpack.io" }
    }
    
  • In your app build.gradle, add: compile "com.github.inder123:json2java:1.0.4"

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages