Is the presence of a \' within double quotes "invalid" in the context of a JSON response? Is there a definitive JSON spec that could give me an answer?
+3
A:
Check out http://www.json.org/ and scroll down to the "String" diagram.
You can see there how the \ is a "control" character. If you want a literal backslash within your JSON, you'll need to escape it: "\\"
is a valid JSON string, for example.
Josiah
2010-07-13 04:17:13