javascript - Interpreting escaped chars in JSON -
in json format, escaped chars interpreted special chars (e.g. '\t', '\n'), others - e.g. '\/'? ignored , operated non-escaped?
if escape character isn't part of special escape sequence, returns character after backslash.
this explained in syntax in section 7.8.4 of ecma-262:
the cv of characterescapesequence :: nonescapecharacter cv of nonescapecharacter.
Comments
Post a Comment