modifyObjectWith

fun JsonElement.modifyObjectWith(key: String, block: (MutableMap<String, JsonElement>) -> Unit): JsonObject(source)