Package-level declarations

Types

Link copied to clipboard
class JacksonConverter(objectMapper: ObjectMapper = jacksonObjectMapper(), streamRequestBody: Boolean = true) : ContentConverter

A content converter that uses Jackson

Link copied to clipboard
class JacksonWebsocketContentConverter(objectmapper: ObjectMapper = jacksonObjectMapper()) : WebsocketContentConverter

A jackson converter for the WebSockets plugin

Functions

Link copied to clipboard
fun Configuration.jackson(contentType: ContentType = ContentType.Application.Json, streamRequestBody: Boolean = true, block: ObjectMapper.() -> Unit = {})

Registers the application/json content type to the ContentNegotiation plugin using Jackson.