MCPcopy Index your code
hub / github.com/Kitware/CMake / array

Method array

Utilities/cmcppdap/src/jsoncpp_json_serializer.cpp:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118bool JsonCppDeserializer::array(
119 const std::function<bool(dap::Deserializer*)>& cb) const {
120 if (!json->isArray()) {
121 return false;
122 }
123 for (const auto& value : *json) {
124 JsonCppDeserializer d(&value);
125 if (!cb(&d)) {
126 return false;
127 }
128 }
129 return true;
130}
131
132bool JsonCppDeserializer::field(
133 const std::string& name,

Callers

nothing calls this directly

Calls 2

isArrayMethod · 0.80
ValueFunction · 0.50

Tested by

no test coverage detected