instance method
as_json
Ruby on Rails 5.0.7.2
Since v5.0.7.2Signature
as_json(options=nil)
Returns a hash that can be used as the JSON representation for the params.
Source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 127
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 127
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters