NAME

Dancer2::Session::DBIC::Role::Serializer - role consumed by all serializers

METHODS REQUIRED

The following methods must be provided by any class which consumes this role:

  • serialize

  • deserialize

  • _build_serializer

  • _build_deserializer

ATTRIBUTES

serialize_options

Options to be passed to the constructor of the underlying serializer class as a hash reference.

Defaults to an empty hash reference.

deserialize_options

Options to be passed to the constructor of the underlying deserializer class as a hash reference.

Defaults to an empty hash reference.

serializer

Vivified serializer.

deserializer

Vivified deserializer.