title: JSON Object With or Without Quotes
body: <p>I am trying to learn JSON, i learned that any javascript object with the key in double quotes are considered as JSON object.</p>
  
  <p>And i constructed this object </p>
  
  <pre><code>var jstr1 = {"mykey": "my value"};
  </code></pre>
  
  <p>But when i try to parse using JSON.parse(jstr1), i got the following error. see the screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/m7NAW.png" alt="enter image description here"></p>
  
  <p>But when i try to parse this     </p>
  
  <pre><code>var jstr = '{"mykey": "my value"}';,
  </code></pre>
  
  <p>i got the success, see the screenshot. i got confused with this. Please explain me why this happens. what is the difference between the two forms.</p>
  
  <p>And when i got JSON as a response from any services, how it would look like, whether it will be in form of <code>jstr</code> or <code>jstr1</code></p>
  
  <p>thanks in advance for any help.</p>