Desescapar cadena JSON
json-string-unescapeInterpreta el cuerpo de un literal de cadena JSON y devuelve el texto. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: escapar texto como literal de cadena JSON (json-string-escape). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Parses the body of a JSON string literal (with or without quotes) and returns the raw text. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: escaping text as the body of a JSON string literal (json-string-escape). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| escaped | Yes | Escaped JSON string body (string; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No |