JacksonSerializer

class JacksonSerializer : JsonSerializer

Constructors

<init>

JacksonSerializer(block: ObjectMapper.() -> Unit = {})

Functions

read

fun read(type: TypeInfo, body: Input): Any

Read content from response using information specified in type.

write

fun write(
    data: Any,
    contentType: ContentType
): OutgoingContent

Convert data object to OutgoingContent.

Inherited Functions

write

open fun write(data: Any): OutgoingContent

Convert data object to OutgoingContent.