MCPcopy Create free account
hub / github.com/ByConity/ByConity / getRawString

Method getRawString

base/common/JSON.cpp:665–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665StringRef JSON::getRawString() const
666{
667 Pos s = ptr_begin;
668 if (*s != '"')
669 throw JSONException(std::string("JSON: expected \", got ") + *s);
670 while (++s != ptr_end && *s != '"');
671 if (s != ptr_end)
672 return StringRef(ptr_begin + 1, s - ptr_begin - 1);
673 throw JSONException("JSON: incorrect syntax (expected end of string, found end of JSON).");
674}
675
676StringRef JSON::getRawName() const
677{

Callers 12

buildLoggersMethod · 0.80
connectMethod · 0.80
nonInteractiveMethod · 0.80
mainMethod · 0.80
processQueriesMethod · 0.80
writeResponseMethod · 0.80
createMethod · 0.80
getMethod · 0.80
isSameConfigurationFunction · 0.80
WorkerGroupHandleImplMethod · 0.80

Calls 1

StringRefClass · 0.85

Tested by

no test coverage detected