Skip to content

Add a method in JsonParser to allow checking for "NaN" values #314

@cowtowncoder

Description

@cowtowncoder

Currently some backends allow use and decoding of various NaN values (like negative/positive infinity, not-a-number from division by zero), but there is no way to check whether value might be such.
This can complicate handling for cases like:

FasterXML/jackson-databind#1315

because whereas double/Double may represent such values, BigDecimal can not.

So it would make sense to allow checking for such status, if that is feasible to do.

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