ktor-gson
Module Contents
alltypes
Module Contents
class
GsonConverter
:
ContentConverter
Module Contents
GsonConverter
(
gson
:
Gson
=
Gson()
)
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
.
gson
(
contentType
:
ContentType
=
ContentType.Application.Json
,
block
:
GsonBuilder
.
(
)
->
Unit
=
{}
)
:
Unit
package
io.ktor.gson
Module Contents
class
GsonConverter
:
ContentConverter
Module Contents
GsonConverter
(
gson
:
Gson
=
Gson()
)
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
.
gson
(
contentType
:
ContentType
=
ContentType.Application.Json
,
block
:
GsonBuilder
.
(
)
->
Unit
=
{}
)
:
Unit