Serializer has not been found for type 'LocalDate'. To use context serializer as fallback, explicitly annotate type or property with @Contextual
a
AdamW
01/29/2024, 12:08 PM
#serialization - I recommend reading through the kotlinx.serialization docs on Github
AdamW
01/29/2024, 12:08 PM
There’s a section on custom serializers there
m
Manas Marthi
01/29/2024, 12:24 PM
Noted. thank you
a
AdamW
01/29/2024, 12:34 PM
I also found it strange that serializers for Java types like Date, UUID and so on were missing out-of-the-box, but I guess it makes sense given the multiplatform emphasis 🤔
s
sindrenm
01/29/2024, 8:07 PM
The types from kotlinx.datetime has serializers, FWIW.