Package io.ktor.gson

Types

Link copied to clipboard
class GsonConverter(gson: Gson) : ContentConverter

GSON converter for ContentNegotiation feature

Functions

Link copied to clipboard
fun ContentNegotiation.Configuration.gson(contentType: ContentType = ContentType.Application.Json, block: GsonBuilder.() -> Unit = {})

Register GSON to ContentNegotiation feature