method

as_json

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveSupport::JSON::Encoding::Encoder
as_json(value, use_options = true) public

like encode, but only calls as_json, without encoding to string.

Show source
Register or log in to add new notes.