jackson-dataformat-xml
jackson-dataformat-xml copied to clipboard
Extension for Jackson JSON processor that adds support for serializing POJOs as XML (and deserializing from XML) as an alternative to JSON
**Is your feature request related to a problem? Please describe.** The following example code uses a trivial wrapper record (`LocationID`) to allow some extra type-safety when working with elements declared...
**Serializing multidimensional arrays to XML looses dimension information** When serializing an two dimensional array to XML, one dimension gets lost. In other words, serializing an two dimensional array to XML...
`@JsonUnwrapped` does not unwrap items inside a list. Below is a minimal example of what I'm trying to achieve. I'm trying to model the following simple XSD scheme in Java....
I'm using a custom `SerializerFactory` as follows. ``` ObjectMapper mapper = new XmlMapper().setSerializerFactory(MySerializerFactory.INSTANCE); ``` I noticed that in the constructor of `XmlMapper`, the default `XML_MODULE` is registered, which also configures...
Hello and thank you for such an awesome project! I'm using dataformat-xml to create a video manifest (MPEG-DASH mpd), and for aesthetic reasons I'd really like if it could write...
Hi. I'm using `2.17.2` and already resolved my problem with `Date` using this configuration https://github.com/FasterXML/jackson-dataformat-xml/issues/561#issuecomment-2269479434 . Now what I want is to convert: ```xml ``` to the field: ```java @JsonProperty(...
The default behavior of the XML deserialization, when reading into non-bean objects is to treat attributes the same way as elements. On serialization, I could not find way to generate...
Hello there, First off, I have created a test repository on github where you can see this for yourself, either in the github action runs or by checking it out...
Given the following classes RootNamespace.java ``` @JacksonXmlRootElement(namespace = "namespace1", localName = "RootNamespace") public class RootNamespace { @JacksonXmlProperty(namespace = "namespace1", localName = "childNamespace") private ChildNamespace childNamespace; } ``` ChildNameSpace.java ``` public...