title: How to declare a json string correctly?
body: <p>So I tested two ways of declaring a json string:</p>
  
  <p>1:</p>
  
  <pre><code>json = "{'name': 'ajsie'}";
  obj = JSON.parse(json); // SyntaxError: Unexpected token ILLEGAL
  </code></pre>
  
  <p>2:</p>
  
  <pre><code>json = '{"name": "ajsie"}';
  obj = JSON.parse(json); // Worked!
  </code></pre>
  
  <p>What is the problem with the first one?</p>