The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer::Serializer::XML - serializer for handling XML data

SYNOPSIS

DESCRIPTION

METHODS

serialize

Serialize a data structure to a XML structure.

deserialize

Deserialize a XML structure to a data structure

content_type

Return 'text/xml'

CONFIG FILE

You can set XML::Simple options for serialize and deserialize in the config file:

   engines:
      XMLSerializer:
        serialize:
           AttrIndent: 1
        deserialize:
           ForceArray: 1