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