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
553 554 555 |
# File 'lib/action_dispatch/middleware/cookies.rb', line 553 def self.dump(value) ActiveSupport::JSON.encode(value) end |
.load(value) ⇒ Object
549 550 551 |
# File 'lib/action_dispatch/middleware/cookies.rb', line 549 def self.load(value) ActiveSupport::JSON.decode(value) end |