Does anyone know if I can somehow register a seria...
# serialization
i
Does anyone know if I can somehow register a serializer in ktor (using kotlinx.serialization)? I am writing a Ktor sever and I need to return a data class from a 3rd party library, so I can't annotate it with @Serializable. I can write a serializer for it, but how to tell Ktor to use this serializer?