title: Looping over an array in RapidJson and getting the object elements
body: <p>How do I get the value out of a ConstrValueIterator? In this case I know that the elements of the array are dictionaries (aka objects).</p>
  
  <p>Code summed up:</p>
  
  <pre><code>for (rapidjson::Value::ConstValueIterator itr = rawbuttons.Begin(); itr != rawbuttons.End(); ++itr) { // Ok
      if (itr-&gt;HasMember("yes")) { // Ok
          auto somestring = itr["yes"]-&gt;GetString(); // error
      }
  }
  </code></pre>