JsonArrayImplementation

Constructors

Link copied to clipboard
constructor(value: List<JsonElement>)

Properties

Link copied to clipboard

The List to create the ListBase from

Link copied to clipboard
abstract override val size: Int
Link copied to clipboard
open override val value: List<JsonElement>

Get the value of the JsonArray

Functions

Link copied to clipboard
abstract operator override fun contains(element: JsonElement): Boolean
Link copied to clipboard
abstract override fun containsAll(elements: Collection<JsonElement>): Boolean
Link copied to clipboard
abstract operator fun get(index: Int): JsonElement
Link copied to clipboard
abstract fun indexOf(element: JsonElement): Int
Link copied to clipboard
abstract override 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 operator override fun iterator(): Iterator<JsonElement>
Link copied to clipboard
abstract fun lastIndexOf(element: JsonElement): Int
Link copied to clipboard
Link copied to clipboard
abstract fun subList(fromIndex: Int, toIndex: Int): List<JsonElement>
Link copied to clipboard
open override fun toCollection(): JsonArray

Creates a new JsonArray from the JsonArray

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

Creates a new MutableJsonArray from the JsonArray

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

Override toString to generate via JSON.stringify