Package-level declarations
Types
Link copied to clipboard
Builder class for creating JSON arrays in a structured and type-safe manner.
Link copied to clipboard
Represents a JSON boolean value
Link copied to clipboard
Represents a JSON number value
Link copied to clipboard
Link copied to clipboard
Builder class for constructing JSON objects in a structured and type-safe way.
Link copied to clipboard
Represents a JSON string value
Functions
Link copied to clipboard
fun jsonObject(initialFields: Map<String, JsonValue> = emptyMap(), builder: JsonObjectBuilder.() -> Unit): JsonObject
Creates a new JsonObject using the provided initial fields and a lambda for adding or modifying fields. This function is part of a DSL for building JSON objects in a structured and type-safe way.