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