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

Method SetBool

cpp/src/arrow/json/object_writer.cc:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 void SetBool(std::string_view key, bool value) {
45 rj::Document::AllocatorType& allocator = document_.GetAllocator();
46
47 rj::Value str_key(key.data(), allocator);
48
49 root_.AddMember(str_key, value, allocator);
50 }
51
52 std::string Serialize() {
53 rj::StringBuffer buffer;

Callers

nothing calls this directly

Calls 2

GetAllocatorMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected