ktor-client-json-tests / io.ktor.client.features.json.tests / JsonTest

JsonTest

abstract class JsonTest : TestWithKtor

Base class for JSON tests.

Types

Response

data class Response<T>

User

data class User

Widget

data class Widget

Constructors

<init>

JsonTest()

Base class for JSON tests.

Properties

serializerImpl

abstract val serializerImpl: JsonSerializer?

server

open val server: ApplicationEngine

Functions

configClient

fun TestClientBuilder<*>.configClient(): Unit

createRoutes

open fun createRoutes(routing: Routing): Unit

testCustomContentTypes

fun testCustomContentTypes(): <ERROR CLASS>

testCustomContentTypesMultiple

fun testCustomContentTypesMultiple(): <ERROR CLASS>

testCustomContentTypesWildcard

fun testCustomContentTypesWildcard(): <ERROR CLASS>

testEmptyBody

fun testEmptyBody(): <ERROR CLASS>

testSerializeNested

fun testSerializeNested(): <ERROR CLASS>

testSerializeSimple

fun testSerializeSimple(): <ERROR CLASS>