• Philipp A. Hartmann's avatar
    GenericDocument::ParseStream: make SourceEncoding optional · 7fb82c25
    Philipp A. Hartmann authored
    The ParseStream() function current requires explicitly passing
    the SourceEncoding parameter as explicit template argument
    while the other Parse*() functions provide overloads to omit
    this parameter and use the document's own encoding by default.
    
    This patch adds the corresponding overload for ParseStream(),
    enabling the simple usage again:
    
      rapidjson::FileStream is(fp);
      rapidjson::Document   d;
      d.ParseStream<0>(is);
    7fb82c25
Name
Last commit
Last update
bin Loading commit data...
build Loading commit data...
example Loading commit data...
include/rapidjson Loading commit data...
test Loading commit data...
thirdparty Loading commit data...
license.txt Loading commit data...
readme.txt Loading commit data...