GsonConverter

class GsonConverter(gson: Gson) : ContentConverter

GSON converter for ContentNegotiation feature

Constructors

Link copied to clipboard
fun GsonConverter(gson: Gson = Gson())

Functions

Link copied to clipboard
open suspend override fun convertForReceive(context: PipelineContext<ApplicationReceiveRequest, ApplicationCall>): Any?
Link copied to clipboard
open suspend override fun convertForSend(context: PipelineContext<Any, ApplicationCall>, contentType: ContentType, value: Any): Any?