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

Function size

src/ArduinoJson/Array/JsonArray.hpp:176–178  ·  view source on GitHub ↗

Returns the number of elements in the array. https://arduinojson.org/v7/api/jsonarray/size/

Source from the content-addressed store, hash-verified

174 // Returns the number of elements in the array.
175 // https://arduinojson.org/v7/api/jsonarray/size/
176 size_t size() const {
177 return data_ ? data_->size(resources_) : 0;
178 }
179
180 // DEPRECATED: use add<JsonVariant>() instead
181 ARDUINOJSON_DEPRECATED("use add<JsonVariant>() instead")

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected