Plack::Session::Store::RedisFast::MojoJSON - Mojo::JSON adapter for Redis session store.
Mojo::JSON-based implementation of "inflate" in Plack::Session::Store::RedisFast and "deflate" in Plack::Session::Store::RedisFast.
use Plack::Session::Store::RedisFast::MojoJSON; my $encoder = Plack::Session::Store::RedisFast::MojoJSON->new; my $bytes = $encoder->encode( $hashref ); my $hashref2 = $encoder->decode( $bytes );
Used by default when JSON::XS is not available.
Plack::Session::Store::RedisFast::MojoJSON->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.