class ActionDispatch::Cookies::MarshalWithJsonFallback

:nodoc:

def self.dump(value)

def self.dump(value)
  Marshal.dump(value)
end

def self.load(value)

:nodoc:
def self.load(value)
  Marshal.load(value)
rescue TypeError => e
  ActiveSupport::JSON.decode(value) rescue raise e
end