Package-level declarations
Types
Link copied to clipboard
class JsonDataBuilder
Typed JSON object builder. Callers stay in plain Kotlin types — no JsonElement / buildJsonObject / put in user code:
Link copied to clipboard
DSL marker for JsonDataBuilder. Prevents accidental access to an outer builder's receiver from inside a nested block.
Functions
Link copied to clipboard
Build a JsonObject from a JsonDataBuilder block. Use this instead of buildJsonObject { put(...) } in user code — it stays in typed Kotlin and keeps kotlinx.serialization out of the public surface.