mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Include document_stream line in parse_many docs
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user