ansman
09/14/2019, 10:55 PMnull
in JSON as absent? I have a val foo: List<String> = emptyList()
which fails to be parsed if foo
is null
in the JSONDominaezzz
09/14/2019, 10:58 PMansman
09/14/2019, 10:58 PMpeek
or similar on Decoder
I don’t know how I would check if it’s nullDominaezzz
09/14/2019, 11:04 PMNullableSerializer<T>
or use decodeJson
and eagerly parse the json manually.Dominaezzz
09/14/2019, 11:08 PM