title: JSON parse double quotes in string literal
body: <p>I am having problem parsing quotes in string literal.</p>
  
  <pre><code>var lit = '{"foo":"test \"1\"","bar":"test 2"}';
  </code></pre>
  
  <p>In console, this gives an error 'Uncaught exception'.
  I am expecting: </p>
  
  <pre><code>Object {foo: "test "1"", bar: "test 2"}
  </code></pre>
  
  <p>Here is my fiddle <a href="https://jsfiddle.net/bruceradtke/kor8amm5/4/" rel="nofollow">https://jsfiddle.net/bruceradtke/kor8amm5/4/</a></p>
  
  <p>It works ok if I assign stringify result to variable and then 
  parse that variable.  But not if I use string literal as above.</p>
  
  <p>Thanks.</p>
  
  <p>My code:</p>
  
  <pre><code>var myobject = {};
  myobject.foo = "test \"1\"";
  myobject.bar = "test 2";
  
  var sresult = JSON.stringify(myobject);
  console.log('stringify=' + sresult);
  // OK
  var thaw = JSON.parse(sresult);
  console.log( thaw);
  
  var lit = '{"foo":"test \"1\"","bar":"test 2"}';
  console.log(lit);
  // Broken
  var thaw2 = JSON.parse(lit);
  </code></pre>