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
Let's have a following XML: ``` value text ... ``` Support use-case of extracting contents of the whole DOM structure. can be any proper XML, text or CDATA block of...
Hey, I have two subclasses like the following: ``` public abstract class Foo{} public class Foo1 extends Foo {} public class Foo2 extends Foo {} ``` And I want to...
Attributes from the http://www.w3.org/2001/XMLSchema-instance namespace are meant to be consumed by the XML parser. XML containing schema references is currently unparsable by Jackson: ``` class Test { public static void...
Do you have a plan to make @JacksonXmlElementWrapper specifiable as a parameter? I'm wondering to use Jackson-dataformat-XML to deserialize to a immutable class instance, but @JacksonXmlElementWrapper is not available as...
Serializing `Map`s will produce non-well-formed XML as keys are not modified as per XML name rules
Hello, I can not parse Map to valid XML String if Map contains a key with white space. I am using `jackson-dataformat-xml version: 2.5.3` Here is sample code to reproduce...
I have originally created this issue in jackson-databind ( https://github.com/FasterXML/jackson-databind/issues/2073 ) ... but realised only now that I should have created the issue here. **Versions** Version Used: 2.9.5 Woodstox Core...
(as reported by Paweł Kowol on Jackson users list) --- If a List (or other Collection) is value of a non-Collection property, like so: ```java public class Bean { public...
Look at the last line of this class. Incorrect using @XmlAttribute for a bean serialization breaks a serialization of other properties. I excepted to see an error or bean value...
(from Jackson user forum by Rich M) Hi all. I am using jackson 1.7.1 and xml-databind 0.5.3, and ran into a minor issue. I have an attribute of type Object,...
I am trying to generate a XML payload for an API that uses a XML based query language. I have something similar to the following code: ```java public class JacksonTest...