Is there any way to prevent Jackson from de-serializing nulls to non-nullable list, for example I have val foos: List<Foo> and payload foos: [null, null] gives me list of nulls. Or maybe I'm missing something obvious here (see thread for definition of type Foo)?
Jukka Siivonen
06/24/2019, 11:08 AM
Actually my use case is more complex, updated accordingly
Jukka Siivonen
06/24/2019, 11:08 AM
Copy code
class Foo @JsonCreator constructor(
@get:JsonValue
val value: String
)