Sample object

@Data
@Builder
@XmlRootElement(name = "OBJECT")
@XmlAccessorType(XmlAccessType.FIELD)
@JsonAutoDetect(fieldVisibility = Visibility.ANY)
public class Object {

	private int id;
	private String name;
	private List<String> list;

	@XmlElement(name = "title")
	@JsonProperty(value = "title")
	private String test;

}

RootWraped and @JsonUnwrapped

@JsonRootName("Response")
public class Response {

    @JsonUnwrapped
    private One one;
}


public class One{

    @JsonProperty("LabelName")
    privaet List<String> labels;
}

單個值作為list的一部分

    @JsonProperty
	@JsonFormat(with=Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
	protected List<T> aaa;