RichUtils / pyxis.uzuki.live.richutilskt.utils / org.json.JSONArray / getJSONString

getJSONString

@JvmOverloads fun JSONArray.getJSONString(index: Int, def: String = ""): String

get String from JSONArray

Parameters

index - index of key

def - optional, if key is not presented or some unexpected problem happened, it will be return

Return
String object