Dancer2::Serializer::YAML3pm
Serializer for handling yaml data
Version
version 1.1.2
Overview
This is a serializer engine that allows you to turn Perl data structures into YAML output and vice-versa.
Attributes
content_type
Returns 'text/x-yaml'
Methods
serialize($content)
Serializes a data structure to a YAML structure.
deserialize($content)
Deserializes a YAML structure to a data structure.
Functions
fom_yaml($content)
This is an helper available to transform a YAML data structure to a Perl data structures.
to_yaml($content)
This is an helper available to transform a Perl data structure to YAML.
Calling this function will not trigger the serialization's hooks.
Copyright and license
This software is copyright (c) 2024 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.