json-escaped-to-text
text →
json-escaped-to-text() → text
Returns text by decoding escaped JSON string contents without requiring surrounding quotation marks. Returns null for malformed input and preserves null, empty, and blank inputs.
Parameters
This function has no parameters.
Behavior
Decodes one layer of JSON string escaping, including control-character escapes and valid Unicode escape sequences. The input is fragment content without surrounding JSON quotation marks.
Examples
"He said \\\"hello\\\"" | json-escaped-to-text → "He said \"hello\""
Kind: Function
Scope: text/encoding
Aliases: None