How to Create Jackson Classes from XSD - TechRepublic
Question
October 17, 2022 at 11:05 AM
Mobi Wan

How to Create Jackson Classes from XSD

by Mobi Wan . Updated 3 years, 7 months ago

Jackson does not provide a tool for generating Jackson classes from XSD or JSON, as JAXB does for a specific XSD.

The JAXB class generator was used to generate a set of classes for the specified XSD schema. For polymorphic types, for example, JAXB provides the following annotation to identify the name based on the name of an XML element.

Can such courses be offered in Jackson? Specifically, determining the type based on the name of an XML element.

All Comments