Package io.ktor.client.features.json

Types

GsonSerializer

class GsonSerializer : JsonSerializer

JsonSerializer using Gson as backend.

JacksonSerializer

class JacksonSerializer : JsonSerializer

JsonFeature

class JsonFeature

HttpClient feature that serializes/de-serializes as JSON custom objects to request and from response bodies using a serializer.

JsonSerializer

interface JsonSerializer

Client json serializer.

Functions

Json

fun HttpClientConfig<*>.Json(block: Config.() -> Unit): Unit

Install JsonFeature.

defaultSerializer

expect fun defaultSerializer(): JsonSerializer

Platform default serializer.