Skip to content
instance method

JSON::Ext::Generator::State#max_nesting

max_nesting

This integer returns the maximum level of data structure nesting in the generated JSON, max_nesting = 0 if no maximum is checked.

See also #max_nesting= #initialize_copy #indent= #merge also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0