JSON string containing escaped single quote flagged as invalid JSON string containing escaped single quote flagged as invalid json json

JSON string containing escaped single quote flagged as invalid


You don't need to escape a ' with a backslash. Just escape the ".


The issue is the escaping of the single-quote marks, which is unnecessary in JSON, since only double quotes are used.