Package io.ktor.gson

Types

GsonConverter

class GsonConverter : ContentConverter

GSON converter for ContentNegotiation feature

Functions

gson

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

Register GSON to ContentNegotiation feature