util.JSONArray.create()

 

util.JSONArray.create() creates a new JSON array.

 

Syntax:

 

util.JSONArray.create()

 

Usage and examples:

 

An array newly created by util.JSONArray.create() must be assigned to a variable of the util.JSONArray data type.

 

example code

(creating the array)

MAIN

  DEFINE json_arr util.JSONArray

    LET json_arr = util.JSONArray.create()

    ...

  CALL fgl_getkey()

END MAIN