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 response I don't want to show the password.
How can I acheive this please help me.
I tried to use it at the Domain level of the User where the properties are defined but it Totally Ignore the property in the getter and setter methods.
I have tried this
private String password;
@JsonIgnore
public String getPassword() {
return this.password;
}