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

getJSONString

@JvmOverloads fun JSONObject.getJSONString(name: String, def: String = ""): String

get String from JSONObject

Parameters

name - name of key

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

Return
String object