[dancer-users] serializer config

Zahir Lalani ZahirLalani at oliver-marketing.com
Mon Mar 30 15:48:17 BST 2015


Russell

I reviewed the docs again, in case I was not looking properly. I expected the info to be here: https://metacpan.org/pod/Dancer2::Config

But this particular engine is not actually mentioned.

Z

From: dancer-users [mailto:dancer-users-bounces at dancer.pm] On Behalf Of Russell Jenkins
Sent: 30 March 2015 13:29
To: dancer-users at dancer.pm
Subject: Re: [dancer-users] serializer config

Hey Zahir and Naveed.

The keys of the engines hash needs to be one of the support D2 engines (session, logger, serializer, template).

i.e. that sample config should be:

engines:
  serializer:
    JSON:
      convert_blessed: 1

I'm sure that structure was documented.. if its not (or its too hard to find) feel free to raise an issue in the github repo. Documentation patches are always more than welcome!

Hope that helps,
  Russell (veryrusty) Jenkins.
On 30/03/2015 5:19 pm, Naveed Massjouni wrote:
Just update your config.yml like so:

    engines:
      JSON:
        convert_blessed: 1

-Naveed Massjouni

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


More information about the dancer-users mailing list