title: Qt json parser return parse error
body: <p>I try to parse json string using this method:</p>
  
  <pre><code>QString ourJSONData = QString('{"couchdb":"Welcome","version":"1.0.1"}');
  QString response = QString("[") + QString(ourJSONData) + QString("]");
  
  QScriptEngine engine;
  QScriptValue sc = engine.evaluate(response);
  
  ui-&gt;label-&gt;setText(sc.toString());
  </code></pre>
  
  <p>But label return </p>
  
  <blockquote>
    <p>SyntaxError: Parse error</p>
  </blockquote>
  
  <p>I using Qt 4.7.4</p>
  
  <p>What i do wrong? Thanks.</p>
  
  <p><strong>UPD:</strong></p>
  
  <p>Sorry, problem was in that string:</p>
  
  <blockquote>
    <p>QString ourJSONData = QString('{"couchdb":"Welcome","version":"1.0.1"}');</p>
  </blockquote>
  
  <p>need change to:</p>
  
  <blockquote>
    <p>QString ourJSONData = QString("{\"couchdb\":\"Welcome\",\"version\":\"1.0.1\"}");</p>
  </blockquote>
  
  <p>P.S. this method i found at <a href="http://blog.siegerstein.com/archives/134" rel="nofollow">http://blog.siegerstein.com/archives/134</a></p>