[dancer-users] serializer config

Zahir Lalani ZahirLalani at oliver-marketing.com
Mon Mar 30 11:21:57 BST 2015


I am sure I tried that and it complained. Will try again and let you know

Z

From: dancer-users [mailto:dancer-users-bounces at dancer.pm] On Behalf Of Naveed Massjouni
Sent: 30 March 2015 07:19
To: Perl Dancer users mailing list
Subject: Re: [dancer-users] serializer config

Just update your config.yml like so:

    engines:
      JSON:
        convert_blessed: 1

-Naveed Massjouni


On Sun, Mar 29, 2015 at 6:18 PM, Zahir Lalani <ZahirLalani at oliver-marketing.com<mailto:ZahirLalani at oliver-marketing.com>> wrote:
Hi

The only info I can find on serializer configs for JSON in the yaml file, relates to the serializer: JSON.

How does one configure the engine to enable allow_blessed from within the central config?

Z

_______________________________________________
dancer-users mailing list
dancer-users at dancer.pm<mailto:dancer-users at dancer.pm>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150330/0c5b2d74/attachment.html>


More information about the dancer-users mailing list