title: Getting raw string (or bytes) for a double value in rapidjson parsing?
body: <p>Is there a way to get underlying bytes for a double value while parsing json using rapidjson.</p>
  
  <p>Look at below code:</p>
  
  <pre><code>string temp_json2 = "{\"byte_size\":1000.3}";
  rapidjson::Document doc;
  doc.Parse&lt;0&gt;(temp_json2.c_str());
  
  rapidjson::Value::ConstMemberIterator iter = doc.MemberBegin();
  
  const rapidjson::Value&amp; key = iter-&gt;name;
  std::cout &lt;&lt; key.GetString() &lt;&lt; " = "; 
  
  const rapidjson::Value&amp; val = iter-&gt;value;
  std::cout &lt;&lt; val.GetDouble();
  </code></pre>
  
  <p>I want to get something like </p>
  
  <p>val.GetRawString(); instead of val.GetDouble();</p>
  
  <p>Reason I need this is that I don't want any precision to be lost during conversion. Note that I don't have a choice to modifying json to put quotes around double value.</p>