title: How to convert XSD to JSON schema directly in Java
body: <p>can anybody suggest how to convert XSD schema to JSON schema using Java?</p>
  
  <p>I have tried so many ways, almost all the ways generating class files using com.fasterxml.jackson libraries and then converting it to JSON which is not possible in my case.</p>
  
  <p>here are the links I have tried</p>
  
  <p><a href="https://dzone.com/articles/generating-json-schema-xsd" rel="noreferrer">https://dzone.com/articles/generating-json-schema-xsd</a></p>
  
  <p><a href="http://marxsoftware.blogspot.in/2015/06/json-schema-xsd-jaxb-jackson.html" rel="noreferrer">http://marxsoftware.blogspot.in/2015/06/json-schema-xsd-jaxb-jackson.html</a></p>
  
  <p>Thanks in Advance.</p>