public class JacksonXMLToJsonNodeMapper extends JacksonXMLToObjectMapper<com.fasterxml.jackson.databind.JsonNode> implements Mapper<com.fasterxml.jackson.databind.JsonNode>
Mapper that loads the contents of a valid XML Source
(e.g.: file, URL, string) and converts it into a JsonNode, using Jackson's
XmlMapper.
Because of differences between XML and JSON formats, there are certain limitations with Jackson's XML tree traversal support:
Additional details can be found at Jackson's official documentation.
Notes:
Mapper
implementation.| Constructor and Description |
|---|
JacksonXMLToJsonNodeMapper()
Builds a new XML-to-JSON mapper.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurationHelper<com.fasterxml.jackson.databind.JsonNode> |
configurationHelper(com.fasterxml.jackson.databind.JsonNode jsonNode) |
applyreloadModulesCache, resetModulesCachepublic JacksonXMLToJsonNodeMapper()
public ConfigurationHelper<com.fasterxml.jackson.databind.JsonNode> configurationHelper(com.fasterxml.jackson.databind.JsonNode jsonNode)
configurationHelper in interface Mapper<com.fasterxml.jackson.databind.JsonNode>configurationHelper in class JacksonJsonToObjectMapper<com.fasterxml.jackson.databind.JsonNode>Copyright © 2023. All rights reserved.