On Dec 11, 2013, at 5:27 AM, Robert Newson <[email protected]> wrote:
> forward slash is a > Unicode-character-except-"-or-\-or-control-character. The picture does > show that you *can* escape a forward slash with \/ but the 'any' track > allows an unescaped forward slash. +1. The only printing characters that _have_ to be escaped in JSON strings are double-quotes and backslashes. IIRC, escaping slashes is a thing to prevent JavaScript code inside an HTML <script> element from possibly being misinterpreted as a closing HTML tag. It serves no purpose if the string is not going to be placed inside HTML, and it’s got nothing to do with JSON. —Jens
