logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Yuval Kogman <nothingmuch@woobling.org>

Description

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

Methods

       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 boundary is reached, and then deserializes the current buffer.

Name

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

Synopsis

           package MyBackend;
           use Moose;

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

Version

       version 0.57

See Also