Skip to main content

Argumentos

string
requerido
Escaped JSON string content, o un complete quoted JSON string literal cuyos first and last bytes son quotes. La function lee este argument con string type checking.

Retornos

string
Decoded string. Supported escapes incluyen ”, \, /, \b, \f, \n, \r, \t y \uXXXX con surrogate-pair handling. Invalid escapes, unescaped control characters, unterminated strings y trailing characters despues de un quoted literal lanzan un Luau error con near-position suffix.

Ejemplo

Decodifica JSON string escapes desde escaped content o un quoted JSON string literal.