Package-level declarations

Properties

Link copied to clipboard
val JsonElement.booleanValue: Boolean
Link copied to clipboard
val JsonElement.doubleValue: Double
Link copied to clipboard
val JsonElement.intValue: Int
Link copied to clipboard
val JsonElement.keys: Set<String>
Link copied to clipboard
val JsonElement.size: Int
Link copied to clipboard
val JsonElement.stringValue: String

Functions

Link copied to clipboard
fun JsonElement.booleanValue(vararg keys: String): Boolean
Link copied to clipboard
fun JsonElement.booleanValueOrNull(vararg keys: String): Boolean?
Link copied to clipboard
fun JsonElement.containsKey(vararg keys: String): Boolean
Link copied to clipboard
fun JsonElement.doubleValue(vararg keys: String): Double
Link copied to clipboard
fun JsonElement.doubleValueOrNull(vararg keys: String): Double?
Link copied to clipboard
operator fun JsonElement.get(vararg keys: String): JsonElement
Link copied to clipboard
fun JsonElement.getOrNull(vararg keys: String): JsonElement?
Link copied to clipboard
fun JsonElement.intValue(vararg keys: String): Int
Link copied to clipboard
fun JsonElement.intValueOrNull(vararg keys: String): Int?
Link copied to clipboard
fun JsonElement.isEmpty(): Boolean
Link copied to clipboard
fun JsonElement.isNotEmpty(): Boolean
Link copied to clipboard
fun JsonElement.jsonElementList(vararg keys: String): List<JsonElement>
Link copied to clipboard
fun JsonElement.jsonElementListOrNull(vararg keys: String): List<JsonElement>?
Link copied to clipboard
fun JsonElement.stringValue(vararg keys: String): String
Link copied to clipboard
fun JsonElement.stringValueOrNull(vararg keys: String): String?
Link copied to clipboard
inline fun <T> T.toJsonElement(): JsonElement
fun String.toJsonElement(): JsonElement
Link copied to clipboard
fun JsonElement.toJsonElementList(): List<JsonElement>
Link copied to clipboard
fun String.toJsonString(): String
inline fun <T> T.toJsonString(prettyPrint: Boolean = true): String
Link copied to clipboard
fun JsonElement.toMap(): Map<String, Any?>