Method: JSON::Ext::Generator::State#depth
- Defined in:
- ext/json/ext/generator/generator.c
#depth ⇒ Object
This integer returns the current depth of data structure nesting.
1503 1504 1505 1506 1507 |
# File 'ext/json/ext/generator/generator.c', line 1503 static VALUE cState_depth(VALUE self) { GET_STATE(self); return LONG2FIX(state->depth); } |