Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions