Include document_stream line in parse_many docs

This commit is contained in:
John Keiser 2020-06-23 08:49:47 -07:00
parent 1b1a122b1f
commit 12ccdcf858
1 changed files with 2 additions and 1 deletions

View File

@ -489,7 +489,8 @@ Here is a simple example, given "x.json" with this content:
```c++
dom::parser parser;
for (dom::element doc : parser.load_many(filename)) {
dom::document_stream docs = parser.load_many(filename);
for (dom::element doc : docs) {
cout << doc["foo"] << endl;
}
// Prints 1 2 3