File tree 1 file changed +1
-2
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import com.fasterxml.jackson.databind.JavaType
8
8
import com.fasterxml.jackson.databind.deser.SettableBeanProperty
9
9
import com.fasterxml.jackson.databind.deser.ValueInstantiator
10
10
import com.fasterxml.jackson.databind.deser.ValueInstantiators
11
- import com.fasterxml.jackson.databind.deser.impl.NullsAsEmptyProvider
12
11
import com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer
13
12
import com.fasterxml.jackson.databind.deser.std.StdValueInstantiator
14
13
import java.lang.reflect.TypeVariable
@@ -89,7 +88,7 @@ internal class KotlinValueInstantiator(
89
88
90
89
if (paramVal == null ) {
91
90
if (propType.requireEmptyValue()) {
92
- paramVal = NullsAsEmptyProvider ( jsonProp.valueDeserializer).getNullValue (ctxt)
91
+ paramVal = jsonProp.valueDeserializer!! .getEmptyValue (ctxt)
93
92
} else {
94
93
val isMissingAndRequired = isMissing && jsonProp.isRequired
95
94
You can’t perform that action at this time.
0 commit comments