NAME

Dancer2::Session::DBIC::Serializer::JSON

DESCRIPTION

Use JSON::MaybeXS serialization for session storage.

ATTRIBUTES

See Dancer2::Session::DBIC::Role::Serializer for inherited attributes.

serialize_options

Override default with the following options:

pretty => 0
convert_blessed => 1

METHODS

serialize $perl_objects

Serialize $perl_objects to JSON.

deserialize $json

Deserialize $json to Perl objects.