@JsonIgnore
on Record property ignored for deserialization, if there is getter override
#4626
Closed
1 task done
Search before asking
Describe the bug
@JsonIgnore
on a Record component is ignored when the corresponding accessor method is overridden.Version Information
Since
2.15.0
.Reproduction
Expected behavior
No response
Additional context
There are typically 3 places to get an annotation info from:
@JsonIgnore
info because@JsonIgnore
's@Target
does not includeElementType.PARAMETER
UPDATE: Forgot to mention that the hardcodedprop.addCtor(..., false)
inPOJOPropertiesCollector
also needs to be changed for this to work.@JsonIgnore
will not be "inherited" from original method@JsonIgnore
infoThe text was updated successfully, but these errors were encountered: