Closed kbhanderi1608 closed 2 years ago
For usage questions please use mailing list:
https://groups.google.com/g/jackson-user
But as to your question; did you actually go through README?
This is not a command-line tool but rather tool to create JSON Schema that represents given Java object type(s). So you cannot upload anything.
As README says:
Example Usage
ObjectMapper mapper = new ObjectMapper();
// configure mapper, if necessary, then create schema generator
JsonSchemaGenerator schemaGen = new JsonSchemaGenerator(mapper);
JsonSchema schema = schemaGen.generateSchema(SimpleBean.class);
This will yield a java POJO representing a JSON Schema, which can itself easily be serialized with jackson, or configured with java.
So you get a Java object and then if you want JSON version, use Jackson ObjectMapper
like so:
String json = new ObjectMapper().writeValueAsString(schemaObject);
I have no experience with JSON and trying to understand this project. can you help me with following questions?
Thanks,