method

to_json

Importance_1
v2.2.1 - Show latest stable - 1 note - Class: Object
to_json(options = {}) public

Dumps object in JSON (JavaScript <a href="/rails/Object">Object</a> Notation). See www.json.org for more info.

Show source
Register or log in to add new notes.
September 24, 2013
0 thanks

Missing documentation for options hash

The deprecated function (http://apidock.com/rails/ActiveRecord/Serialization/to_json) has more useful documentation for the options hash.