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

Method getRawString

base/base/JSON.cpp:647–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647std::string_view JSON::getRawString() const
648{
649 Pos s = ptr_begin;
650 if (*s != '"')
651 throw JSONException(std::string("JSON: expected \", got ") + *s);
652 ++s;
653 while (s != ptr_end && *s != '"')
654 ++s;
655 if (s != ptr_end)
656 return std::string_view(ptr_begin + 1, s - ptr_begin - 1);
657 throw JSONException("JSON: incorrect syntax (expected end of string, found end of JSON).");
658}
659
660std::string_view JSON::getRawName() const
661{

Callers 9

connectMethod · 0.45
processConfigMethod · 0.45
setupWatchdogMethod · 0.45
writeResponseMethod · 0.45
cloneImplFunction · 0.45
isSameConfigurationImplFunction · 0.45
buildLoggersMethod · 0.45

Calls 1

string_viewClass · 0.85

Tested by

no test coverage detected