Class: ActionDispatch::Cookies::JsonSerializer
- Inherits:
-
Object
- Object
- ActionDispatch::Cookies::JsonSerializer
- Defined in:
- lib/action_dispatch/middleware/cookies.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.dump(value) ⇒ Object
400 401 402 |
# File 'lib/action_dispatch/middleware/cookies.rb', line 400 def self.dump(value) ActiveSupport::JSON.encode(value) end |
.load(value) ⇒ Object
396 397 398 |
# File 'lib/action_dispatch/middleware/cookies.rb', line 396 def self.load(value) ActiveSupport::JSON.decode(value) end |