pub trait Depth { // Required method fn depth(&self) -> usize; }
Trait used to have the depth of a Json Value.
Method use to get the depth of a Json Value.