Group
Extension

Matches 1

Dancer-Session-DBI ( J/JA/JAITKEN/Dancer-Session-DBI-1.0.0.tar.gz, JAITKEN, 2012; MetaCPAN )
Dancer-Session-DBI/lib/Dancer/Session/DBI.pm ( view source; MetaCPAN )
>. The default serialization method is L<JSON>,
though one can specify any serialization format you want. L<YAML> and L<Storable> are
viable alternatives.

JSON was chosen as the default serialization
on ephemeral - Store it compactly
    return to_json({%$self}, { pretty => 0 });
}


# Default Deserialize method
sub _deserialize {
    my ($self, $json) = @_;
    my $settings = setting('session_opt
efined $settings->{deserializer}) {
        return $settings->{deserializer}->($json);
    }

    return from_json($json);
}



=head1 SEE ALSO

L<Dancer>, L<Dancer::Session>, L<Plack::Session::Store:

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.