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

Method parse_impl

benchmark/cjson.hpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63class cJson : public JsonBase<cJson, cJsonParseResult> {
64 public:
65 bool parse_impl(std::string_view json, cJsonParseResult &pr) const {
66 pr.json = cJSON_Parse(json.data());
67 if (pr.json == NULL) {
68 return false;
69 }
70 return true;
71 }
72};
73
74#endif

Callers 1

parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected