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

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

Attributes

content_type
       Returns 'text/x-yaml'

Author

       Dancer Core Developers

Description

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

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.

Methods

serialize($content)
       Serializes a data structure to a YAML structure.

   deserialize($content)
       Deserializes a YAML structure to a data structure.

Name

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

Version

       version 1.1.2

See Also