Constructors

Link copied to clipboard
constructor(value: MutableMap<String, JsonElement>)

Properties

Link copied to clipboard
Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
open override val value: MutableMap<String, JsonElement>

Get the value of the MutableJsonObject

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
open override fun toMap(): JsonObject

Creates a new JsonObject from the MutableJsonObject

Link copied to clipboard
open override fun toMutableMap(): MutableJsonObject

Creates a new MutableJsonObject from the MutableJsonObject

Link copied to clipboard
open override fun toString(): String

Override toString to generate via JSON.stringify