Marketing Cloud SDK / com.salesforce.marketingcloud.extensions / org.json.JSONObject

Extensions for org.json.JSONObject

getStringOrNull

fun JSONObject.getStringOrNull(name: String): String?