@JsonIncludeProperties & @JsonIgnoreProperties is ignored when deserializing Records #4629
Open
1 task done
Labels
2.18
has-failing-test
Indicates that there exists a test case (under `failing/`) to reproduce the issue
Record
Issue related to JDK17 java.lang.Record support
Search before asking
Describe the bug
A JSON field:
@JsonIncludeProperties
, or@JsonIgnoreProperties
...will still get deserialized as a Record's component with the same name.
Version Information
Oldest I tried this with is
2.14.2
, latest is2.18
.Reproduction
For @JsonIncludeProperties
For @JsonIgnoreProperties
Expected behavior
No response
Additional context
NOTE: I'm not personally affected by this, just something I found when testing for #4626 - I thought they have the same cause, but apparently not.
The text was updated successfully, but these errors were encountered: