@Data
@JacksonXmlRootElement(localName = "root")
@JsonIgnoreProperties(ignoreUnknown = true)
public class InParaRoot {
......
**@JacksonXmlElementWrapper(useWrapping = false)**
@JacksonXmlProperty(localName = "items")
private List<UpdateStatusItem> itemsUpdate;
}
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class UpdateStatusItem {
@JacksonXmlProperty(localName = "code")
private String serialnum;
...
}