KotlinxSerializationConverter

class KotlinxSerializationConverter(format: SerialFormat) : ContentConverter

Creates a converter serializing with the specified string format

Constructors

Link copied to clipboard
constructor(format: SerialFormat)

Functions

Link copied to clipboard
open suspend override fun deserialize(charset: Charset, typeInfo: TypeInfo, content: ByteReadChannel): Any?
Link copied to clipboard
open suspend override fun serialize(contentType: ContentType, charset: Charset, typeInfo: TypeInfo, value: Any?): OutgoingContent