ktor-shared-serialization-jackson
Module Contents
alltypes
Module Contents
class
JacksonConverter
:
ContentConverter
Module Contents
JacksonConverter
(
objectmapper
:
ObjectMapper
=
jacksonObjectMapper()
)
suspend
fun
deserialize
(
charset
:
<ERROR CLASS>
,
typeInfo
:
TypeInfo
,
content
:
ByteReadChannel
)
:
Any
?
suspend
fun
serialize
(
contentType
:
ContentType
,
charset
:
<ERROR CLASS>
,
typeInfo
:
TypeInfo
,
value
:
Any
)
:
OutgoingContent
io.ktor.shared.serialization.Configuration
Module Contents
fun
Configuration
.
jackson
(
contentType
:
ContentType
=
ContentType.Application.Json
,
block
:
ObjectMapper
.
(
)
->
Unit
=
{}
)
:
Unit
package
io.ktor.shared.serializaion.jackson
Module Contents
class
JacksonConverter
:
ContentConverter
Module Contents
JacksonConverter
(
objectmapper
:
ObjectMapper
=
jacksonObjectMapper()
)
suspend
fun
deserialize
(
charset
:
<ERROR CLASS>
,
typeInfo
:
TypeInfo
,
content
:
ByteReadChannel
)
:
Any
?
suspend
fun
serialize
(
contentType
:
ContentType
,
charset
:
<ERROR CLASS>
,
typeInfo
:
TypeInfo
,
value
:
Any
)
:
OutgoingContent
io.ktor.shared.serialization.Configuration
Module Contents
fun
Configuration
.
jackson
(
contentType
:
ContentType
=
ContentType.Application.Json
,
block
:
ObjectMapper
.
(
)
->
Unit
=
{}
)
:
Unit