Skip to main content

Argumentos

string
requerido
String que se va a escape. La function lee este argument con string type checking.

Retornos

string
Escaped JSON string content sin opening ni closing quote. Quotes, backslashes, common control characters y bytes below 0x20 se escapan.

Ejemplo

Escape un string para el interior de un JSON string sin agregar surrounding quotes.