Ruby on Rails latest stable (v5.2.3) - 1 note - Class: Object

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

These similar methods exist in v5.2.3:

to_json(options = nil) public

Dumps object in JSON (JavaScript Object 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.