MCPcopy Create free account
hub / github.com/apache/arrow / CheckJsonValid

Function CheckJsonValid

cpp/src/parquet/reader_test.cc:1444–1451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1442namespace {
1443
1444::arrow::Status CheckJsonValid(std::string_view json_string) {
1445 simdjson::ondemand::parser parser;
1446 auto padded_json = simdjson::padded_string(json_string);
1447
1448 RETURN_NOT_OK(::arrow::internal::ValidateJsonDocument(parser, padded_json));
1449
1450 return ::arrow::Status::OK();
1451}
1452
1453} // namespace
1454

Callers 2

TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected