Given the following class below, how do I get a list of properties as Jackson views it (conforming to @JsonViews)
public class MyDto {
@JsonView(A.class)
private int intValue1;
@JsonView(B.class)
private int intValue2;
@JsonView({A.class, B.class})
private int intValue3;
// standard setters and getters are not shown
}
I have tried following links with no solution: