Uncaught SyntaxError: Unexpected token ' in JSON
how to convert this string to object in javascript?
JSON.parse( "[{'dia': '1', 'valor': '0,00'}, {'dia': '2', 'valor': '0,00'}, {'dia': '3', 'valor': '0,00'}]" );
VM85380:1 Uncaught SyntaxError: Unexpected token ' in JSON at position 0 at JSON.parse ()