MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / contains_impl

Method contains_impl

benchmark/simdjson.hpp:38–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 SIMDjsonParseResult(std::string_view json) { (void)json; }
37
38 bool contains_impl(std::string_view key) const {
39 (void)key;
40 // auto v = root_.find_field(key);
41 // if (simdjson::NO_SUCH_FIELD == v) {
42 // return false;
43 // }
44 return true;
45 }
46
47 bool stringfy_impl(SIMDjsonStringResult &sr) const {
48 sr.s = simdjson::minify(root_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected