method

to_json

rails latest stable - Class: Symbol

Method deprecated or moved

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

to_json(options = {})
public

No documentation available.

# File activesupport/lib/active_support/json/encoders/symbol.rb, line 2
  def to_json(options = {}) #:nodoc:
    ActiveSupport::JSON.encode(to_s, options)
  end