Package renetik.android.json.obj

Types

Link copied to clipboard
open class CSJsonObject : CSJsonObjectInterface
Link copied to clipboard
interface CSJsonObjectInterface : Iterable<Map.Entry<String, Any?>>

Functions

Link copied to clipboard
fun <T : CSJsonObject> T.clone(): T
Link copied to clipboard
fun CSJsonObject(data: String): CSJsonObject
Link copied to clipboard
fun CSJsonObjectInterface.getArray(key: String): Array<*>?
Link copied to clipboard
fun CSJsonObjectInterface.getBooleanMap(key: String): Map<String, Boolean?>?
fun CSJsonObjectInterface.getBooleanMap(key: String, default: Boolean): Map<String, Boolean>?
Link copied to clipboard
fun CSJsonObjectInterface.getDoubleList(key: String): List<Double?>?
fun CSJsonObjectInterface.getDoubleList(key: String, default: Double): List<Double>?
Link copied to clipboard
fun CSJsonObjectInterface.getFloatList(key: String): List<Float?>?
Link copied to clipboard
fun CSJsonObjectInterface.getFloatMap(key: String): Map<String, Float?>?
Link copied to clipboard
fun CSJsonObjectInterface.getIntList(key: String): List<Int?>?
Link copied to clipboard
fun CSJsonObjectInterface.getIntMap(key: String): Map<String, Int?>?
Link copied to clipboard
fun <T : CSJsonObject> CSJsonObjectInterface.getJsonListList(key: String, type: KClass<T>): MutableList<List<T>>?
Link copied to clipboard
inline fun <T : CSJsonObject> CSJsonObjectInterface.getJsonObject(key: String): T?
Link copied to clipboard
inline fun <T : CSJsonObject> CSJsonObjectInterface.getJsonObjectList(key: String): List<T>?
Link copied to clipboard
fun CSJsonObject.getObject(key: String): Unit?
Link copied to clipboard
fun CSJsonObjectInterface.getStringList(key: String): List<String>?
Link copied to clipboard
fun CSJsonObjectInterface.getStringMap(key: String): Map<String, String>?
Link copied to clipboard
fun <T> CSJsonObjectInterface.getValue(key: String, values: Iterable<T>): T?
Link copied to clipboard
fun <T : CSJsonObject> T.load(file: File): T
fun <T : CSJsonObject> T.load(json: String): T
Link copied to clipboard
fun <T : CSJsonObject> T.loadAsset(file: String): T
Link copied to clipboard
fun CSJsonObject.toJsonObject(): JSONObject