Posted In: Jackson 2X, JSON

Generate Json Schema from POJO – Jackson 2X

  1. Example is using Address POJO with multiple fields.   2. Use com.fasterxml.jackson.module.jsonSchema.JsonSchemaGenerator class to get schema from POJO class       3. Schema generated    

Read More

Tags: Tags: ,

by , on February 21st, 2017

Posted In: Jackson 1X, JSON

Generate Json Schema from POJO – Jackson 1X

  1. Example is using Address POJO with multiple fields.   2. Use org.codehaus.jackson.schema.JsonSchema class to get schema from POJO class     3. Schema generated    

Read More

Tags: Tags: ,

by , on February 21st, 2017

Posted In: Jackson 2X, JSON

Generate Java POJO from JSON or JSON schema

  This example will show how to generate JOSN schema from JSON. It will also show how to generate Java POJO either from JSON schema or JSON   1. Example will use following sample JSON     2. To format JSON properly online JSON editors are available. You could use www.jsoneditoronline.org       3. […]

Read More

Tags: Tags: , ,

by , on February 20th, 2017