[jackson-user] XmlMapper. Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token

2019-07-10 Thread Dmitriy Grigoryev
Hi! I have the following formatted xml fragment of some service response: ... ... *Note! *There is *linebreak* between start and closing elements. And I have the following corresponding code fragment: @JacksonXmlProperty(localName = "item") @JacksonXmlElementWrapper(localName = "items")

Re: [jackson-user] XmlMapper. Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token

2019-07-11 Thread Tatu Saloranta
On Wed, Jul 10, 2019 at 4:55 PM Dmitriy Grigoryev wrote: > Hi! > I have the following formatted xml fragment of some service response: > > ... > > > ... > > > *Note! *There is *linebreak* between start and closing elements. > > And I have the following corresponding code fragment: > > @Jacks

Re: [jackson-user] XmlMapper. Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token

2019-07-12 Thread lynxpluto
Hi! It is simple to reproduce: Jackson version and jackson-dataformat-xml version: 2.9.8 DTO @JacksonXmlRootElement(localName = "test") public class TestResult { @JacksonXmlProperty(localName = "string") @JacksonXmlElementWrapper(localName = "strings") private List strings; publ