util.JSON methods

Methods for the util.JSON class.

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