method

max_nesting

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

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