예제
Represent 'He said "hello".' as a JSON string
입력
He said "hello".Expected answer
"He said \"hello\"."- 탈출 수준
Minimal- 탈출 문자
Double- JSON 호환
On- ES6 호환
On- 대문자 16진수
Off
Represent 'C:\\logs\\release.txt' as a JSON string
입력
C:\logs\release.txtExpected answer
"C:\\logs\\release.txt"- 탈출 수준
Minimal- 탈출 문자
Double- JSON 호환
On- ES6 호환
On- 대문자 16진수
Off
Represent 'line one\nline two' as a JSON string
입력
line one
line twoExpected answer
"line one\nline two"- 탈출 수준
Minimal- 탈출 문자
Double- JSON 호환
On- ES6 호환
On- 대문자 16진수
Off
Represent 'tab\tseparated' as a JSON string
입력
tab separatedExpected answer
"tab\tseparated"- 탈출 수준
Minimal- 탈출 문자
Double- JSON 호환
On- ES6 호환
On- 대문자 16진수
Off
Represent "single quote: '" as a JSON string
입력
single quote: 'Expected answer
"single quote: '"- 탈출 수준
Minimal- 탈출 문자
Double- JSON 호환
On- ES6 호환
On- 대문자 16진수
Off
complex
입력
4ec985786aa10a7515d8be2d.bin
115 bytes
다운로드Expected answer
null\0backspace\btab\tnewline\nverticaltab\x0bformfeed\fcarriagereturn\rdoublequote"singlequote\'hex\xa9unicode\u2665codepoint\u{1d306}- 탈출 수준
Special chars- 탈출 문자
Single- JSON 호환
Off- ES6 호환
On- 대문자 16진수
Off
double quotes
입력
Hello "World"!Expected answer
Hello \"World\"!- 탈출 수준
Special chars- 탈출 문자
Double- JSON 호환
Off- ES6 호환
On- 대문자 16진수
Off
single quotes
입력
Escape 'these' quotes.Expected answer
Escape \'these\' quotes.- 탈출 수준
Special chars- 탈출 문자
Single- JSON 호환
Off- ES6 호환
On- 대문자 16진수
Off
special characters
입력
1203ab8e4358d1fe9949e85d.bin
100 bytes
다운로드Expected answer
Fizz & buzz\n\ttabbed newline\rcarriage returned line\nbackspace character: \"\b\" form feed character: \"\f\"- 탈출 수준
Special chars- 탈출 문자
Double- JSON 호환
Off- ES6 호환
On- 대문자 16진수
Off
매개변수
| 매개변수 | 기본값 | 입력 및 선택 항목 |
|---|---|---|
| 탈출 수준 | 특수 문자 | 특수 문자, 모든 것, 최소 |
| 탈출 문자 | 단일 | 단일, 더블, 백틱 |
| JSON 호환 | false | 켜짐 또는 꺼짐 |
| ES6 호환 | true | 켜짐 또는 꺼짐 |
| 대문자 16진수 | false | 켜짐 또는 꺼짐 |