JsonEscape Functoid
Description: The JsonEscape Functoid performs a character escape where needed by putting a backslash (\) in front of it. A character preceded by a backslash (\) is an escape sequence and has special meaning to the code compiler. The following table shows the Java (and json) escape sequences:
- Param
- Literal Text entered manually
- Output of another Functoid
- Value of a Table
- Unicode
- Literal Text entered manually (Must be 1 or 0)
- Output of another Functoid (Must be 1 or 0)
- Value of a Table (Must be 1 or 0)
Figure 1: The JsonEscape Functoid
Example:- Param
- "This is a "real" string"
- "C:\Windows\"
- Unicode
- 1
- Output
- \"This is a \"real\" string\"
- \"C:\\Windows\\\"
Figure 2
Comments
0 comments
Article is closed for comments.