util.JSON methods

Methods for the util.JSON class.

Table 1. Class methods
Name Description
util.JSON.parse(
   source STRING,
   destination RECORD )
Parses a JSON string and fills program variables with the values.
util.JSON.format(
   source STRING )
  RETURNING result STRING
Formats JSON string with indentation.
util.JSON.stringify(
   source RECORD )
  RETURNING result STRING
Transforms a record variable to a flat JSON formatted string.
util.JSON.proposeType(
   source STRING )
  RETURNING result STRING
Describes the record structure that can hold a given JSON data string.