deserialize
Deserializes a nullable list into a non-nullable list. If the input is null
, it returns an empty list instead.
Return
A list of type T
, or an empty list if the input was null
.
Parameters
decoder
The decoder used to read the serialized input.