Commit a56a0517 authored by Milo Yip's avatar Milo Yip

Merge pull request #13 from pah/fixes/107

GenericDocument::ParseStream: make SourceEncoding optional
parents 87770399 7fb82c25
......@@ -734,6 +734,11 @@ public:
return *this;
}
template <unsigned parseFlags, typename InputStream>
GenericDocument& ParseStream(InputStream& is) {
return ParseStream<parseFlags,Encoding,InputStream>(is);
}
//! Parse JSON text from a mutable string.
/*! \tparam parseFlags Combination of ParseFlag.
\param str Mutable zero-terminated string to be parsed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment