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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With