Giter Club home page Giter Club logo

Comments (10)

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on November 20, 2011 09:04:39
Should be very useful. Currently, I have my own wrapper classes around jsonschema2pojo-cli library. Hoping to hear an update on this soon though this might not be top in priority.

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 17, 2012 21:55:19
In progress...

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 00:18:16
Code is done here. Need some docs on the wiki.

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 00:40:19
jsonschema2pojo Ant task is not downloadable as mentioned in the docs can you please point me to the jar file that I can download?

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 00:42:32
Here is the link from Getting Started that is not working
http://repo1.maven.org/maven2/com/googlecode/jsonschema2pojo/jsonschema2pojo-ant/0.2.0/jsonschema2pojo-ant-0.2.1.jar

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 00:48:38
Yes, apologies. I haven't had time to create the new 0.2.1 release yet so the link doesn't yet work.

I'm planning to release this tomorrow, but in the mean time you could clone the source and build a 0.2.1-SNAPSHOT of the jsonschema2pojo-ant jar by using 'mvn clean package'

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 02:00:55
Unfortunately I am not using maven

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 18:33:53
I got around with your suggestion by taking the snapshot and building, Thanks Joe !!!
BTW does anyone know any tools to generate json schema from json document? Eg: toos like trang.jar to generate xsd from xml

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 19:53:16
sridharev: Glad you got something working. How are you finding the snapshot? Does the task operate as you expect? I'm planning to release 0.2.1 in the next few moments so you can get the official release.

For generating schema documents, I don't think there is anything out there to do this right now. I know Jackson can generate schema documents from Java pojos (basically the opposite of jsonschema2pojo). It might be worth playing with some of these Jackson features to see if you can find something that fits your needs better than jsonschema2pojo. I've seen this question before (in relation to this project and json schema in general) so I have considered exploring this as a possible extension/alternative/complementary project.

from jsonschema2pojo.

joelittlejohn avatar joelittlejohn commented on May 18, 2024

From [email protected] on January 18, 2012 21:48:07
@joe : Overall it is looking good, I was able to get it working with the example (address schema) .However I was hoping to use this tool to generate the Pojos for my json after may be i can get my schema (you are right jackson provides the other way around JSONSchema from pojos)

I found this useful and interesting, online pojo generator.
http://jsongen.byingtondesign.com/
I wish this was commandline :)

I haven't tried yet but may be I can use these Pojos generated by this online tool( make changes as necessary and use Jackson to generate schema) apply that schema to jsonschema2pojo

from jsonschema2pojo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.