Ignore json property when deserializing with jackson and @JsonIgnore
Suppose we have this variable @JsonProperty(« prop1 ») private String prop1; and it’s getter an setter @JsonProperty(« prop1 ») public String getProp1() { return role; } @JsonProperty(« prop1 ») public void setProp1(String prop1) { this.prop1= prop1; } here we serialize and deserialisze our prop1 cleaner from the classe that embedd it How to say don’t deserializ/get ( from pojo to … Lire la suite Ignore json property when deserializing with jackson and @JsonIgnore