encode(value)
Encode the given object into a JSON string
# File activesupport/lib/active_support/json/encoding.rb, line 34 def encode(value) stringify jsonify value.as_json(options.dup) end