module JSON::TruffleRuby::Generator::GeneratorMethods::Array
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/json-2.18.1/lib/json/truffle_ruby/generator.rb, line 584 def to_json(state = nil, *) state = State.from_state(state) depth = state.depth state.check_max_nesting json_transform(state) ensure state.depth = depth end