[dancer-users] serializer config

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


Thx Russell

I had tried serializer, and then json - but not together!!

Works like a charm :)

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/7eb6e3cb/attachment.html>


More information about the dancer-users mailing list