File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/main/kotlin/com/fasterxml/jackson/module/kotlin Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 11package com.fasterxml.jackson.module.kotlin
22
3- import com.fasterxml.jackson.annotation.JsonSetter
43import com.fasterxml.jackson.annotation.Nulls
54import com.fasterxml.jackson.databind.BeanDescription
65import com.fasterxml.jackson.databind.DeserializationConfig
@@ -35,7 +34,7 @@ internal class KotlinValueInstantiator(
3534 private fun List<KTypeProjection>.markedNonNullAt (index : Int ) = getOrNull(index)?.type?.isMarkedNullable == false
3635
3736 private fun SettableBeanProperty.skipNulls (): Boolean =
38- nullIsSameAsDefault || (getAnnotation( JsonSetter :: class .java)?.nulls == Nulls .SKIP )
37+ nullIsSameAsDefault || (metadata.valueNulls == Nulls .SKIP )
3938
4039 override fun createFromObjectWith (
4140 ctxt : DeserializationContext ,
You can’t perform that action at this time.
0 commit comments