Remove document::parse and document::load

This commit is contained in:
John Keiser
2020-03-25 14:43:23 -07:00
parent 5aec2671ea
commit 2e420169c3
11 changed files with 143 additions and 467 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ int main(int argc, char *argv[]) {
}
const char *filename = argv[1];
auto [doc, error] = simdjson::document::load(filename);
simdjson::document::parser parser;
auto [doc, error] = parser.load(filename);
if (error) { std::cerr << "Error parsing " << filename << ": " << error << std::endl; }
std::cout << "[" << std::endl;