Rails
Ruby 3.0
6.1
6.0
5.2
5.1
5.0
4.2
2.5.0
2.6.0
2.7.0
instance method JSON::State#depth
depth -> Integer
[
permalink
][
rdoc
][
edit
]
This integer returns the current depth of data structure nesting.