title: Convert QString to QJsonArray
body: <p>I am trying to get an array from a QString.</p>
  
  <p>I got advices online to convert the string to QJsonDocument, however, my array is empty.</p>
  
  <pre><code>QString string = "\"person\":\"{\"name\":\"John\", \"surname\":\"Smith\"}";
  QJsonDocument doc1 = QJsonDocument::fromJson(string.toUtf8());
  
  QJsonArray array = doc1.array();
  </code></pre>
  
  <p>Expected result is to get an array of QJsonValues (a QJsonArray):</p>
  
  <pre><code>array[0] : {"name":"John"},
  array[1] : {"surname":"Smith"}
  </code></pre>