The EscapeJson function replaces invalid JSON characters (backspace, form feed, newline, carriage return, tab, double quote, and backslash) in a string with their valid equivalent.
Syntax
|
The EscapeJson function replaces invalid JSON characters (backspace, form feed, newline, carriage return, tab, double quote, and backslash) in a string with their valid equivalent. |
|
EscapeJson(string) |
|
Arguments: |
|
|
string |
String - The string to convert. |
Remarks
- Example: EscapeJson("Be careful when using a backslash(\) or a quote(").") returns "Be careful when using a backslash(\\) or a quote(\").".
Comments
0 comments
Article is closed for comments.