removeElement

abstract fun removeElement(key: String): JsonElement?

移除并返回与指定键关联的元素。

Return

被移除的 JsonElement,如果键不存在则返回 null

Parameters

key

要移除的元素的键名。