Method: JSON::Pure::Generator::State#check_circular?

Defined in:
lib/json/pure/generator.rb

#check_circular?Boolean

Returns true, if circular data structures are checked, otherwise returns false.

Returns:

  • (Boolean)


186
187
188
# File 'lib/json/pure/generator.rb', line 186

def check_circular?
  !@max_nesting.zero?
end