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

Function containsKey

src/ArduinoJson/Object/JsonObjectConst.hpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 detail::enable_if_t<detail::IsString<TString>::value, int> = 0>
75 ARDUINOJSON_DEPRECATED("use obj[key].is<T>() instead")
76 bool containsKey(const TString& key) const {
77 return detail::ObjectData::getMember(data_, detail::adaptString(key),
78 resources_) != 0;
79 }
80
81 // DEPRECATED: use obj["key"].is<T>() instead
82 // https://arduinojson.org/v7/api/jsonobjectconst/containskey/

Callers

nothing calls this directly

Calls 2

getMemberFunction · 0.85
adaptStringFunction · 0.85

Tested by

no test coverage detected