kotlinx.serialization.SerializationException: Seri...
# serialization
m
kotlinx.serialization.SerializationException: Serializer for class 'UUID' is not found.
Mark the class as @Serializable or provide the serializer explicitly.
I know UUID is not serializable. How do I do provide a serializer in Ktor?
a
You should create a custom serializer for UUID
m
How exactly? Can you point me to some resource please?
m
But how do I annotate a class not defined in my source code, but in an external library?
a
just follow the guide. You don't have to annotate the class by using your custom serializer
👍🏼 2