Closed
Description
Describe the bug
Any annotation to ignore property is not working with a particular variable name is used.
Version information
2.11.2 (Spring Boot 2.1.3.RELEASE)
To Reproduce
Below does not work, tried with @JsonIgnore @JsonIgnoreProperty @JsonBackReference.
The value gets serialized in json always, no matter whatever annotation is used.
@JsonBackReference
private ClassName dLogHeader;
But if the variable name is changed then it starts working and does not serialize it.
@JsonBackReference
private ClassName logHeader;