in reply to Re: Escaping quotes in JSON string
in thread Escaping quotes in JSON string

You will have to write a parser for your not-JSON instead of trying to make JSON modules accept your not-JSON.

I would look at the source of JSON::Tiny, which should work with the little change of escaping ' and ", by doubling them instead of putting a backslash in front of them.