instance method
as_json
Ruby on Rails 7.1.6
Since v5.2.8.1Signature
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 173
Defined in actionpack/lib/action_controller/metal/strong_parameters.rb line 173
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Parameters