[dancer-users] Support for XML serialization in Dancer2

James E Keenan jkeen at verizon.net
Sun Jul 10 13:40:51 BST 2016


On 07/10/2016 08:36 AM, James E Keenan wrote:
> The Dancer2::Cookbook suggests that, when writing REST applications with
> Dancer2, it should be easy to serialize data to XML as well as to JSON,
> YAML and Data::Dumper.  (See:
> https://metacpan.org/source/XSAWYERX/Dancer2-0.200002/lib/Dancer2/Cookbook.pod#L729.)
>   However, there exists no Dancer2::Serializer::XML package, so this
> part of the Cookbook is misleading.

Similarly misleading information in Dancer2::Manual; see 
https://metacpan.org/source/XSAWYERX/Dancer2-0.200002/lib/Dancer2/Manual.pod#L1486

>
> The absence of XML support came up in this StackOverflow thread:
> http://stackoverflow.com/questions/28236767/how-can-i-use-xml-serializer-in-perl-dancer2.
>   A first draft of a Dancer2::Serializer::XML package was provided there
> by Daniel Böhmer.  Granted, it uses XML::Simple, whose maintainer
> discourages new usage of that library.  But apart from this, is there
> any reason why to date there is no support for XML serialization in
> Dancer2?
>
> Thank you very much.
> Jim Keenan
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users



More information about the dancer-users mailing list