title: json parse error with double quotes
body: <p>A double quote even if escaped is throwing parse error.<br>
  look at the code below</p>
  
  <pre><code>//parse the json in javascript  
  var testJson = '{"result": ["lunch", "\"Show\""] }';  
  var tags = JSON.parse(testJson);  
  alert (tags.result[1]);
  </code></pre>
  
  <p>This is throwing parse error because of the double quotes (which are already escaped).<br>
  Even <code>eval()</code> won't work here.<br>
  But if i escape it with double slashes like this:</p>
  
  <pre><code>var result = '{"result": ["lunch", "\\"Show\\""] }';  
  var tags = JSON.parse(result);  
  alert (tags.result[1]);
  </code></pre>
  
  <p>then it works fine.<br>
  Why do we need to use double slash here in javascript?
  The problem is that PHP <code>json_encode()</code> function escapes a double quote with a single slash (like this: <code>\"show\"</code>) which <code>JSON.parse</code> won't be able to parse. How do i handle this situation?</p>