method

max_nesting=

v1_9_1_378 - Show latest stable - Class: JSON::Ext::Generator::State
max_nesting=(p1)
public

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.