//clika-runtime/io.clika.runtime/Json/set
set
[common]
fun set(key: String, value: Json): Json
Set the member key to a copy of value, turning a null into an object first. Returns this for chaining.
[common]
fun set(key: String, value: Boolean): Json
Set the member key to a boolean.
[common]
fun set(key: String, value: Long): Json
Set the member key to an integer.
[common]
fun set(key: String, value: Double): Json
Set the member key to a floating-point number.
[common]
fun set(key: String, value: String): Json
Set the member key to a string.