Skip to content

Empty String ("") parsed as 0 for int even if DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES enabled #474

@cowtowncoder

Description

@cowtowncoder

(note: offshoot of #473)

Looks like coercion for XML empty String value into null does not trigger failure for primitive types, even if DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES is enabled, in 2.12.
It should.

But given timing, this probably needs to be changed only in 2.13.0.

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