title: Rapidjson Document
body: <p>I am trying to create a json document using rapidjson but I don't know how I can replicate part of the following document, in particular the nested object starting with "allocations", for the others elements I do </p>
  
  <pre><code>Value valObjectString(kStringType);
  valObjectString.SetString("string");
  doc.AddMember("string", valObjectString, doc.GetAllocator());
  </code></pre>
  
  <p>But what about "allocation" and "url" ?</p>
  
  <pre><code>{
    "string1": "string",
    "string2": "string",
    "string3": "string",
    "string4": "string",
    "string5": "string",
    "allocations": [
      {
        "allocation": "string",
        "url": "string"
      }
    ]
  }
  </code></pre>