jackson
fun Configuration.jackson(contentType: ContentType = ContentType.Application.Json, streamRequestBody: Boolean = true, block: ObjectMapper.() -> Unit = {})(source)
Registers the application/json content type to the ContentNegotiation plugin using Jackson.
You can learn more from the corresponding client and server documentation.
Parameters
content Type
the content type to send with request
stream Request Body
if set to true, will stream request body, without keeping it whole in memory. This will set Transfer-Encoding: chunked header.
block
a configuration block for ObjectMapper