KotlinxSerializationConverter
class KotlinxSerializationConverter(format: SerialFormat) : ContentConverter
Content copied to clipboard
Creates a converter serializing with the specified string format and defaultCharset (optional, usually it is UTF-8).
Constructors
Functions
Link copied to clipboard
open suspend override fun deserialize(charset: Charset, typeInfo: TypeInfo, content: ByteReadChannel): Any?
Content copied to clipboard
Link copied to clipboard
open suspend override fun serialize(contentType: ContentType, charset: Charset, typeInfo: TypeInfo, value: Any): OutgoingContent
Content copied to clipboard