1Dancer2::Serializer::YAUMsLe(r3)Contributed Perl DocumenDtaantcieorn2::Serializer::YAML(3)
2
3
4

NAME

6       Dancer2::Serializer::YAML - Serializer for handling YAML data
7

VERSION

9       version 0.301004
10

DESCRIPTION

12       This is a serializer engine that allows you to turn Perl data
13       structures into YAML output and vice-versa.
14

ATTRIBUTES

16   content_type
17       Returns 'text/x-yaml'
18

METHODS

20   serialize($content)
21       Serializes a data structure to a YAML structure.
22
23   deserialize($content)
24       Deserializes a YAML structure to a data structure.
25

FUNCTIONS

27   fom_yaml($content)
28       This is an helper available to transform a YAML data structure to a
29       Perl data structures.
30
31   to_yaml($content)
32       This is an helper available to transform a Perl data structure to YAML.
33
34       Calling this function will not trigger the serialization's hooks.
35

AUTHOR

37       Dancer Core Developers
38
40       This software is copyright (c) 2021 by Alexis Sukrieh.
41
42       This is free software; you can redistribute it and/or modify it under
43       the same terms as the Perl 5 programming language system itself.
44
45
46
47perl v5.34.0                      2022-01-21      Dancer2::Serializer::YAML(3)
Impressum