method

encode

rails latest stable - Class: ActiveSupport::JSON::Encoding

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

encode(value)
public

Encode the given object into a JSON string