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
You can do it this way too if you don't want to manually create the getters/setters (eg. when using lombok's @Data)
@JsonProperty(access = Access.WRITE_ONLY) private String password;