util.JSON methods

Methods for the util.JSON class.

Table 1. Class methods
Name Description
util.JSON.format(
   s STRING )
  RETURNS STRING
Formats a JSON string with indentation.
util.JSON.parse(
     s STRING,
     variableRef any-type
   )
Parses a JSON string and fills program variables with the values.
util.JSON.proposeType(
   s STRING )
  RETURNS STRING
Describes the record structure that can hold a given JSON data string.
util.JSON.stringify(
     value any-type
   )
  RETURNS STRING
Transforms a record variable to a flat JSON formatted string, by including empty records and empty arrays.
util.JSON.stringifyOmitNulls(
     value any-type
  )
  RETURNS STRING
Transforms a record variable to a flat JSON formatted string, by excluding empty records and empty arrays.