Skip to content

StdDelegatingDeserializer ignores nullValue of _delegateDeserializer. #3741

@k163377

Description

@k163377

Describe the bug
StdDelegatingDeserializer does not properly override methods such as getNullValue.
This prevents Converter from working when the value is null.

Version information
2.14.1

To Reproduce
I think I can read it from the source code, but I will write it if necessary.
https://github.com/FasterXML/jackson-databind/blob/ae3ca887c589e075ed13ea0665ac9bf22c0517a9/src/main/java/com/fasterxml/jackson/databind/deser/std/StdDelegatingDeserializer.java

Expected behavior
override a method such as getNullValue and call Converter if the result of such a method call to _delegateDeserializer is not null.

Additional context
There was a situation where the value class deserialization in jackson-module-kogera needed to be enabled.
https://github.com/ProjectMapK/jackson-module-kogera

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions