memcachex v0.4.1 Memcache.Coder.JSON

Uses the Poison module to encode and decode value. To use this coder add poison as a dependency in mix.exs.

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

Functions

decode(value, options)

Called after the value is loaded from the server. It can return any type.

Callback implementation for Memcache.Coder.decode/2.

encode(value, options)

Called before the value is sent to the server. It should return iodata.

Callback implementation for Memcache.Coder.encode/2.