Open GoogleCodeExporter opened 8 years ago
"print Value using FastWriter or StyledWriter (or Value.toStyledString)"
sorry, i mismatched libraries
Here is the code:
rapidjson::Document doc;
doc.SetObject();
rapidjson::Value value2(3.5) ;
doc.AddMember("myFloat", value2, doc.GetAllocator()) ;
rapidjson::StringBuffer strbuf;
rapidjson::Writer<rapidjson::StringBuffer> writer(strbuf);
doc.Accept(writer);
LOG_DEBUG("output : " << strbuf.GetString()) ;
Original comment by drkm...@gmail.com
on 3 Jul 2013 at 10:09
Original comment by milo...@gmail.com
on 30 Jun 2014 at 4:54
https://github.com/miloyip/rapidjson/issues/72
Original comment by milo...@gmail.com
on 13 Jul 2014 at 5:07
Original issue reported on code.google.com by
drkm...@gmail.com
on 3 Jul 2013 at 9:35