JsonTest

abstract class JsonTest : TestWithKtor

Base class for JSON tests.

Constructors

Link copied to clipboard
fun JsonTest()

Types

Link copied to clipboard
@Serializable
data class Response<T>(val ok: Boolean, val result: T?)
Link copied to clipboard
@Serializable
data class User(val name: String, val age: Int)
Link copied to clipboard
@Serializable
data class Widget(val name: String, val value: Int, val tags: List<String> = emptyList())

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open override val server: ApplicationEngine
Link copied to clipboard
open val timeout: CoroutinesTimeout