1Dancer2::Serializer::YAUMsLe(r3)Contributed Perl DocumenDtaantcieorn2::Serializer::YAML(3)
2
3
4
6 Dancer2::Serializer::YAML - Serializer for handling YAML data
7
9 version 0.301004
10
12 This is a serializer engine that allows you to turn Perl data
13 structures into YAML output and vice-versa.
14
16 content_type
17 Returns 'text/x-yaml'
18
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
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
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 2021-07-22 Dancer2::Serializer::YAML(3)