You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msg ="Instantiation of $itemType$paramType failed for JSON property ${jsonProp.name} due to null value in a $paramType that does not allow null values"
52
+
).wrapWithPath(this.valueClass, jsonProp.name)
53
+
}
54
+
}
55
+
31
56
overridefuncreateFromObjectWith(
32
57
ctxt:DeserializationContext,
33
58
props:Array<outSettableBeanProperty>,
@@ -75,25 +100,7 @@ internal class KotlinValueInstantiator(
75
100
).wrapWithPath(this.valueClass, jsonProp.name)
76
101
}
77
102
78
-
if (strictNullChecks && paramVal !=null) {
79
-
// If an error occurs, Argument.name is always non-null
msg ="Instantiation of $itemType$paramType failed for JSON property ${jsonProp.name} due to null value in a $paramType that does not allow null values"
94
-
).wrapWithPath(this.valueClass, jsonProp.name)
95
-
}
96
-
}
103
+
if (strictNullChecks && paramVal !=null) strictNullCheck(ctxt, jsonProp, paramDef, paramVal)
0 commit comments