KiokuDB::Backend::Serialize::YAML - L based serialization of


KiokuDB documentation  | view source Contained in the KiokuDB distribution.

Index


NAME

Top

KiokuDB::Backend::Serialize::YAML - YAML::XS based serialization of KiokuDB::Entry objects.

SYNOPSIS

Top

    package MyBackend;
    use Moose;

    with qw(KiokuDB::Backend::Serialize::YAML);

DESCRIPTION

Top

KiokuDB::Backend::Serialize::Delegate is preferred to using this directly.

METHODS

Top

serialize $entry

Calls YAML::XS::Dump

deserialize $str

Calls YAML::XS::Load

serialize_to_stream $fh, $entry

Serializes the entry and prints to the file handle.

deserialize_from_stream $fh

Reads until a YAML document boundry is reached, and then deserializes the current buffer.


KiokuDB documentation  | view source Contained in the KiokuDB distribution.