title: Rapidjson parse another json if first one has errors
body: <p>Say I have a JSON string and it has an error and thus can not be parsed. Then I want to parse another JSON string, which will replace the original one. I want to do that using the same <code>rapidjson::Document</code> as eventually I need to have parsed the valid JSON in that document. </p>
  
  <p>So:</p>
  
  <pre><code>rapidjson::Document document;
  if (document.Parse&lt;0&gt;("{ \"hello\" : \"wor........ ").HasParseError())
  {
      // How to parse the correct json "{ \"hello\" : \"world\" }" here
      // using the same `Document` ?
  }
  </code></pre>
  
  <p>Should I just write</p>
  
  <pre><code>if (document.Parse&lt;0&gt;("{ \"hello\" : \"wor........ ").HasParseError())
  {
     document.Parse&lt;0&gt;("{ \"hello\" : \"world\" }"); 
  }
  </code></pre>