title: qt json encode associative array and objects
body: <p>After searching found nothing suitable,
  I need to encode string to json like json_encode in php, but in Qt. Does Qt support json encoding? Or should I use third-party library?
  I need to encode something like:</p>
  
  <pre><code>array(
      'SourceLanguage' =&gt; 'autodetect',
      'Source' =&gt; array(
                      'Extension' =&gt; '.pdf',
                      'Content' =&gt; 'somecontent'
                  ),
                  'ProcessingTimeout' =&gt; 1000,
                  'UserDomainModelName' =&gt; ''
  );
  </code></pre>
  
  <p>PS: Something like JsonObject, JsonArray, JsonValue I found but their documentation with no examples killing me, please help</p>