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

def to_json(state = nil, *args)

def to_json(state = nil, *args)
  state = State.from_state(state)
  if state.strict?
    name.to_json(state, *args)
  else
    super
  end
end