What is JSON GEN?
A code generator that parses JSON to create client side source files to model the JSON data structure.
Current we support reading JSON and generate Java class files, but other languages will soon be included.
You bring the JSON, we'll bring the code
A code generator that parses JSON to create client side source files to model the JSON data structure.
Current we support reading JSON and generate Java class files, but other languages will soon be included.
No, but we acutally we use both of those libraries. Other JSON libraries parse JSON and populate client code but they don't actually generated the client code for you. This is where JSONGen comes into play, it generates those client stubs because you have better things to do!
UPDATE: My free hosting from google finally ran out which caused this site to go down for a long long while. That said I have new hosting and rewrote the converstion to be client side javascrip. Also I updated to allow you to copy and paste your json verse using a link (something that was highly requested).
JSONGen was written by someone who was sick of getting .json feeds with no client code thus having to manually create client stubs. The client stubs don't too long to create but this particular person had better things to do (like write a library to handle it) and thus JSONGen was born.
It is easy since you'll use this page to generate your code. Just put in a valid JSON in the text box below and click 'generate'. Your java classes will be shown in the text area below
The form is currently populated with some sample data, replace the sample data with your information or just click generate to run the sample.
Donations are always welcome!
You have the right to use the code generated by this page in any code base including free, commerical, and educational however you must use the code at your own risk. The code is provided with no warranty and you can make no claims of loss because of its use.