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

Function ArrayFromJSON

cpp/src/arrow/testing/gtest_util.cc:381–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381std::shared_ptr<Array> ArrayFromJSON(const std::shared_ptr<DataType>& type,
382 std::string_view json) {
383 EXPECT_OK_AND_ASSIGN(auto out, json::ArrayFromJSONString(type, json));
384 return out;
385}
386
387std::shared_ptr<Array> DictArrayFromJSON(const std::shared_ptr<DataType>& type,
388 std::string_view indices_json,

Callers 15

TEST_FFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TYPED_TESTFunction · 0.85
TestListOfMethod · 0.85
TestBasicsMethod · 0.85
TESTFunction · 0.85
TestArrayGetScalarMethod · 0.85
SetUpMethod · 0.85
TestValidateErrorsMethod · 0.85
TestHashingMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected