JsonSetter.contentNulls
is ignored if the deserialization result from a token that is not JsonToken.VALUE_NULL
is null
.
#5165
Labels
to-evaluate
Issue that has been received but not yet evaluated
Uh oh!
There was an error while loading. Please reload this page.
Search before asking
Describe the bug
This is a follow-up to the following issues
#5139 (fixed via PR #5140)
FasterXML/jackson-module-kotlin#976
In the deserializer inheriting from
ContainerDeserializerBase
, I found problems in the following classesThe StringArrayDeserializer does not inherit from the
ContainerDeserializerBase
, but seems to have the same problem.There may be other deserializers with similar problems, but I have not been able to verify them.
The MapEntryDeserializer was not using
_nullProvider
.However, it has not been confirmed that there is no problem with not using
_nullProvider
.Version Information
2.19.0(2.19.1-SNAPSHOT)
Reproduction
Same as #5139
Expected behavior
If the deserialization result of the value is
null
, thenJsonSetter.contentNulls
must work.Additional context
No response
The text was updated successfully, but these errors were encountered: