MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / operator[]

Function operator[]

src/ArduinoJson/Object/JsonObjectConst.hpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 template <typename TString,
102 detail::enable_if_t<detail::IsString<TString>::value, int> = 0>
103 JsonVariantConst operator[](const TString& key) const {
104 return JsonVariantConst(detail::ObjectData::getMember(
105 data_, detail::adaptString(key), resources_),
106 resources_);
107 }
108
109 // Gets the member with specified key.
110 // https://arduinojson.org/v7/api/jsonobjectconst/subscript/

Callers

nothing calls this directly

Calls 3

JsonVariantConstFunction · 0.85
getMemberFunction · 0.85
adaptStringFunction · 0.85

Tested by

no test coverage detected