class JsonObject : JsonContainer, Iterable<Entry<String, JsonValue>>
Since
1.0
JsonValue representation for 'object'.
JsonObject(vararg properties: Pair<String, Any?>)
json object filled with properties. Each pair first value must be compliant with the JSON specification. Each pair second value must be of a valid type (See 'Valid Types'). JsonObject()
empty json object. |
val keys: MutableSet<String> |
|
val size: Int |
|
val values: MutableCollection<JsonValue> |
fun clone(): JsonObject |
|
fun containsKey(key: String): Boolean |
|
fun get(key: String): JsonValue |
|
fun isEmpty(): Boolean |
|
operator fun iterator(): MutableIterator<MutableEntry<String, JsonValue>> |
|
fun remove(key: String): Unit |
|
fun set(key: String, value: Any?): Unit |
open operator fun get(index: Int): JsonValue |
|
fun isNotEmpty(): Boolean |
|
open operator fun set(index: Int, value: Any?): Unit |