JSON String Escaper and Decoder
Prepare text for a JSON string or decode a complete quoted JSON string. The escaper handles quotation marks, backslashes, tabs, line breaks, control characters, and Unicode text.
What the escaper produces
The escaped result is a complete valid JSON string, including the surrounding quotation marks. Decoding requires a valid quoted JSON string such as "Line one\nLine two".