class JsonObjectBuilder
DSL builder for a JsonObject. To create an instance of builder, use json.
(common, js, jvm, native)
to |
Adds given value to the current JsonObject with this as a key. infix fun String.to(value: JsonElement): Unit
Adds given value as JsonPrimitive to the current JsonObject with this as a key. infix fun String.to(value: Number?): Unit infix fun String.to(value: Boolean?): Unit infix fun String.to(value: String?): Unit |