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
JacksonXmlElementWrapper(useWrapping = false) fails when using a DeserializerModifier that delegates
On Jackson 2.9.8 If we use a DeserializerModifier that delegates to the original deserializer, the `useWrapping = false` on `JacksonXmlElementWrapper` no longer works. For a basic example (in Kotlin): ```...
Hello! Please, consider following test case: ``` java /** Two lists */ public static final String TEST_TWO_LISTS = " " + " " + " item0" + " item1" +...
Looks like we have a bug in the parser. Parsing next simple document leads to data loss. ``` foo1 foo2 bar1 foo3 foo4 ``` Expected result: `foo` java-property contains list...
Hi, I need to serialize a value with type information and be able to deserialize it with ease. The value is either a String or BigDecimal. Expected XML output is...
It would be nice if primitive values were serialized as attributes by default ...or if there was a flag to do that. Currently, the generated XML is either very verbose...
(fix for #356) - Accepts new annotation for collection type. Hey I have made a few improvements to fix the issue. All tests cases are passing but I definitely need...
As a followup of https://github.com/FasterXML/jackson-core/issues/57 which provides JSON (and SMILE) async parsing, it would be great for `jackson-dataformat-xml` to provide such support as well. We would like to leverage such...
Hi there, I'm having some issues with the serialization of dynamic data as attributes of an XML element. Note: Tested on both version 2.9.6 and 2.9.7 Given the Object: ```java...
Jackson version: latest (I will submit a failing test). When using JsonIdentityInfo, if both sides of the reference contain an unwrapped list, then various exceptions are thrown depending on the...
``` File file = new File("data.xml"); XmlMapper xmlMapper = new XmlMapper(); List value = Arrays.asList(xmlMapper.readValue(file, MyClass[].class)); ``` `value.size(); ` output cannot exceed 100 no matter how many in the xml...