instance method JSON::State#depth

depth -> Integer[permalink][rdoc][edit]

This integer returns the current depth of data structure nesting.