method
encode
rails latest stable - Class:
ActiveSupport::JSON
encode(value, options = nil)public
No documentation available.
# File activesupport/lib/active_support/json/encoding.rb, line 22
def encode(value, options = nil)
Encoding.json_encoder.new(options).encode(value)
end