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 1
1
package com.fasterxml.jackson.module.kotlin
2
2
3
- import com.fasterxml.jackson.annotation.JsonSetter
4
3
import com.fasterxml.jackson.annotation.Nulls
5
4
import com.fasterxml.jackson.databind.BeanDescription
6
5
import com.fasterxml.jackson.databind.DeserializationConfig
@@ -35,7 +34,7 @@ internal class KotlinValueInstantiator(
35
34
private fun List<KTypeProjection>.markedNonNullAt (index : Int ) = getOrNull(index)?.type?.isMarkedNullable == false
36
35
37
36
private fun SettableBeanProperty.skipNulls (): Boolean =
38
- nullIsSameAsDefault || (getAnnotation( JsonSetter :: class .java)?.nulls == Nulls .SKIP )
37
+ nullIsSameAsDefault || (metadata.valueNulls == Nulls .SKIP )
39
38
40
39
override fun createFromObjectWith (
41
40
ctxt : DeserializationContext ,
You can’t perform that action at this time.
0 commit comments