method
to_json
v2.3.8 -
Show latest stable
- Class:
String
to_json(options = nil)public
No documentation available.
# File activesupport/lib/active_support/json/encoders/string.rb, line 2
def to_json(options = nil) #:nodoc:
ActiveSupport::JSON::Encoding.escape(self)
end