I have a string
str = \"{\'a\':1}\"; JSON.parse(str); VM514:1 Uncaught SyntaxError: Unexpected token \'(…)
How can I parse the above stri
I know it's an old post, but you can use JSON5 for this purpose.