Quantcast
Channel: Deserializing XML with list using Jackson - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by gambarimas87 for Deserializing XML with list using Jackson

In case you have in your input xml a list of bar elements with an attribute like<testdata><foo><bar name="John"><![CDATA[MESSAGE1]]></bar><bar...

View Article



Answer by hovanessyan for Deserializing XML with list using Jackson

You need to indicate that <bar> is a wrapping element for your collection of String messages:This should work in your Foo class:@JacksonXmlProperty(localName =...

View Article

Deserializing XML with list using Jackson

I have the following XML that I'd like to deserialize to Java...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images