Hi, how to deal with this `Serializer has not been...
# ktor
m
Hi, how to deal with this
Serializer has not been found for type 'LocalDate'. To use context serializer as fallback, explicitly annotate type or property with @Contextual
a
#serialization - I recommend reading through the kotlinx.serialization docs on Github
There’s a section on custom serializers there
m
Noted. thank you
a
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
The types from kotlinx.datetime has serializers, FWIW.
a
there's an unofficial library for extra serializers here: https://github.com/Kantis/ks3
441 Views