That's not valid json, if you check the spec it says
A string is a sequence of zero or more Unicode characters, wrapped in +double quotes, using backslash escapes.
allow_singlequote is a JSON::PP extension and just not worth using IMHO. The beauty of JSON is that it's simple & well defined, but if you use extensions then you'll break interoperability.
In reply to Re: Escaping quotes in JSON string
by RichardK
in thread Escaping quotes in JSON string
by HeadScratcher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |