Skip to content

Null values are improperly serialized #72

Description

@sproctor

Data classes with null property values are serialized with those values as a string literal with a value of "null" instead a null literal. Jackson then attempts to de-serialize the string literal to the type of the property.

Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `CustomChildType` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('null')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions