ktor-serialization
Module Contents
alltypes
Module Contents
class
SerializationConverter
:
ContentConverter
Module Contents
SerializationConverter
(
format
:
BinaryFormat
)
SerializationConverter
(
format
:
StringFormat
,
defaultCharset
:
<ERROR CLASS>
=
Charsets.UTF_8
)
SerializationConverter
(
json
:
Json
=
DefaultJson
)
SerializationConverter
(
)
suspend
fun
convertForReceive
(
context
:
PipelineContext
<
ApplicationReceiveRequest
,
ApplicationCall
>
)
:
Any
?
suspend
fun
convertForSend
(
context
:
PipelineContext
<
Any
,
ApplicationCall
>
,
contentType
:
ContentType
,
value
:
Any
)
:
Any
?
io.ktor.features.ContentNegotiation.Configuration
Module Contents
fun
Configuration
.
json
(
json
:
Json
=
Json.Default
,
module
:
SerializersModule
=
EmptySerializersModule
,
contentType
:
ContentType
=
ContentType.Application.Json
)
:
Unit
fun
Configuration
.
json
(
json
:
Json
=
DefaultJson
,
contentType
:
ContentType
=
ContentType.Application.Json
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
format
:
BinaryFormat
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
format
:
StringFormat
)
:
Unit
fun
Configuration
.
serialization
(
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
json
:
Json
)
:
Unit
@JvmName
(
"serialization"
)
fun
Configuration
.
serialization0
(
contentType
:
ContentType
=
ContentType.Application.Json
,
json
:
Json
=
DefaultJson
)
:
Unit
package
io.ktor.serialization
Module Contents
val
DefaultJson
:
Json
val
DefaultJsonConfiguration
:
Json
fun
SerializationConverter
(
)
:
SerializationConverter
class
SerializationConverter
:
ContentConverter
Module Contents
SerializationConverter
(
format
:
BinaryFormat
)
SerializationConverter
(
format
:
StringFormat
,
defaultCharset
:
<ERROR CLASS>
=
Charsets.UTF_8
)
SerializationConverter
(
json
:
Json
=
DefaultJson
)
SerializationConverter
(
)
suspend
fun
convertForReceive
(
context
:
PipelineContext
<
ApplicationReceiveRequest
,
ApplicationCall
>
)
:
Any
?
suspend
fun
convertForSend
(
context
:
PipelineContext
<
Any
,
ApplicationCall
>
,
contentType
:
ContentType
,
value
:
Any
)
:
Any
?
io.ktor.features.ContentNegotiation.Configuration
Module Contents
fun
Configuration
.
json
(
json
:
Json
=
Json.Default
,
module
:
SerializersModule
=
EmptySerializersModule
,
contentType
:
ContentType
=
ContentType.Application.Json
)
:
Unit
fun
Configuration
.
json
(
json
:
Json
=
DefaultJson
,
contentType
:
ContentType
=
ContentType.Application.Json
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
format
:
BinaryFormat
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
format
:
StringFormat
)
:
Unit
fun
Configuration
.
serialization
(
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
)
:
Unit
fun
Configuration
.
serialization
(
contentType
:
ContentType
,
json
:
Json
)
:
Unit
@JvmName
(
"serialization"
)
fun
Configuration
.
serialization0
(
contentType
:
ContentType
=
ContentType.Application.Json
,
json
:
Json
=
DefaultJson
)
:
Unit