NAME
Dancer2::Plugin::Redis::Serialization::Sereal - Dancer2::Plugin::Redis serialization broker for Sereal.
VERSION
version 0.009
SYNOPSIS
In your config.yml:
plugins:
Redis:
# ...
# Use serialization for storing values other than simple scalars with Redis:
serialization:
# Use Sereal as serialization module:
module: "Dancer2::Plugin::Redis::Serialization::Sereal"
# Serialization module configuration:
# (optional) Enable Google Snappy compression (default):
snappy: 1
DESCRIPTION
This module is a serialization broker for Dancer2::Plugin::Redis. It will provide Dancer2::Plugin::Redis the ability to (de)serialize Redis values with Sereal.
METHODS
decode
Deserialize a serialized object. Returns the (not really) serealized object without doing anything to it if Sereal thinks it is not serealized.
encode
Serialize a raw object if it is a reference or undef.
SEE ALSO
AUTHOR
BURNERSK <burnersk@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018 by BURNERSK <burnersk@cpan.org>.
This is free software, licensed under:
The MIT (X11) License