fun Configuration. fun Configuration.json(json: Json = DefaultJson, contentType: ContentType = ContentType.Application.Json): Unit
Register |
|
fun Configuration.serialization(contentType: ContentType, format: BinaryFormat): Unit
Register kotlinx.serialization converter into ContentNegotiation feature with the specified contentType and binary format (such as CBOR, ProtoBuf) fun Configuration.serialization(contentType: ContentType, format: StringFormat): Unit
Register kotlinx.serialization converter into ContentNegotiation feature with the specified contentType and string format (such as Json) fun Configuration. fun Configuration. fun Configuration.
Register kotlinx.serialization converter into ContentNegotiation feature |
|
fun Configuration. |