ObjectMapper.treeToValue()
no longer invokes JsonDeserializer.getNullValue()
#2972
Milestone
ObjectMapper.treeToValue()
no longer invokes JsonDeserializer.getNullValue()
#2972
Describe the bug
If you invoke
ObjectMapper::treeToValue
it no longer usesJsonDeserializer::getNullValue
on the class' declared deserializer when encountering aNullNode
, instead just returning a plainnull
.Version information
The regression began in
2.10.0
, I think. I have tested2.12.0
and the issue is present there. The last working release I have tested is2.9.10
.To Reproduce
pom.xml
JsonElementTest.java
The text was updated successfully, but these errors were encountered: