Dancer2::Serializer::YAML(3pm)

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Dancer Core Developers

From libdancer2-perl 1.1.2+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.