Description
For control point 0-31, choose the named backspace, tab, newline, form-feed, or carriage-return escape when available; otherwise use a four-digit Unicode escape.
A JSON lexeme is its textual spelling, which differs from the decoded value. Escapes, quotes, raw control characters, and surrounding whitespace must be interpreted in context.
For control point 0-31, choose the named backspace, tab, newline, form-feed, or carriage-return escape when available; otherwise use a four-digit Unicode escape.
When to use this tool
Use JSON String Control Escape Selector when you need a narrowly defined JSON string or separator diagnostic.
How to use the tool and how it works
- Enter point. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read escape. Use the output convention below.
For control point 0-31, choose the named backspace, tab, newline, form-feed, or carriage-return escape when available; otherwise use a four-digit Unicode escape.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| point | Point | Required. Safe integer; minimum 0; maximum 31. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| escape | Escape | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"point": 10
},
"output": {
"escape": "\\n"
}
} Limitations and assumptions
- This returns an escape spelling without surrounding quotes and does not escape an arbitrary string.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Parse the entire document when validity matters; a local pattern match cannot establish complete JSON syntax.
References
Similar or alternative tools
- JSON String Utf16 Codeunit Escape
Format codeUnit in 0-65535 as a lowercase four-digit JSON Unicode escape.
- JSON String Unescaped Del Range Check
Validate a Unicode scalar and allow it unescaped only when at least 32 and neither quotation mark nor backslash.