util.JSONObject.toString
Builds a JSON string from the values contained in the JSON object.
Syntax
util.JSONObject.toString()
RETURNS STRING
Usage
The toString()
method
produces a JSON formatted string from the name-value pairs contained
in the JSON object.
Example
IMPORT util
MAIN
DEFINE obj util.JSONObject
LET obj = util.JSONObject.create()
CALL obj.put("num", "75263")
CALL obj.put("name", "Ferguson")
CALL obj.put("address", "12 Marylon Street")
DISPLAY obj.toString()
END MAIN