title: Weird error on trying to parse an stringed array with JSON
body: <p>I'm storing some information in Base64 encoded python lists, then decode them in javascript. However it does not parse my "list" as an array (the syntax is the same) because it gives me this error:</p>
  
  <blockquote>
    <p>SyntaxError: JSON.parse: unexpected character at line 1 column 2 of
    the JSON data</p>
  </blockquote>
  
  <p>So it turns out, <code>myString = "['foo']"</code> returns this error, but <code>myString = '["foo"]'</code> works just fine. (In firefox at least)</p>
  
  <p>Why does this happen? It makes zero sense, the quotation marks are not the same, so why does it throw an error?</p>
  
  <p>Python always returns the string wrapped in <code>""</code> and the actual contents of the list wrapped in <code>''</code> so there is no way to change that. </p>