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