title: Quoting in jQuery.parseJSON
body: <p>Via AJAX I recieve encoded json string (json_encode) from php script:</p>
  
  <pre><code>response = "{"type":"ok","mess":"File successfuly uploaded"}"
  </code></pre>
  
  <p>and when I'm trying to parse this string <code>jQuery.parseJSON(response);</code> js-script fails coz of double quotes at start and in the end.</p>
  
  <p>works fine:</p>
  
  <pre><code>jQuery.parseJSON('{"type":"ok","mess":"File successfuly uploaded"}');
  </code></pre>
  
  <p>how to solve this problem?</p>
  
  <p>I always recieve Syntax error: "unexpected_token"</p>
  
  <p>SOLVED: reason was incorrect file encoding. UTF-8 is ok</p>