Plack::Session::Store::RedisFast::JSONXS - JSON::XS adapter for Redis session store.
JSON::XS-based implementation of "inflate" in Plack::Session::Store::RedisFast and "deflate" in Plack::Session::Store::RedisFast.
use Plack::Session::Store::RedisFast::JSONXS; my $encoder = Plack::Session::Store::RedisFast::JSONXS->new; my $bytes = $encoder->encode( $hashref ); my $hashref2 = $encoder->decode( $bytes );
Used by default.
Plack::Session::Store::RedisFast::JSONXS->new;
To install Plack::Session::Store::RedisFast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Session::Store::RedisFast
CPAN shell
perl -MCPAN -e shell install Plack::Session::Store::RedisFast
For more information on module installation, please visit the detailed CPAN module installation guide.