| The util.JSONObject class / util.JSONObject methods | |
Removes the specified element in the JSON object.
util.JSONObject.remove( name STRING )
The remove() method deletes a name-value pair identified by the name passed as parameter.
IMPORT util
MAIN
DEFINE obj util.JSONObject
LET obj = util.JSONObject.create()
CALL obj.put("address", "5 Brando Street")
CALL obj.remove("address")
DISPLAY obj.get("address")
END MAIN