Beispiele
Represent 'He said "hello".' as a JSON string
Eingabe
He said "hello".Expected answer
"He said \"hello\"."- Fluchtstufe
Minimal- Fluchtzeichen
Double- JSON-kompatibel
On- ES6 kompatibel
On- Großbuchstaben-Hex
Off
Represent 'C:\\logs\\release.txt' as a JSON string
Eingabe
C:\logs\release.txtExpected answer
"C:\\logs\\release.txt"- Fluchtstufe
Minimal- Fluchtzeichen
Double- JSON-kompatibel
On- ES6 kompatibel
On- Großbuchstaben-Hex
Off
Represent 'line one\nline two' as a JSON string
Eingabe
line one
line twoExpected answer
"line one\nline two"- Fluchtstufe
Minimal- Fluchtzeichen
Double- JSON-kompatibel
On- ES6 kompatibel
On- Großbuchstaben-Hex
Off
Represent 'tab\tseparated' as a JSON string
Eingabe
tab separatedExpected answer
"tab\tseparated"- Fluchtstufe
Minimal- Fluchtzeichen
Double- JSON-kompatibel
On- ES6 kompatibel
On- Großbuchstaben-Hex
Off
Represent "single quote: '" as a JSON string
Eingabe
single quote: 'Expected answer
"single quote: '"- Fluchtstufe
Minimal- Fluchtzeichen
Double- JSON-kompatibel
On- ES6 kompatibel
On- Großbuchstaben-Hex
Off
complex
Eingabe
4ec985786aa10a7515d8be2d.bin
115 bytes
HerunterladenExpected answer
null\0backspace\btab\tnewline\nverticaltab\x0bformfeed\fcarriagereturn\rdoublequote"singlequote\'hex\xa9unicode\u2665codepoint\u{1d306}- Fluchtstufe
Special chars- Fluchtzeichen
Single- JSON-kompatibel
Off- ES6 kompatibel
On- Großbuchstaben-Hex
Off
double quotes
Eingabe
Hello "World"!Expected answer
Hello \"World\"!- Fluchtstufe
Special chars- Fluchtzeichen
Double- JSON-kompatibel
Off- ES6 kompatibel
On- Großbuchstaben-Hex
Off
single quotes
Eingabe
Escape 'these' quotes.Expected answer
Escape \'these\' quotes.- Fluchtstufe
Special chars- Fluchtzeichen
Single- JSON-kompatibel
Off- ES6 kompatibel
On- Großbuchstaben-Hex
Off
special characters
Eingabe
1203ab8e4358d1fe9949e85d.bin
100 bytes
HerunterladenExpected answer
Fizz & buzz\n\ttabbed newline\rcarriage returned line\nbackspace character: \"\b\" form feed character: \"\f\"- Fluchtstufe
Special chars- Fluchtzeichen
Double- JSON-kompatibel
Off- ES6 kompatibel
On- Großbuchstaben-Hex
Off
Parameter
| Parameter | Standardwert | Eingabe und Auswahl |
|---|---|---|
| Fluchtstufe | Sonderzeichen | Sonderzeichen, Alles, Minimal |
| Fluchtzeichen | Einzel | Einzel, Doppel, Backtick |
| JSON-kompatibel | false | Ein oder aus |
| ES6 kompatibel | true | Ein oder aus |
| Großbuchstaben-Hex | false | Ein oder aus |