Source: show | on GitHub
# File activesupport/lib/active_support/json/encoding.rb, line 175 def as_json(options = nil) to_s end
Symbols are not duplicable:
:my_symbol.duplicable? # => false :my_symbol.dup # => TypeError: can't dup Symbol
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 68 def duplicable? false end