Strips the escape characters of a JSON string representation to its String format.
SppJsonUnEscape([JSON String])
Where:
JSON String is the escaped JSON string.
The function escapes the following characters:
Rule | Result | Meaning |
---|---|---|
SppJsonUnEscape(DWVariableEscapedJSON) | "[ { colors: ""red and green"", }, { colors: ""blue and yellow"", } ]" | Will strip the JSON string representation of all escaping characters. |
The value held in the variable DWVariableEscapedJSON would look like the example below:
"[\n\t{\n\t\tcolors: \"red\tand\tgreen\",\n\t},\n\t{\n\t\tcolors: \"blue\tand\tyellow\",\n\t}\n]"
See also: