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
When JSON is parsed, there is a check on properties that are annotated with JsonProperty with attibute required to true. If the required property is missing, a MismatchedInputException with message...
Hello! I am not sure if this is a help or a feature request. I scoured google/SO trying to dynamically select target class based on the root tag. I expected...
jackson-dataformat-xml 2.13.1 I encountered a problem trying parse Tomcat server.xml using XmlMapper. The problem: server.xml can have multiple Connector declarations. These declaration are children of `Service` tag but can be...
Hello project maintainer This is a really good module and helps us a lot in our java application, which some API need to response with XML But during the integration...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much. -...
**Version used** ``` com.fasterxml.jackson.dataformat jackson-dataformat-xml 2.13.0 ``` **Java versions tested** OpenJDK 1.8, 11 and 16 **Test data** ``` world 1 2 internal 2021-10-27T21:18:46.217Z 3 test one ``` **Incorrect result** by...
This very specific structure fails to parse a correct XML when the `xsi:type` property is placed after other fields in the XML. That's the only difference between the test cases....
Example: ```java package it; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.dataformat.xml.XmlMapper; public class Dollar { public static class DTO { public String thisStringIs$Fancy$ = "Hello World!"; } public static void main(String ... args)...
Specifically map keys like `000` and `111` will be marshaled as `` and ``, which can no longer be unmarshaled. Jackson should make sure to escape those keys correctly. Example:...
With rewrite of XML module for 3.0, something is wrong with coercion if null values -- so after #354 resolved this for 2.x, there is now one unit test that...