= private = protected
encode(value, options = {})
Converts a Ruby object into a JSON string.
# File activesupport/lib/active_support/json/encoding.rb, line 19 def encode(value, options = {}) raise_on_circular_reference(value) do value.send(:to_json, options) end end