Quantcast
Channel: Jackson XML Serialization: Nested Element with Same Name as Parent - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by ldz for Jackson XML Serialization: Nested Element with Same Name as...

When wiring the DTOs like follows, the XML output is produced like expected. I used version 2.10 of jackson-annotations and jackson-dataformat-xml. No differences to the code except additional getters...

View Article



Jackson XML Serialization: Nested Element with Same Name as Parent

I have a complex xml type with a nested element whose name is the same as the parent, but when I serialize it the nested element gets set as the text of the parent when it is included in another...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images