---
name: "KiokuDB::Backend::Serialize::YAML"
section: "3pm"
platform: "linux"
package: "libkiokudb-perl"
version: "0.57-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/KiokuDB::Backend::Serialize::YAML"
---

# KiokuDB::Backend::Serialize::YAML(3pm)

YAML::XS based serialization of KiokuDB::Entry objects.

## NAME

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

## VERSION

version 0.57

## SYNOPSIS

```
    package MyBackend;
    use Moose;
    with qw(KiokuDB::Backend::Serialize::YAML);
```

## 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.

## AUTHOR

Yuval Kogman \<nothingmuch@woobling.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
