JsonModel

interface JsonModel

Properties

json
Link copied to clipboard
common
abstract val json: JsonObject
keyCase
Link copied to clipboard
common
open val keyCase: JsonKeyCase
keyConverter
Link copied to clipboard
common
open val keyConverter: JsonKeyConverter

Extensions

boolean
Link copied to clipboard
common
val JsonModel.boolean: JsonDelegateProperty<Boolean>
fun JsonModel.boolean(key: String? = null, default: JsonObjectDefaultSelector<Boolean>): JsonDelegateProperty<Boolean>
fun JsonModel.boolean(key: String? = null, default: Boolean): JsonDelegateProperty<Boolean>
fun JsonModel.boolean(key: String): JsonDelegateProperty<Boolean>
booleanList
Link copied to clipboard
common
val JsonModel.booleanList: JsonDelegateProperty<List<Boolean>>
fun JsonModel.booleanList(key: String? = null, default: JsonArrayDefaultSelector<Boolean>): JsonDelegateProperty<List<Boolean>>
fun JsonModel.booleanList(key: String? = null, default: List<Boolean>): JsonDelegateProperty<List<Boolean>>
fun JsonModel.booleanList(key: String): JsonDelegateProperty<List<Boolean>>
booleanValue
Link copied to clipboard
common
fun JsonModel.booleanValue(key: String): Boolean
fun JsonModel.booleanValue(key: String, default: Boolean): Boolean
fun JsonModel.booleanValue(key: String, default: () -> Boolean): Boolean
booleanValueOrNull
Link copied to clipboard
common
fun JsonModel.booleanValueOrNull(key: String): Boolean?
char
Link copied to clipboard
common
val JsonModel.char: JsonDelegateProperty<Char>
fun JsonModel.char(key: String? = null, default: JsonObjectDefaultSelector<Char>): JsonDelegateProperty<Char>
fun JsonModel.char(key: String? = null, default: Char): JsonDelegateProperty<Char>
fun JsonModel.char(key: String): JsonDelegateProperty<Char>
charList
Link copied to clipboard
common
val JsonModel.charList: JsonDelegateProperty<List<Char>>
fun JsonModel.charList(key: String? = null, default: JsonArrayDefaultSelector<Char>): JsonDelegateProperty<List<Char>>
fun JsonModel.charList(key: String? = null, default: List<Char>): JsonDelegateProperty<List<Char>>
fun JsonModel.charList(key: String): JsonDelegateProperty<List<Char>>
double
Link copied to clipboard
common
val JsonModel.double: JsonDelegateProperty<Double>
fun JsonModel.double(key: String? = null, default: JsonObjectDefaultSelector<Double>): JsonDelegateProperty<Double>
fun JsonModel.double(key: String? = null, default: Double): JsonDelegateProperty<Double>
fun JsonModel.double(key: String): JsonDelegateProperty<Double>
doubleList
Link copied to clipboard
common
val JsonModel.doubleList: JsonDelegateProperty<List<Double>>
fun JsonModel.doubleList(key: String? = null, default: JsonArrayDefaultSelector<Double>): JsonDelegateProperty<List<Double>>
fun JsonModel.doubleList(key: String? = null, default: List<Double>): JsonDelegateProperty<List<Double>>
fun JsonModel.doubleList(key: String): JsonDelegateProperty<List<Double>>
doubleValue
Link copied to clipboard
common
fun JsonModel.doubleValue(key: String): Double
fun JsonModel.doubleValue(key: String, default: Double): Double
fun JsonModel.doubleValue(key: String, default: () -> Double): Double
doubleValueOrNull
Link copied to clipboard
common
fun JsonModel.doubleValueOrNull(key: String): Double?
encodeToString
Link copied to clipboard
common
fun JsonModel.encodeToString(customizedJson: Json): String
fun JsonModel.encodeToString(): String
enum
Link copied to clipboard
common
inline fun <T : Any, E : Enum<E>, JsonEnum<T>> JsonModel.enum(key: String? = null, noinline default: JsonObjectDefaultSelector<E> = ::jsonObjectDefaultSelector): JsonObjectProperty<E>
enumList
Link copied to clipboard
common
inline fun <T : Any, E : Enum<E>, JsonEnum<T>> JsonModel.enumList(key: String? = null, noinline default: JsonArrayDefaultSelector<E> = ::jsonArrayDefaultSelector): JsonArrayProperty<E>
float
Link copied to clipboard
common
val JsonModel.float: JsonDelegateProperty<Float>
fun JsonModel.float(key: String? = null, default: JsonObjectDefaultSelector<Float>): JsonDelegateProperty<Float>
fun JsonModel.float(key: String? = null, default: Float): JsonDelegateProperty<Float>
fun JsonModel.float(key: String): JsonDelegateProperty<Float>
floatList
Link copied to clipboard
common
val JsonModel.floatList: JsonDelegateProperty<List<Float>>
fun JsonModel.floatList(key: String? = null, default: JsonArrayDefaultSelector<Float>): JsonDelegateProperty<List<Float>>
fun JsonModel.floatList(key: String? = null, default: List<Float>): JsonDelegateProperty<List<Float>>
fun JsonModel.floatList(key: String): JsonDelegateProperty<List<Float>>
floatValue
Link copied to clipboard
common
fun JsonModel.floatValue(key: String): Float
fun JsonModel.floatValue(key: String, default: Float): Float
fun JsonModel.floatValue(key: String, default: () -> Float): Float
floatValueOrNull
Link copied to clipboard
common
fun JsonModel.floatValueOrNull(key: String): Float?
getValue
Link copied to clipboard
common
inline operator fun <T> JsonModel.getValue(thisRef: Any?, property: KProperty<*>): T
int
Link copied to clipboard
common
val JsonModel.int: JsonDelegateProperty<Int>
fun JsonModel.int(key: String? = null, default: JsonObjectDefaultSelector<Int>): JsonDelegateProperty<Int>
fun JsonModel.int(key: String? = null, default: Int): JsonDelegateProperty<Int>
fun JsonModel.int(key: String): JsonDelegateProperty<Int>
intList
Link copied to clipboard
common
val JsonModel.intList: JsonDelegateProperty<List<Int>>
fun JsonModel.intList(key: String? = null, default: JsonArrayDefaultSelector<Int>): JsonDelegateProperty<List<Int>>
fun JsonModel.intList(key: String? = null, default: List<Int>): JsonDelegateProperty<List<Int>>
fun JsonModel.intList(key: String): JsonDelegateProperty<List<Int>>
intValue
Link copied to clipboard
common
fun JsonModel.intValue(key: String): Int
fun JsonModel.intValue(key: String, default: Int): Int
fun JsonModel.intValue(key: String, default: () -> Int): Int
intValueOrNull
Link copied to clipboard
common
fun JsonModel.intValueOrNull(key: String): Int?
jsonArray
Link copied to clipboard
common
val JsonModel.jsonArray: JsonDelegateProperty<JsonArray>
fun JsonModel.jsonArray(key: String? = null, default: JsonObjectDefaultSelector<JsonArray>): JsonDelegateProperty<JsonArray>
fun JsonModel.jsonArray(key: String? = null, default: JsonArray): JsonDelegateProperty<JsonArray>
fun JsonModel.jsonArray(key: String): JsonDelegateProperty<JsonArray>
jsonArrayList
Link copied to clipboard
common
val JsonModel.jsonArrayList: JsonDelegateProperty<List<JsonArray>>
fun JsonModel.jsonArrayList(key: String? = null, default: JsonArrayDefaultSelector<JsonArray>): JsonDelegateProperty<List<JsonArray>>
fun JsonModel.jsonArrayList(key: String? = null, default: List<JsonArray>): JsonDelegateProperty<List<JsonArray>>
fun JsonModel.jsonArrayList(key: String): JsonDelegateProperty<List<JsonArray>>
jsonArrayProperty
Link copied to clipboard
common
fun <T : Any> JsonModel.jsonArrayProperty(key: String? = null, default: JsonArrayDefaultSelector<T> = ::jsonArrayDefaultSelector, converter: JsonElementConverter<T>): JsonArrayProperty<T>
jsonElement
Link copied to clipboard
common
val JsonModel.jsonElement: JsonDelegateProperty<JsonElement>
fun JsonModel.jsonElement(key: String? = null, default: JsonObjectDefaultSelector<JsonElement>): JsonDelegateProperty<JsonElement>
fun JsonModel.jsonElement(key: String? = null, default: JsonElement): JsonDelegateProperty<JsonElement>
fun JsonModel.jsonElement(key: String): JsonDelegateProperty<JsonElement>
jsonElementList
Link copied to clipboard
common
fun JsonModel.jsonElementList(key: String? = null, default: JsonArrayDefaultSelector<JsonElement>): JsonDelegateProperty<List<JsonElement>>
fun JsonModel.jsonElementList(key: String? = null, default: List<JsonElement>): JsonDelegateProperty<List<JsonElement>>
fun JsonModel.jsonElementList(key: String): JsonDelegateProperty<List<JsonElement>>
jsonObject
Link copied to clipboard
common
val JsonModel.jsonObject: JsonDelegateProperty<JsonObject>
fun JsonModel.jsonObject(key: String? = null, default: JsonObjectDefaultSelector<JsonObject>): JsonDelegateProperty<JsonObject>
fun JsonModel.jsonObject(key: String? = null, default: JsonObject): JsonDelegateProperty<JsonObject>
fun JsonModel.jsonObject(key: String): JsonDelegateProperty<JsonObject>
jsonObjectList
Link copied to clipboard
common
val JsonModel.jsonObjectList: JsonDelegateProperty<List<JsonObject>>
fun JsonModel.jsonObjectList(key: String? = null, default: JsonArrayDefaultSelector<JsonObject>): JsonDelegateProperty<List<JsonObject>>
fun JsonModel.jsonObjectList(key: String? = null, default: List<JsonObject>): JsonDelegateProperty<List<JsonObject>>
fun JsonModel.jsonObjectList(key: String): JsonDelegateProperty<List<JsonObject>>
jsonObjectProperty
Link copied to clipboard
common
fun <T : Any> JsonModel.jsonObjectProperty(key: String? = null, default: JsonObjectDefaultSelector<T> = ::jsonObjectDefaultSelector, converter: JsonElementConverter<T>): JsonObjectProperty<T>
jsonPrimitive
Link copied to clipboard
common
val JsonModel.jsonPrimitive: JsonDelegateProperty<JsonPrimitive>
fun JsonModel.jsonPrimitive(key: String? = null, default: JsonObjectDefaultSelector<JsonPrimitive>): JsonDelegateProperty<JsonPrimitive>
fun JsonModel.jsonPrimitive(key: String? = null, default: JsonPrimitive): JsonDelegateProperty<JsonPrimitive>
fun JsonModel.jsonPrimitive(key: String): JsonDelegateProperty<JsonPrimitive>
jsonPrimitiveList
Link copied to clipboard
common
val JsonModel.jsonPrimitiveList: JsonDelegateProperty<List<JsonPrimitive>>
fun JsonModel.jsonPrimitiveList(key: String? = null, default: JsonArrayDefaultSelector<JsonPrimitive>): JsonDelegateProperty<List<JsonPrimitive>>
fun JsonModel.jsonPrimitiveList(key: String? = null, default: List<JsonPrimitive>): JsonDelegateProperty<List<JsonPrimitive>>
fun JsonModel.jsonPrimitiveList(key: String): JsonDelegateProperty<List<JsonPrimitive>>
lambda
Link copied to clipboard
common
fun <T : Any> JsonModel.lambda(key: String? = null, default: JsonObjectDefaultSelector<T>, converter: JsonElementConverter<T>): JsonObjectProperty<T>
fun <T : Any> JsonModel.lambda(key: String? = null, default: T, converter: JsonElementConverter<T>): JsonObjectProperty<T>
fun <T : Any> JsonModel.lambda(key: String? = null, converter: JsonElementConverter<T>): JsonObjectProperty<T>
lambdaList
Link copied to clipboard
common
fun <T : Any> JsonModel.lambdaList(key: String? = null, default: JsonArrayDefaultSelector<T>, converter: JsonElementConverter<T>): JsonArrayProperty<T>
fun <T : Any> JsonModel.lambdaList(key: String? = null, default: List<T>, converter: JsonElementConverter<T>): JsonArrayProperty<T>
fun <T : Any> JsonModel.lambdaList(key: String? = null, converter: JsonElementConverter<T>): JsonArrayProperty<T>
long
Link copied to clipboard
common
val JsonModel.long: JsonDelegateProperty<Long>
fun JsonModel.long(key: String? = null, default: JsonObjectDefaultSelector<Long>): JsonDelegateProperty<Long>
fun JsonModel.long(key: String? = null, default: Long): JsonDelegateProperty<Long>
fun JsonModel.long(key: String): JsonDelegateProperty<Long>
longList
Link copied to clipboard
common
val JsonModel.longList: JsonDelegateProperty<List<Long>>
fun JsonModel.longList(key: String? = null, default: JsonArrayDefaultSelector<Long>): JsonDelegateProperty<List<Long>>
fun JsonModel.longList(key: String? = null, default: List<Long>): JsonDelegateProperty<List<Long>>
fun JsonModel.longList(key: String): JsonDelegateProperty<List<Long>>
longValue
Link copied to clipboard
common
fun JsonModel.longValue(key: String): Long
fun JsonModel.longValue(key: String, default: Long): Long
fun JsonModel.longValue(key: String, default: () -> Long): Long
longValueOrNull
Link copied to clipboard
common
fun JsonModel.longValueOrNull(key: String): Long?
model
Link copied to clipboard
common
fun <T : JsonModel> JsonModel.model(key: String? = null, block: (JsonObject) -> T): JsonObjectProperty<T>
modelList
Link copied to clipboard
common
fun <T : JsonModel> JsonModel.modelList(key: String? = null, block: (JsonObject) -> T): JsonArrayProperty<T>
modelListOrDefault
Link copied to clipboard
common
fun <T : JsonModel> JsonModel.modelListOrDefault(key: String? = null, block: (JsonObject) -> T): JsonArrayProperty<T>
modelListValue
Link copied to clipboard
inline fun <T : JsonModel> JsonModel.modelListValue(key: String): List<T>
modelListValueOrNull
Link copied to clipboard
inline fun <T : JsonModel> JsonModel.modelListValueOrNull(key: String): List<T>?
modelOrDefault
Link copied to clipboard
common
fun <T : JsonModel> JsonModel.modelOrDefault(key: String? = null, block: (JsonObject) -> T): JsonObjectProperty<T>
modelValue
Link copied to clipboard
inline fun <T : JsonModel> JsonModel.modelValue(key: String): T
modelValueOrNull
Link copied to clipboard
inline fun <T : JsonModel> JsonModel.modelValueOrNull(key: String): T?
nullableBoolean
Link copied to clipboard
common
val JsonModel?.nullableBoolean: JsonDelegateProperty<Boolean?>
fun JsonModel?.nullableBoolean(key: String? = null, default: JsonObjectDefaultSelector<Boolean?>): JsonDelegateProperty<Boolean?>
fun JsonModel?.nullableBoolean(key: String? = null, default: Boolean?): JsonDelegateProperty<Boolean?>
fun JsonModel?.nullableBoolean(key: String): JsonDelegateProperty<Boolean?>
nullableBooleanList
Link copied to clipboard
common
val JsonModel?.nullableBooleanList: JsonDelegateProperty<List<Boolean?>>
fun JsonModel?.nullableBooleanList(key: String? = null, default: JsonArrayDefaultSelector<Boolean?>): JsonDelegateProperty<List<Boolean?>>
fun JsonModel?.nullableBooleanList(key: String? = null, default: List<Boolean?>): JsonDelegateProperty<List<Boolean?>>
fun JsonModel?.nullableBooleanList(key: String): JsonDelegateProperty<List<Boolean?>>
nullableChar
Link copied to clipboard
common
val JsonModel?.nullableChar: JsonDelegateProperty<Char?>
fun JsonModel?.nullableChar(key: String? = null, default: JsonObjectDefaultSelector<Char?>): JsonDelegateProperty<Char?>
fun JsonModel?.nullableChar(key: String? = null, default: Char?): JsonDelegateProperty<Char?>
fun JsonModel?.nullableChar(key: String): JsonDelegateProperty<Char?>
nullableCharList
Link copied to clipboard
common
val JsonModel?.nullableCharList: JsonDelegateProperty<List<Char?>>
fun JsonModel?.nullableCharList(key: String? = null, default: JsonArrayDefaultSelector<Char?>): JsonDelegateProperty<List<Char?>>
fun JsonModel?.nullableCharList(key: String? = null, default: List<Char?>): JsonDelegateProperty<List<Char?>>
fun JsonModel?.nullableCharList(key: String): JsonDelegateProperty<List<Char?>>
nullableDouble
Link copied to clipboard
common
val JsonModel?.nullableDouble: JsonDelegateProperty<Double?>
fun JsonModel?.nullableDouble(key: String? = null, default: JsonObjectDefaultSelector<Double?>): JsonDelegateProperty<Double?>
fun JsonModel?.nullableDouble(key: String? = null, default: Double?): JsonDelegateProperty<Double?>
fun JsonModel?.nullableDouble(key: String): JsonDelegateProperty<Double?>
nullableDoubleList
Link copied to clipboard
common
val JsonModel?.nullableDoubleList: JsonDelegateProperty<List<Double?>>
fun JsonModel?.nullableDoubleList(key: String? = null, default: JsonArrayDefaultSelector<Double?>): JsonDelegateProperty<List<Double?>>
fun JsonModel?.nullableDoubleList(key: String? = null, default: List<Double?>): JsonDelegateProperty<List<Double?>>
fun JsonModel?.nullableDoubleList(key: String): JsonDelegateProperty<List<Double?>>
nullableEnum
Link copied to clipboard
common
inline fun <T : Any, E : Enum<E>, JsonEnum<T>> JsonModel?.nullableEnum(key: String? = null, noinline default: JsonObjectDefaultSelector<E?> = ::jsonObjectDefaultSelectorWithNull): JsonObjectProperty<E?>
nullableEnumList
Link copied to clipboard
common
inline fun <T : Any, E : Enum<E>, JsonEnum<T>> JsonModel?.nullableEnumList(key: String? = null, noinline default: JsonArrayDefaultSelector<E?> = ::jsonArrayDefaultSelector): JsonArrayProperty<E?>
nullableFloat
Link copied to clipboard
common
val JsonModel?.nullableFloat: JsonDelegateProperty<Float?>
fun JsonModel?.nullableFloat(key: String? = null, default: JsonObjectDefaultSelector<Float?>): JsonDelegateProperty<Float?>
fun JsonModel?.nullableFloat(key: String? = null, default: Float?): JsonDelegateProperty<Float?>
fun JsonModel?.nullableFloat(key: String): JsonDelegateProperty<Float?>
nullableFloatList
Link copied to clipboard
common
val JsonModel?.nullableFloatList: JsonDelegateProperty<List<Float?>>
fun JsonModel?.nullableFloatList(key: String? = null, default: JsonArrayDefaultSelector<Float?>): JsonDelegateProperty<List<Float?>>
fun JsonModel?.nullableFloatList(key: String? = null, default: List<Float?>): JsonDelegateProperty<List<Float?>>
fun JsonModel?.nullableFloatList(key: String): JsonDelegateProperty<List<Float?>>
nullableInt
Link copied to clipboard
common
val JsonModel?.nullableInt: JsonDelegateProperty<Int?>
fun JsonModel?.nullableInt(key: String? = null, default: JsonObjectDefaultSelector<Int?>): JsonDelegateProperty<Int?>
fun JsonModel?.nullableInt(key: String? = null, default: Int?): JsonDelegateProperty<Int?>
fun JsonModel?.nullableInt(key: String): JsonDelegateProperty<Int?>
nullableIntList
Link copied to clipboard
common
val JsonModel?.nullableIntList: JsonDelegateProperty<List<Int?>>
fun JsonModel?.nullableIntList(key: String? = null, default: JsonArrayDefaultSelector<Int?>): JsonDelegateProperty<List<Int?>>
fun JsonModel?.nullableIntList(key: String? = null, default: List<Int?>): JsonDelegateProperty<List<Int?>>
fun JsonModel?.nullableIntList(key: String): JsonDelegateProperty<List<Int?>>
nullableJsonArray
Link copied to clipboard
common
val JsonModel?.nullableJsonArray: JsonDelegateProperty<JsonArray?>
fun JsonModel?.nullableJsonArray(key: String? = null, default: JsonObjectDefaultSelector<JsonArray?>): JsonDelegateProperty<JsonArray?>
fun JsonModel?.nullableJsonArray(key: String? = null, default: JsonArray?): JsonDelegateProperty<JsonArray?>
fun JsonModel?.nullableJsonArray(key: String): JsonDelegateProperty<JsonArray?>
nullableJsonArrayList
Link copied to clipboard
common
fun JsonModel?.nullableJsonArrayList(key: String? = null, default: JsonArrayDefaultSelector<JsonArray?>): JsonDelegateProperty<List<JsonArray?>>
fun JsonModel?.nullableJsonArrayList(key: String? = null, default: List<JsonArray?>): JsonDelegateProperty<List<JsonArray?>>
fun JsonModel?.nullableJsonArrayList(key: String): JsonDelegateProperty<List<JsonArray?>>
nullableJsonArrayProperty
Link copied to clipboard
common
fun <T> JsonModel?.nullableJsonArrayProperty(key: String? = null, default: JsonArrayDefaultSelector<T?> = ::jsonArrayDefaultSelector, converter: JsonElementConverter<T?>): JsonArrayProperty<T?>
nullableJsonElement
Link copied to clipboard
common
fun JsonModel?.nullableJsonElement(key: String? = null, default: JsonObjectDefaultSelector<JsonElement?>): JsonDelegateProperty<JsonElement?>
fun JsonModel?.nullableJsonElement(key: String? = null, default: JsonElement?): JsonDelegateProperty<JsonElement?>
fun JsonModel?.nullableJsonElement(key: String): JsonDelegateProperty<JsonElement?>
nullableJsonElementList
Link copied to clipboard
common
fun JsonModel?.nullableJsonElementList(key: String? = null, default: JsonArrayDefaultSelector<JsonElement?>): JsonDelegateProperty<List<JsonElement?>>
fun JsonModel?.nullableJsonElementList(key: String? = null, default: List<JsonElement?>): JsonDelegateProperty<List<JsonElement?>>
nullableJsonObject
Link copied to clipboard
common
val JsonModel?.nullableJsonObject: JsonDelegateProperty<JsonObject?>
fun JsonModel?.nullableJsonObject(key: String? = null, default: JsonObjectDefaultSelector<JsonObject?>): JsonDelegateProperty<JsonObject?>
fun JsonModel?.nullableJsonObject(key: String? = null, default: JsonObject?): JsonDelegateProperty<JsonObject?>
fun JsonModel?.nullableJsonObject(key: String): JsonDelegateProperty<JsonObject?>
nullableJsonObjectList
Link copied to clipboard
common
fun JsonModel?.nullableJsonObjectList(key: String? = null, default: JsonArrayDefaultSelector<JsonObject?>): JsonDelegateProperty<List<JsonObject?>>
fun JsonModel?.nullableJsonObjectList(key: String? = null, default: List<JsonObject?>): JsonDelegateProperty<List<JsonObject?>>
nullableJsonObjectProperty
Link copied to clipboard
common
fun <T> JsonModel?.nullableJsonObjectProperty(key: String? = null, default: JsonObjectDefaultSelector<T?> = ::jsonObjectDefaultSelectorWithNull, converter: JsonElementConverter<T?>): JsonObjectProperty<T?>
nullableJsonPrimitive
Link copied to clipboard
common
val JsonModel?.nullableJsonPrimitive: JsonDelegateProperty<JsonPrimitive?>
fun JsonModel?.nullableJsonPrimitive(key: String? = null, default: JsonObjectDefaultSelector<JsonPrimitive?>): JsonDelegateProperty<JsonPrimitive?>
fun JsonModel?.nullableJsonPrimitive(key: String? = null, default: JsonPrimitive?): JsonDelegateProperty<JsonPrimitive?>
fun JsonModel?.nullableJsonPrimitive(key: String): JsonDelegateProperty<JsonPrimitive?>
nullableJsonPrimitiveList
Link copied to clipboard
common
val JsonModel?.nullableJsonPrimitiveList: JsonDelegateProperty<List<JsonPrimitive?>>
fun JsonModel?.nullableJsonPrimitiveList(key: String? = null, default: JsonArrayDefaultSelector<JsonPrimitive?>): JsonDelegateProperty<List<JsonPrimitive?>>
fun JsonModel?.nullableJsonPrimitiveList(key: String? = null, default: List<JsonPrimitive?>): JsonDelegateProperty<List<JsonPrimitive?>>
fun JsonModel?.nullableJsonPrimitiveList(key: String): JsonDelegateProperty<List<JsonPrimitive?>>
nullableLambda
Link copied to clipboard
common
fun <T> JsonModel?.nullableLambda(key: String? = null, default: JsonObjectDefaultSelector<T?>, converter: JsonElementConverter<T?>): JsonObjectProperty<T?>
fun <T> JsonModel?.nullableLambda(key: String? = null, default: T?, converter: JsonElementConverter<T?>): JsonObjectProperty<T?>
fun <T> JsonModel?.nullableLambda(key: String? = null, converter: JsonElementConverter<T?>): JsonObjectProperty<T?>
nullableLambdaList
Link copied to clipboard
common
fun <T> JsonModel?.nullableLambdaList(key: String? = null, default: JsonArrayDefaultSelector<T?>, converter: JsonElementConverter<T?>): JsonArrayProperty<T?>
fun <T> JsonModel?.nullableLambdaList(key: String? = null, default: List<T?>, converter: JsonElementConverter<T?>): JsonArrayProperty<T?>
fun <T> JsonModel?.nullableLambdaList(key: String? = null, converter: JsonElementConverter<T?>): JsonArrayProperty<T?>
nullableLong
Link copied to clipboard
common
val JsonModel?.nullableLong: JsonDelegateProperty<Long?>
fun JsonModel?.nullableLong(key: String? = null, default: JsonObjectDefaultSelector<Long?>): JsonDelegateProperty<Long?>
fun JsonModel?.nullableLong(key: String? = null, default: Long?): JsonDelegateProperty<Long?>
fun JsonModel?.nullableLong(key: String): JsonDelegateProperty<Long?>
nullableLongList
Link copied to clipboard
common
val JsonModel?.nullableLongList: JsonDelegateProperty<List<Long?>>
fun JsonModel?.nullableLongList(key: String? = null, default: JsonArrayDefaultSelector<Long?>): JsonDelegateProperty<List<Long?>>
fun JsonModel?.nullableLongList(key: String? = null, default: List<Long?>): JsonDelegateProperty<List<Long?>>
fun JsonModel?.nullableLongList(key: String): JsonDelegateProperty<List<Long?>>
nullableModel
Link copied to clipboard
common
fun <T : JsonModel> JsonModel?.nullableModel(key: String? = null, block: (JsonObject) -> T): JsonObjectProperty<T?>
nullableModelList
Link copied to clipboard
common
fun <T : JsonModel> JsonModel?.nullableModelList(key: String? = null, block: (JsonObject) -> T): JsonArrayProperty<T?>
nullableString
Link copied to clipboard
common
val JsonModel?.nullableString: JsonDelegateProperty<String?>
fun JsonModel?.nullableString(key: String? = null, default: JsonObjectDefaultSelector<String?>): JsonDelegateProperty<String?>
fun JsonModel?.nullableString(key: String? = null, default: String?): JsonDelegateProperty<String?>
fun JsonModel?.nullableString(key: String): JsonDelegateProperty<String?>
nullableStringList
Link copied to clipboard
common
val JsonModel?.nullableStringList: JsonDelegateProperty<List<String?>>
fun JsonModel?.nullableStringList(key: String? = null, default: JsonArrayDefaultSelector<String?>): JsonDelegateProperty<List<String?>>
fun JsonModel?.nullableStringList(key: String? = null, default: List<String?>): JsonDelegateProperty<List<String?>>
fun JsonModel?.nullableStringList(key: String): JsonDelegateProperty<List<String?>>
string
Link copied to clipboard
common
val JsonModel.string: JsonDelegateProperty<String>
fun JsonModel.string(key: String? = null, default: JsonObjectDefaultSelector<String>): JsonDelegateProperty<String>
fun JsonModel.string(key: String? = null, default: String): JsonDelegateProperty<String>
fun JsonModel.string(key: String): JsonDelegateProperty<String>
stringList
Link copied to clipboard
common
val JsonModel.stringList: JsonDelegateProperty<List<String>>
fun JsonModel.stringList(key: String? = null, default: JsonArrayDefaultSelector<String>): JsonDelegateProperty<List<String>>
fun JsonModel.stringList(key: String? = null, default: List<String>): JsonDelegateProperty<List<String>>
fun JsonModel.stringList(key: String): JsonDelegateProperty<List<String>>
stringValue
Link copied to clipboard
common
fun JsonModel.stringValue(key: String): String
fun JsonModel.stringValue(key: String, default: String): String
fun JsonModel.stringValue(key: String, default: () -> String): String
stringValueOrNull
Link copied to clipboard
common
fun JsonModel.stringValueOrNull(key: String): String?