JsonEncode Merge Method
Usage | Parameters | Examples | Remarks
The JsonEncode merge method converts the parsed text to JSON-encoded text for use with JSON data value. Encoding the text ensures that characters that are invalid ('"', '\', '/', New line etc) are encoded and made safe.
For example, the double quote character " is encoded as \"
Usage
JsonEncode(TextToEncode) |
Converts the provided text into safe JSON-encoded text |
Parameters
TextToEncode Text
Unencoded text that may include unsafe characters.
Examples
Example 1
Safely place a zone value into an JSON text value field.
In this example, the value of the Comment zone will be correctly encoded
Remarks
None