method
encode
encode(value, options = nil)
public
Hide source
# File activesupport/lib/active_support/json/encoding.rb, line 22 def encode(value, options = nil) Encoding.json_encoder.new(options).encode(value) end