serialization
fun Configuration.serialization(contentType: ContentType, format: BinaryFormat)
Content copied to clipboard
Register kotlinx.serialization converter into ContentNegotiation plugin with the specified contentType and binary format (such as CBOR, ProtoBuf)
fun Configuration.serialization(contentType: ContentType, format: StringFormat)
Content copied to clipboard
Register kotlinx.serialization converter into ContentNegotiation plugin with the specified contentType and string format (such as Json)