Change default of DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES
to false
for 3.0
#4858
Labels
3.0
Issue planned for initial 3.0 release
Describe your Issue
As of Jackson 2.x,
DeserializationFeature. FAIL_ON_NULL_FOR_PRIMITIVES
defaults to false, allowing coercion from JSONnull
into Javaint
,long
and so on.For some users -- and especially on "low null" languages like Kotlin -- such coercion is rarely expected, so suggestion was made to change the default.
No decision is yet made: discussion for helping decision is here:
FasterXML/jackson-future-ideas#79
this issue is placeholder until decision is made.
The text was updated successfully, but these errors were encountered: