non-standard json output

Brian Schott briancschott at gmail.com
Tue Jun 4 14:55:37 PDT 2013


The "char" rule in the json standard can be matched by anything 
that isn't a control character, a double quote, or a backslash. 
I'm pretty sure you're not arguing that the forward slash is a 
double quote or that the forward slash is a backslash, so the 
only option left is that '/' is a control character, and thus 
needs escaping. I'm pretty sure that it's not, because 002f is 
not in the range defined as a control character[1]

[1] http://www.unicode.org/glossary/#control_codes


More information about the Digitalmars-d mailing list