Package-level declarations

Functions

Link copied to clipboard
private fun JsonElement?.getContent(): String?

Method used to get the nullable content from a JsonPrimitive element

Link copied to clipboard
fun JsonElement?.treatsAsBoolean(defValue: Boolean = false): Boolean

Method used to treats a JsonElement value as null-safe Boolean

Link copied to clipboard
fun JsonElement?.treatsAsByte(defValue: Byte = 0): Byte

Method used to treats a JsonElement value as null-safe Byte

Link copied to clipboard
fun JsonElement?.treatsAsDouble(defValue: Double = 0.0): Double

Method used to treats a JsonElement value as null-safe Double

Link copied to clipboard
fun JsonElement?.treatsAsFloat(defValue: Float = 0.0f): Float

Method used to treats a JsonElement value as null-safe Float

Link copied to clipboard
fun JsonElement?.treatsAsInt(defValue: Int = 0): Int

Method used to treats a JsonElement value as null-safe Int

Link copied to clipboard
fun JsonElement?.treatsAsLong(defValue: Long = 0): Long

Method used to treats a JsonElement value as null-safe Long

Link copied to clipboard
fun JsonElement?.treatsAsNullableBoolean(defValue: Boolean? = null): Boolean?

Method used to treats a JsonElement value as nullable Boolean

Link copied to clipboard
fun JsonElement?.treatsAsNullableByte(defValue: Byte? = null): Byte?

Method used to treats a JsonElement value as nullable Byte

Link copied to clipboard
fun JsonElement?.treatsAsNullableDouble(defValue: Double? = null): Double?

Method used to treats a JsonElement value as nullable Double

Link copied to clipboard
fun JsonElement?.treatsAsNullableFloat(defValue: Float? = null): Float?

Method used to treats a JsonElement value as nullable Float

Link copied to clipboard
fun JsonElement?.treatsAsNullableInt(defValue: Int? = null): Int?

Method used to treats a JsonElement value as nullable Int

Link copied to clipboard
fun JsonElement?.treatsAsNullableLong(defValue: Long? = null): Long?

Method used to treats a JsonElement value as nullable Long

Link copied to clipboard
fun JsonElement?.treatsAsNullableShort(defValue: Short? = null): Short?

Method used to treats a JsonElement value as nullable Short

Link copied to clipboard
fun JsonElement?.treatsAsNullableString(defValue: String? = null): String?

Method used to treats a JsonElement value as nullable String

Link copied to clipboard
fun JsonElement?.treatsAsNullableUByte(defValue: UByte? = null): UByte?

Method used to treats a JsonElement value as nullable UByte

Link copied to clipboard
fun JsonElement?.treatsAsNullableUInt(defValue: UInt? = null): UInt?

Method used to treats a JsonElement value as nullable UInt

Link copied to clipboard
fun JsonElement?.treatsAsNullableULong(defValue: ULong? = null): ULong?

Method used to treats a JsonElement value as nullable ULong

Link copied to clipboard
fun JsonElement?.treatsAsNullableUShort(defValue: UShort? = null): UShort?

Method used to treats a JsonElement value as nullable UShort

Link copied to clipboard
fun JsonElement?.treatsAsShort(defValue: Short = 0): Short

Method used to treats a JsonElement value as null-safe Short

Link copied to clipboard
fun JsonElement?.treatsAsString(defValue: String = ""): String

Method used to treats a JsonElement value as null-safe String

Link copied to clipboard
fun JsonElement?.treatsAsUByte(defValue: UByte): UByte

Method used to treats a JsonElement value as null-safe UByte

Link copied to clipboard
fun JsonElement?.treatsAsUInt(defValue: UInt): UInt

Method used to treats a JsonElement value as null-safe UInt

Link copied to clipboard
fun JsonElement?.treatsAsULong(defValue: ULong): ULong

Method used to treats a JsonElement value as null-safe ULong

Link copied to clipboard
fun JsonElement?.treatsAsUShort(defValue: UShort): UShort

Method used to treats a JsonElement value as null-safe UShort