util.JSONArray.clear() removes JSON array elements and sets JSON array length to 0.
Syntax
CALL util.JSONArray.clear()
Usage and examples
MAIN
DEFINE j util.JSONArray
LET j = util.JSONarray.parse('["Ford", "BMW", "Fiat"]')
DISPLAY j.GetSize()
CALL j.Clear()
DISPLAY j.GetSize()
END MAIN