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.