set

fun set(key: String, value: JsonElement)

Sets key to value, replacing any value it already had.