Jackson XML Unrecognised property?

First time posting on stackoverflow other than looking for some help!

I've got a blob of XML that I am trying to deserialize into a simple Java Object.

I have the following blob of XML:











I am then trying to convert that into a simple POJO:

@JacksonXmlRootElement(localName = "library")

public class Library {

List bookList = new ArrayList<>();

}

public class Book {

@JacksonXmlProperty(isAttribute = true)

Integer index;

@JacksonXmlProperty(isAttribute = true)

String name;

@JacksonXmlProperty(isAttribute = true)

String price;

@JacksonXmlProperty(isAttribute = true)

Integer...

Read More »

By: StackOverFlow - Tuesday, 6 November

Related Posts