Skip to content

Add input validation for NumberDeserializers deserializers for "stringified" FP numbers #4250

@cowtowncoder

Description

@cowtowncoder

Describe your Issue

Although all decoding/parsing of true JSON numbers validates that tokens follow expected pattern, before calling number methods, deserializers in NumberDeserializers do not seem to do that for "stringified Numbers" (that is, JSON Strings that contain Numbers). But Floating Point decoders expect such validation to be done before calling methods via jackson-core package's NumberInput methods.

So let's add validation for alleged FP numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.17Issues planned at earliest for 2.17

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions