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

Function nesting

src/ArduinoJson/Array/JsonArray.hpp:170–172  ·  view source on GitHub ↗

Returns the depth (nesting level) of the array. https://arduinojson.org/v7/api/jsonarray/nesting/

Source from the content-addressed store, hash-verified

168 // Returns the depth (nesting level) of the array.
169 // https://arduinojson.org/v7/api/jsonarray/nesting/
170 size_t nesting() const {
171 return detail::VariantData::nesting(collectionToVariant(data_), resources_);
172 }
173
174 // Returns the number of elements in the array.
175 // https://arduinojson.org/v7/api/jsonarray/size/

Callers 1

nestingMethod · 0.70

Calls 1

collectionToVariantFunction · 0.85

Tested by

no test coverage detected