Jackson has the @JsonIgnoreProperties
annotation at field level which is awesome, but sometime it can be big.
@JsonIgnoreProperties({ "name", "phone", ... "20th item"})
private User user;
I'm looking for something like:
@JsonIgnoreOtherProperties("email")
private User user;
So this would ignore all fields but email.
Is there something like @JsonIgnoreOtherProperties ?