method

string_to_json

string_to_json(string)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/postgresql/cast.rb, line 91
        def string_to_json(string)
          if String === string
            ActiveSupport::JSON.decode(string)
          else
            string
          end
        end