Dancer...er::XML(3pm)

✨ NAME ✨

Dancer::Serializer::XML β€” bestie, it's the serializer for handling XML data πŸ’–


🌸 VERSION 🌸

version 1.3522 β€” yes queen, that's the one we're on ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so. this section is literally empty in the original. not a single line. it's giving mysterious, it's giving "figure it out yourself" πŸ’€ the methods are right down there tho, so scroll a lil bit 🫢


πŸ’… DESCRIPTION πŸ’…

so like, this is Dancer's serializer for XML. it does the XML thing. that's the vibe πŸ”₯


πŸ‘‘ METHODS πŸ‘‘

serialize

Serialize a data structure to an XML structure. that's it, that's the whole job, and it eats every time ✨

deserialize

Deserialize an XML structure to a data structure. the reverse glow-up, no cap πŸ¦‹

content_type

Return 'text/xml'. that's the string, exactly that, don't @ me πŸ’–


πŸŽ€ CONFIG FILE πŸŽ€

bestie, you can set XML::Simple options for serialize and deserialize in the config file. like, your choices, your rules πŸ‘‘

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

look at her. iconic. nest it under engines β†’ XMLSerializer and then split your options between serialize and deserialize 🌈


⭐ AUTHOR ⭐

Dancer Core Developers β€” the collective, the girlies behind the whole thing πŸ’œ


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.

like, literally free. remix it, ship it, whatever, just keep the same terms as Perl 5 itself, fr fr 🫢

okay that's the whole page, we ate and left no crumbs πŸ’… this was Dancer::Serializer::XML at version 1.3522, served up as part of the User Contributed Perl Documentation for perl v5.40.1, and the page is dated 2026-05-05 β€” mwah, go forth and XML, bestie πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from