The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Plack::Session::Store::RedisFast::JSON - JSON adapter for Redis session store.

DESCRIPTION

JSON-based implementation of "inflate" in Plack::Session::Store::RedisFast and "deflate" in Plack::Session::Store::RedisFast.

SYNOPSIS

    use Plack::Session::Store::RedisFast::JSON;

    my $encoder = Plack::Session::Store::RedisFast::JSON->new;

    my $bytes = $encoder->encode( $hashref );

    my $hashref2 = $encoder->decode( $bytes );

DESCRIPTION

Used by default when JSON::XS and Mojo::JSON are not available.

METHODS

new

    Plack::Session::Store::RedisFast::JSON->new;