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

Class SIMDjson

benchmark/simdjson.hpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67class SIMDjson : public JsonBase<SIMDjson, SIMDjsonParseResult> {
68 public:
69 bool parse_impl(std::string_view json, SIMDjsonParseResult &pr) const {
70 pr.parser_.parse(json.data(), json.size()).tie(pr.root_, pr.error_);
71 if (pr.error_) {
72 return false;
73 }
74 return true;
75 }
76};
77
78#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected