Package io.ktor.serialization.jackson

Types

Link copied to clipboard
class JacksonConverter(objectmapper: ObjectMapper) : ContentConverter
Link copied to clipboard
class JacksonWebsocketContentConverter(objectmapper: ObjectMapper) : WebsocketContentConverter

A jackson converter for the WebSockets plugin

Functions

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

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