JsonObjectScope

data class JsonObjectScope(builder: JsonObjectBuilder)

Constructors

Link copied to clipboard
constructor(builder: JsonObjectBuilder)

Functions

Link copied to clipboard
inline fun arr(key: String, init: JsonArrayScope.() -> Unit): JsonElement?
Link copied to clipboard
fun merge(obj: JsonObject)
Link copied to clipboard
inline fun obj(key: String, init: JsonObjectScope.() -> Unit): JsonElement?
Link copied to clipboard
infix fun String.with(value: Boolean): JsonElement?
infix fun String.with(value: Nothing?): JsonElement?
infix fun String.with(value: Number): JsonElement?
infix fun String.with(value: String): JsonElement?
infix fun String.with(value: JsonElement): JsonElement?