Skip to content

Add JsonNodeFeature.FAIL_ON_NAN_TO_BIG_DECIMAL_COERCION option to fail on attempting to coerce NaN into BigDecimal #4194

@cowtowncoder

Description

@cowtowncoder

Describe your Issue

(follow up to #1770)

So, we should not (by default) coerce "NaN"s (infinity, NaN) for JsonNode as is done with #1770 fixed.
There should probably be a JsonNodeFeature to allow such coercion, however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.17Issues planned at earliest for 2.17

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions