memcachex v0.5.0 Memcache.Coder.JSON View Source
Uses the Poison
module to encode and decode value. To use this
coder add poison
as a dependency in mix.exs
.
Link to this section Summary
Functions
Called after the value is loaded from the server. It can return any type.
Called before the value is sent to the server. It should return iodata.
Link to this section Functions
Link to this function
decode(value, options) View Source
Called after the value is loaded from the server. It can return any type.
Callback implementation for Memcache.Coder.decode/2
.
Link to this function
encode(value, options) View Source
Called before the value is sent to the server. It should return iodata.
Callback implementation for Memcache.Coder.encode/2
.