jackson-dataformat-xml icon indicating copy to clipboard operation
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

Results 119 jackson-dataformat-xml issues
Sort by recently updated
recently updated
newest added

The following code generates an exception: ``` public class JacksonBug { public static final String XML_WORKS_1 = """ text The text node. """; public static final String XML_WORKS_2 = """...

has-failing-test
2.16

Citing the thread in jackson-future-ideas#66, I'd like to be able to access attributes using @ in a path: `xml = "node"` and as path: `"/a/@b"` for the attribute and `"/a/b"`...

### We are using jackson-dataformat-xml to convert an XML to JavaObject. Our use case is very peculiar such that the name of the attribute and element are the same in...

name-collision
most-wanted

- As a follow up of #597, support for deserialization of Iterator and Stream.

`@XmlJavaTypeAdapter` doesn't seem to work in conjunction with JDK's `Optional` class. I have written a unit test in order to replicate this issue: ```java package org.example; import static org.example.OptionalWithTypeAdapterTest.TestEnum.A; import...

`@XmlAttribute` and `@XmlElement` seem to work fine with records, and `@XmlValue` seems to work when serializing but deserializing fails with `java.lang.IllegalAccessException` ```java public class Main { public record TestObject (...

has-failing-test
2.15

Hi. From version 2.12.0 deserialization timestamps works in other way. I have field in model: ``` @JacksonXmlProperty(isAttribute = true,localName = "timestampDate") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Timestamp timestampDate; ``` In...

NOTE: may be duplicate of https://github.com/FasterXML/jackson-dataformat-xml/issues/41. Description: In one of our projects we use XmlMapper to deserialize third-party XML to beans containing LocalDateTime instances. The XML stores local date and...

During Jackson migration, I discovered an issue that looks like a regression in 2.11.1. In this version, the first element in XML array is ignored when I deserialize to the...

has-failing-test

Hi, I'm trying to parse an xml file like this: ```xml ``` This xml is generated by `clang-format -output-replacements-xml`, so it is critical that whitespaces are correctly parsed as string...