method
to_json
to_json(options = nil)
public
Hide source
# File activesupport/lib/active_support/json/encoders/string.rb, line 2 def to_json(options = nil) #:nodoc: ActiveSupport::JSON::Encoding.escape(self) end