Skip to content
instance method

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

max_nesting=(depth)

This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.

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