method

depth

ruby latest stable - Class: JSON::Ext::Generator::State
depth()
public

This integer returns the current depth of data structure nesting.