ktor-shared-serialization-jackson / io.ktor.shared.serializaion.jackson / JacksonConverter

JacksonConverter

class JacksonConverter : ContentConverter

Constructors

<init>

JacksonConverter(objectmapper: ObjectMapper = jacksonObjectMapper())

Functions

deserialize

suspend fun deserialize(charset: <ERROR CLASS>, typeInfo: TypeInfo, content: ByteReadChannel): Any?

serialize

suspend fun serialize(contentType: ContentType, charset: <ERROR CLASS>, typeInfo: TypeInfo, value: Any): OutgoingContent