I want to add @JsonIgnore of Jackson On the Password property of User domain such that I must be able to send the Json With password and It saves my data in Database but in resp
In my case it helped to do it like that:
@JsonProperty private String password; @JsonIgnore public String getPassword() { return password; } public void setPassword(String password) { this.password = password; }