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

Method getObject

base/poco/JSON/src/Object.cpp:137–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137Object::Ptr Object::getObject(const std::string& key) const
138{
139 ValueMap::const_iterator it = _values.find(key);
140 if ((it != _values.end()) && (it->second.type() == typeid(Object::Ptr)))
141 {
142 return it->second.extract<Object::Ptr>();
143 }
144
145 return 0;
146}
147
148
149void Object::getNames(NameList& names) const

Callers 1

makeStructMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected