MutableJsonObject

Properties

Link copied to clipboard
Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
abstract val value: Any?

The value of the JsonElement

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun containsKey(key: String): Boolean
Link copied to clipboard
abstract fun containsValue(value: JsonElement): Boolean
Link copied to clipboard
abstract operator fun get(key: String): JsonElement?
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
open override fun isJsonArray(): Boolean
Link copied to clipboard
open override fun isJsonBoolean(): Boolean
Link copied to clipboard
open override fun isJsonDouble(): Boolean
Link copied to clipboard
open override fun isJsonInteger(): Boolean
Link copied to clipboard
open override fun isJsonNull(): Boolean
Link copied to clipboard
open override fun isJsonObject(): Boolean
Link copied to clipboard
open override fun isJsonPrimitive(): Boolean
Link copied to clipboard
open override fun isJsonString(): Boolean
Link copied to clipboard
abstract fun put(key: String, value: JsonElement): JsonElement?
Link copied to clipboard
abstract fun putAll(from: Map<out String, JsonElement>)
Link copied to clipboard
abstract fun remove(key: String): JsonElement?
Link copied to clipboard

Cast the JsonElement to a JsonArray

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun toMap(): JsonObject

Create a new map from this map

Link copied to clipboard

Create a mutable map from this map