serialization

fun Configuration.serialization(contentType: ContentType, format: BinaryFormat)(source)

Register kotlinx.serialization converter into ContentNegotiation plugin with the specified contentType and binary format (such as CBOR, ProtoBuf)

Report a problem


fun Configuration.serialization(contentType: ContentType, format: StringFormat)(source)

Register kotlinx.serialization converter into ContentNegotiation plugin with the specified contentType and string format (such as Json)

Report a problem