We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04e2f4 commit 23050b1Copy full SHA for 23050b1
src/main/kotlin/com/fasterxml/jackson/module/kotlin/KotlinValueInstantiator.kt
@@ -35,7 +35,7 @@ internal class KotlinValueInstantiator(
35
private fun List<KTypeProjection>.markedNonNullAt(index: Int) = getOrNull(index)?.type?.isMarkedNullable == false
36
37
private fun SettableBeanProperty.skipNulls(): Boolean =
38
- nullIsSameAsDefault || (getAnnotation(JsonSetter::class.java).nulls == Nulls.SKIP)
+ nullIsSameAsDefault || (getAnnotation(JsonSetter::class.java)?.nulls == Nulls.SKIP)
39
40
override fun createFromObjectWith(
41
ctxt: DeserializationContext,
0 commit comments