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
Describe the bug
When in a kotlin data class a parameter is nullable, a payload with a missing value is desirialized and results in NullNode assigned to such a property
To Reproduce
kotlin: data class TestDataClass(val jsonNodeValue: JsonNode?)
Java: TestDataClass value = om.readValue("{}", TestDataClass.class); assertThat(value.getJsonNodeValue()).isNull();
Expected behavior
a missing optional value should be desirialized as null and not NullNode