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

Function nesting

src/ArduinoJson/Variant/VariantRefBase.hpp:101–103  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

99 // Returns the depth (nesting level) of the value.
100 // https://arduinojson.org/v7/api/jsonvariant/nesting/
101 size_t nesting() const {
102 return VariantData::nesting(getData(), getResourceManager());
103 }
104
105 // Appends a new (empty) element to the array.
106 // Returns a reference to the new element.

Callers

nothing calls this directly

Calls 2

getDataFunction · 0.70
getResourceManagerFunction · 0.70

Tested by

no test coverage detected