Parses a JSON string and returns the resulting JavaScript object.
Wraps JSON.parse with support for an optional reviver function.
The JSON string to parse
Optionalreviver: ((this: any, key: string, value: any) => any)A function that transforms the results, called for each key-value pair
The JavaScript value parsed from the JSON string
Converts a JavaScript object or value to a JSON string.
Wraps JSON.stringify with support for optional replacer
and space parameters for pretty-printing.
The value to convert to a JSON string
Optionalreplacer: ((this: any, key: string, value: any) => any)A function that alters the behavior of the stringification process, or an array of strings and numbers to filter properties
Optionalspace: string | numberA string or number used to insert whitespace for readability
The JSON string representation of the value
Provides JSON serialization and deserialization functions for use in HotMesh mapping rules. Although inspired by JavaScript, they have been adapted to follow a functional approach. Each transformation is a function that expects one or more input parameters from the prior row in the
@pipestructure.Remarks
Invoked in mapping rules using
{@json.<method>}syntax.