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

Method getBool

base/base/JSON.cpp:541–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539}
540
541bool JSON::getBool() const
542{
543 if (*ptr_begin == 't')
544 return true;
545 if (*ptr_begin == 'f')
546 return false;
547 throw JSONException("JSON: cannot parse boolean.");
548}
549
550std::string JSON::getString() const
551{

Callers 15

initializeMethod · 0.45
mainMethod · 0.45
connectMethod · 0.45
processConfigMethod · 0.45
socketBindListenMethod · 0.45
mainMethod · 0.45
parseConfigMethod · 0.45
RunnerMethod · 0.45
parseHostsFromConfigMethod · 0.45
initializeFromConfigMethod · 0.45
MetricsTransmitterMethod · 0.45
mainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected