util.JSONObject.create

Creates a new JSON object.

Syntax

util.JSONObject.create()
  RETURNING object util.JSONObject

Usage

The util.JSONObject.create() method create a new JSON object.

The new created object must be assigned to a program variable defined with the util.JSONObject type.

Example

IMPORT util
MAIN
    DEFINE obj util.JSONObject
    LET obj = util.JSONObject.create()
    ...
END MAIN