JsonArray::nesting()
JsonArray::nesting() returns the depth (i.e., the nesting level) of the array.
null
[0]
[[0]]
[{"a":0}]
[{"a":[0]}]
size_t nesting() const;
JsonDocument::nesting()