JacksonSerializer

class JacksonSerializer(jackson: ObjectMapper = jacksonObjectMapper(), block: ObjectMapper.() -> Unit = {}) : JsonSerializer

Deprecated (with error)

Please use ContentNegotiation plugin and its converters: https://ktor.io/docs/migrating-2.html#serialization-client

Constructors

Link copied to clipboard
constructor(jackson: ObjectMapper = jacksonObjectMapper(), block: ObjectMapper.() -> Unit = {})

Functions

Link copied to clipboard
open override fun read(type: TypeInfo, body: Input): Any
Link copied to clipboard
open override fun write(data: Any, contentType: ContentType): OutgoingContent
open fun write(data: Any): OutgoingContent