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

Function size

src/ArduinoJson/Variant/VariantRefBase.hpp:95–97  ·  view source on GitHub ↗

Returns the size of the array or object. https://arduinojson.org/v7/api/jsonvariant/size/

Source from the content-addressed store, hash-verified

93 // Returns the size of the array or object.
94 // https://arduinojson.org/v7/api/jsonvariant/size/
95 size_t size() const {
96 return VariantData::size(getData(), getResourceManager());
97 }
98
99 // Returns the depth (nesting level) of the value.
100 // https://arduinojson.org/v7/api/jsonvariant/nesting/

Callers

nothing calls this directly

Calls 2

getDataFunction · 0.70
getResourceManagerFunction · 0.70

Tested by

no test coverage detected