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

Method size

src/ArduinoJson/Array/JsonArrayConst.hpp:91–93  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

89 // Returns the number of elements in the array.
90 // https://arduinojson.org/v7/api/jsonarrayconst/size/
91 size_t size() const {
92 return data_ ? data_->size(resources_) : 0;
93 }
94
95 // DEPRECATED: always returns zero
96 ARDUINOJSON_DEPRECATED("always returns zero")

Callers 2

sizeFunction · 0.45
copyArrayFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected