Jackson Converter
class JacksonConverter(objectMapper: ObjectMapper = jacksonObjectMapper(), streamRequestBody: Boolean = true) : ContentConverter(source)
A content converter that uses Jackson
Parameters
object Mapper
a configured instance of ObjectMapper
stream Request Body
if set to true, will stream request body, without keeping it whole in memory. This will set Transfer-Encoding: chunked header.
Functions
Link copied to clipboard
open suspend override fun deserialize(charset: Charset, typeInfo: TypeInfo, content: ByteReadChannel): Any?