Skip to main content

引数

string
必須
Escaped JSON string content、または first and last bytes が quotes の complete quoted JSON string literal。function はこの argument を string type checking で読みます。

戻り値

string
Decoded string。Supported escapes は ”、\、/、\b、\f、\n、\r、\t、surrogate-pair handling 付きの \uXXXX です。Invalid escapes、unescaped control characters、unterminated strings、quoted literal 後の trailing characters は near-position suffix 付きの Luau error を投げます。

例

escaped content または quoted JSON string literal から JSON string escapes をデコードします。