Jackson extension: XML data binding
This extension package adds support for using Jackson for reading and writing XML data. Support is implemented by:
Implement low-level support (JsonFactory, JsonParser and JsonGenerator sub-classes) to expose XML as sequence of JsonToken events
Adding extensions to higher-level data bind by extending ObjectMapper (and some related classes) to work around issues (like XML lack of separation for Array/Object division that JSON has) that can not be fully solved at lower level
This means that most access should be via data binding layer, although it is possible to use lower level abstractions too, keeping in mind limitations.
Project
Project home page is at: https://github.com/FasterXML/jackson-dataformat-xml
Related
In addition to basic format support, there is also a JAX-RS provider to handle XML content automatically. This is an alternative to the default JAXB-based XML handler.
Project can be found at: https://github.com/FasterXML/jackson-jaxrs-xml-provider
Back to Jackson Outside of JSON page
