MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / containsKey

Function containsKey

src/ArduinoJson/Object/JsonObject.hpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 detail::enable_if_t<detail::IsString<TString>::value, int> = 0>
167 ARDUINOJSON_DEPRECATED("use obj[key].is<T>() instead")
168 bool containsKey(const TString& key) const {
169 return detail::ObjectData::getMember(data_, detail::adaptString(key),
170 resources_) != 0;
171 }
172
173 // DEPRECATED: use obj["key"].is<T>() instead
174 // https://arduinojson.org/v7/api/jsonobject/containskey/

Callers

nothing calls this directly

Calls 2

getMemberFunction · 0.85
adaptStringFunction · 0.85

Tested by

no test coverage detected