A Doubt: I'm trying to make a post, but the jackson library during the Post does not change the field name during serialization, how do I do this with Jackson? My class below:
@JsonIdentityReference
public class Envio {
@JsonSerialize
@JsonProperty("value[teste]")
Long id;
@JsonSerialize
@JsonProperty("label[teste]")
String name;
public Envio(Long id, String name) {
this.id = id;
this.name = name;
}
}