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

Method JSONArrayFactory

cpp/src/arrow/c/bridge_test.cc:1460–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1458 }
1459
1460 static std::function<Result<std::shared_ptr<Array>>()> JSONArrayFactory(
1461 const std::shared_ptr<MemoryManager>& mm, std::shared_ptr<DataType> type,
1462 const char* json) {
1463 return [=]() { return ToDevice(mm, *ArrayFromJSON(type, json)->data()); };
1464 }
1465
1466#ifdef ARROW_COMPUTE
1467 static std::function<Result<std::shared_ptr<Array>>()> JSONREEArrayFactory(

Callers

nothing calls this directly

Calls 2

ArrayFromJSONFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected