title: How to differentiate between key and value while parsing JSON string using rapidjson?
body: <p>I'm parsing a JSON string using "rapidjson". 
  I'm studying following example of SAX type parsing of json object.</p>
  
  <p><a href="https://github.com/miloyip/rapidjson/blob/75cee948d44876f22f7215b9bd64733c3d7fee51/example/simplereader/simplereader.cpp" rel="nofollow">https://github.com/miloyip/rapidjson/blob/75cee948d44876f22f7215b9bd64733c3d7fee51/example/simplereader/simplereader.cpp</a> </p>
  
  <p>In this SAX type parsing rapidjson calls the event handler for each data type as received whiling parsing.(as documents at (<a href="https://github.com/miloyip/rapidjson/blob/2e0b3de8d68758b2866fff5f047c893b8a1c4290/doc/sax.md" rel="nofollow">https://github.com/miloyip/rapidjson/blob/2e0b3de8d68758b2866fff5f047c893b8a1c4290/doc/sax.md</a>)</p>
  
  <p>How I can differentiate that given element is key and value corresponding to that key?</p>