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