JsonVariant::nesting()
Description
JsonVariant::nesting() returns the depth (i.e., the nesting level) of the value pointed by the JsonVariant
| JSON | Nesting | 
|---|---|
| null | 0 | 
| "string" | 0 | 
| [0] | 1 | 
| [[0]] | 2 | 
| {"a":0} | 1 | 
| {"a":{"b":0}} | 2 | 
| {"a":{"b":[0]}} | 3 | 
Signature
size_t nesting() const;
