JsonObjectImplementation

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard

The Map to create the MapBase from

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

Get the value of the JsonObject

Link copied to clipboard

Functions

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

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 JsonObject

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

Creates a new MutableJsonObject from the JsonObject

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

Override toString to generate via JSON.stringify