FasterXML / jackson-modules-java8

Set of support modules for Java 8 datatypes (Optionals, date/time) and features (parameter names)
Apache License 2.0
399 stars 116 forks source link

Fix OptionalDouble deserialization of special values without coercion #195

Closed carterkozak closed 3 years ago

carterkozak commented 3 years ago

floating point special values as JSON Strings are considered "native" because they cannot be represented as JSON numbers.

See: https://github.com/FasterXML/jackson-databind/pull/2942 https://github.com/FasterXML/jackson-databind/commit/7705d35fc0f58e5aec389b2cdadf9a046a55b00b

cowtowncoder commented 3 years ago

Good catch, thank you!

cowtowncoder commented 3 years ago

Ah. One complication: in 3.0, these are merged in jackson-databind. Could you also do another PR against master?

carterkozak commented 3 years ago

Of course :-)