Hi! I have the following formatted xml fragment of some service response: ... <items> </items> ...
*Note! *There is *linebreak* between start and closing elements. And I have the following corresponding code fragment: @JacksonXmlProperty(localName = "item") @JacksonXmlElementWrapper(localName = "items") private List<Item> items; Why I get the following deserialization error ? Cannot deserialize instance of `java.util.ArrayList` out of VALUE_STRING token I think that if we have this combination of annotations for a field then it should consider only collection items and nothing else inside the wrapping element. Is it bug or feature ? -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/4323d7e9-f84c-4501-b59f-7b5c7475ce22%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
