The JSONObject class / util.JSONObject methods |
Checks if the JSON object contains a specific entry name.
util.JSONObject.has( name STRING ) RETURNING result BOOLEAN
The has() method determines if the JSON object holds a property identified by the name passed as parameter.
The method returns TRUE if the name/value pair exists in the JSON object.
A name/value pair can be set with the put() method.