Is there a way to skip null values for properties handled by @JsonAnySetter? #6169
|
When configuring JsonMapper with null handling: the configuration appears to have no effect on properties handled by @JsonAnySetter. ReproductionActual behaviorThe @JsonAnySetter method is invoked for both properties, including the property whose value is null. Expected behaviorWith the mapper configured with: I would expect the null_property value to be skipped and the @JsonAnySetter method not to be invoked for it. QuestionIs the current behavior intentional for @JsonAnySetter? |
Answered by
pjfanning
Aug 20, 2026
Replies: 1 comment
|
probably best treated as a bug report - #6170 is now open |
0 replies
Answer selected by
margarita-sk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
probably best treated as a bug report - #6170 is now open