mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Compile with -fno-exceptions
This commit is contained in:
@@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
|
||||
std::cout << "[" << std::endl;
|
||||
for (int idx = 2; idx < argc; idx++) {
|
||||
const char *jsonpath = argv[idx];
|
||||
simdjson::ParsedJson::Iterator it(pj);
|
||||
simdjson::ParsedJson::Iterator it(pj.doc);
|
||||
if (it.move_to(std::string(jsonpath))) {
|
||||
std::cout << "{\"jsonpath\": \"" << jsonpath << "\"," << std::endl;
|
||||
std::cout << "\"value\":";
|
||||
|
||||
Reference in New Issue
Block a user