Camel Quarkus
XSD JSON
JVM since4.0.0 Native since4.0.0
Unmarshal XML to JSON and marshal JSON to XML, driven by an XML Schema (an XSD, or the types of a WSDL), which gives the types, arrays, order and namespaces.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-xsd-json</artifactId>
</dependency> Check the User guide for more information about writing Camel Quarkus applications.
Usage
Schemas in native mode
When the schema option refers to the classpath, the schema must be included in the native image. This also applies to any schemas that it imports or includes. For example, in application.properties:
quarkus.native.resources.includes = schemas/*.wsdl,schemas/*.xsd More information about selecting resources for inclusion in the native image can be found in the native mode user guide.