TypedKObject

interface TypedKObject<V> : MutableMap<String, V>

A wrapper around MutableMap to represent a JSON object

Functions

clear
Link copied to clipboard
abstract fun clear()
containsKey
Link copied to clipboard
abstract fun containsKey(key: String): Boolean
containsValue
Link copied to clipboard
abstract fun containsValue(value: V): Boolean
get
Link copied to clipboard
abstract operator fun get(key: String): V?
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
put
Link copied to clipboard
abstract fun put(key: String, value: V): V?
putAll
Link copied to clipboard
abstract fun putAll(from: Map<out String, V>)
remove
Link copied to clipboard
abstract fun remove(key: String): V?
to
Link copied to clipboard
open infix fun String.to(value: V)

Adds a field

Properties

entries
Link copied to clipboard
abstract override val entries: MutableSet<MutableMap.MutableEntry<String, V>>
keys
Link copied to clipboard
abstract override val keys: MutableSet<String>
size
Link copied to clipboard
abstract val size: Int
values
Link copied to clipboard
abstract override val values: MutableCollection<V>

Inheritors

KObject
Link copied to clipboard