method
as_json
as_json(options = nil)
public
Hide source
# File activesupport/lib/active_support/json/encoding.rb, line 194 def as_json(options = nil) #:nodoc: if options if attrs = options[:only] slice(*Array.wrap(attrs)) elsif attrs = options[:except] except(*Array.wrap(attrs)) else self end else self end end


