Yanick Champoux > Dancer-1.3118 > Dancer::Serializer::XML

Download:
Dancer-1.3118.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Dancer-1.3124

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
syntax highlighting: