Ejemplos
Represent 'He said "hello".' as a JSON string
Entrada
He said "hello".Expected answer
"He said \"hello\"."- Nivel de escape
Minimal- Cita de escape
Double- Compatible con JSON
On- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
Represent 'C:\\logs\\release.txt' as a JSON string
Entrada
C:\logs\release.txtExpected answer
"C:\\logs\\release.txt"- Nivel de escape
Minimal- Cita de escape
Double- Compatible con JSON
On- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
Represent 'line one\nline two' as a JSON string
Entrada
line one
line twoExpected answer
"line one\nline two"- Nivel de escape
Minimal- Cita de escape
Double- Compatible con JSON
On- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
Represent 'tab\tseparated' as a JSON string
Entrada
tab separatedExpected answer
"tab\tseparated"- Nivel de escape
Minimal- Cita de escape
Double- Compatible con JSON
On- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
Represent "single quote: '" as a JSON string
Entrada
single quote: 'Expected answer
"single quote: '"- Nivel de escape
Minimal- Cita de escape
Double- Compatible con JSON
On- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
complex
Entrada
4ec985786aa10a7515d8be2d.bin
115 bytes
DescargarExpected answer
null\0backspace\btab\tnewline\nverticaltab\x0bformfeed\fcarriagereturn\rdoublequote"singlequote\'hex\xa9unicode\u2665codepoint\u{1d306}- Nivel de escape
Special chars- Cita de escape
Single- Compatible con JSON
Off- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
double quotes
Entrada
Hello "World"!Expected answer
Hello \"World\"!- Nivel de escape
Special chars- Cita de escape
Double- Compatible con JSON
Off- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
single quotes
Entrada
Escape 'these' quotes.Expected answer
Escape \'these\' quotes.- Nivel de escape
Special chars- Cita de escape
Single- Compatible con JSON
Off- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
special characters
Entrada
1203ab8e4358d1fe9949e85d.bin
100 bytes
DescargarExpected answer
Fizz & buzz\n\ttabbed newline\rcarriage returned line\nbackspace character: \"\b\" form feed character: \"\f\"- Nivel de escape
Special chars- Cita de escape
Double- Compatible con JSON
Off- Compatible con ES6
On- Hexadecimal en mayúsculas
Off
Parámetros
| Parámetro | Valor predeterminado | Entrada y opciones |
|---|---|---|
| Nivel de escape | Caracteres especiales | Caracteres especiales, Todo, Mínimo |
| Cita de escape | Soltero | Soltero, Doble, Acento grave |
| Compatible con JSON | false | Activado o desactivado |
| Compatible con ES6 | true | Activado o desactivado |
| Hexadecimal en mayúsculas | false | Activado o desactivado |