in reply to Escaping quotes in JSON string
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 Section
Seekers of Perl Wisdom