DOKK / manpages / debian 12 / libdancer-perl / Dancer::Serializer::XML.3pm.en
Dancer::Serializer::XML(3pm) User Contributed Perl Documentation Dancer::Serializer::XML(3pm)

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

version 1.3521

METHODS

Serialize a data structure to an XML structure.

Deserialize an XML structure to a data structure

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

Dancer Core Developers

This software is copyright (c) 2010 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.

2023-02-10 perl v5.36.0