Package-level declarations

Types

Link copied to clipboard

Adds special handling for receiving Sequence and sending Flow bodies for the Json format.

Properties

Link copied to clipboard

The default JSON configuration used in KotlinxSerializationConverter. The settings are:

Functions

Link copied to clipboard
fun Configuration.json(json: Json = DefaultJson, contentType: ContentType = ContentType.Application.Json)

Registers the application/json (or another specified contentType) content type to the ContentNegotiation plugin using kotlinx.serialization.

Link copied to clipboard
fun Configuration.jsonIo(json: Json = DefaultJson, contentType: ContentType = ContentType.Application.Json)

Registers the application/json (or another specified contentType) content type to the ContentNegotiation plugin using kotlinx.serialization.