Normal way to get string value from a json object would be :
well, sometimes this way does not fit. When you don’t know for sure that your service you are requesting is always stable. It may not return some keys for you, and oops you got
JSONException No value for “missing key”
Here we may need help from other options.
optString(KEY) AND optString(KEY, Fallback_value)