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

NAME

Dancer2::Session::DBIC::Serializer::YAML

DESCRIPTION

Use YAML serialization for session storage.

NOTE: you must install YAML version >= 1.15 to use this serializer.

ATTRIBUTES

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

serialize_options

Override default with the following options:

indent_width => 1

METHODS

serialize $perl_objects

Serialize $perl_objects to YAML using YAML::Dumper.

deserialize $yaml

Deserialize $yaml to Perl objects using YAML::Loader.