Unescjson

This function restores a JSON character string to its original state. It removes back slash () characters that the Escjson function would have put in place to enable getting incompatible characters in a JSON constant (", \, tab, or CR).

Syntax

 DEST_STRING=unescjson(SOURCE_STRING)

Examples

Local Char JSONCONSTANT(100), MYCONSTANT(100)JSONCONSTANT='This is an \\"example\\" with back\\\\slashes'MYCONSTANT=unescjson(JSONCONSTANT) : # Now JSONCONSTANT contains 'This is an "example" with back\slashes'

See also

escjson