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

Method BooleanConverter

cpp/src/arrow/json/from_string.cc:160–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158class BooleanConverter final : public ConcreteConverter<BooleanConverter> {
159 public:
160 explicit BooleanConverter(const std::shared_ptr<DataType>& type) {
161 type_ = type;
162 builder_ = std::make_shared<BooleanBuilder>();
163 }
164
165 Status AppendValue(sj::value& json_obj) override {
166 ARROW_ASSIGN_OR_RAISE(bool is_null, internal::IsJsonNull(json_obj));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected