module JSON::TruffleRuby::Generator::GeneratorMethods::Symbol

Public Instance Methods

to_json(state = nil, *args) click to toggle source
Calls superclass method
# File lib/json/truffle_ruby/generator.rb, line 657
def to_json(state = nil, *args)
  state = State.from_state(state)
  if state.strict?
    name.to_json(state, *args)
  else
    super
  end
end