https://kotlinlang.org logo
g

Gautam Lad

12/01/2019, 8:30 PM
Is this not supported? For the life of me I don’t know how to allow the deserializer to allow me decode null values..
Copy code
@Serializer(forClass = Date::class)
internal object DateSerializer : KSerializer<Date?> {
d

Dominaezzz

12/01/2019, 8:35 PM
DateSerializer.nullable
I think.
g

Gautam Lad

12/01/2019, 9:36 PM
looks like it does work and the issue was elsewhere…thx
3 Views