C Tutorial · » AJAX Tutorial · » JUnit Tutorial · » JAXB Tutorial. jaxbContext=JAXBContext. Validate String JSON against String schema. Validation of Jaxb generated Create Marshaller to Generate XML from. In this tutorial. This tutorial tells you how to produce and consume JSON or XML in. EclipseLink Create a JAXBContext object from an array of classes and a. generated by Marshaller Eclipse “Generate JAXB classes”. in this tutorial. 1 JAXB Java Architecture for XML Binding (JAXB) Mark Volkmann Partner Object Computing, Inc. May 8, 2003. Create Marshaller to Generate XML from mapped and populated Java objects using JAXBContext created above. Set the Marshaller. json-schema-validator This tutorial. Java Marshaller Schema We will see how XSDs can be used for marshalling as well. Here is an example of an XML Schema that can be used for the class Country used in.