For Dancer2, this is the correct syntax:
engines:
serializer:
JSON:
allow_blessed: 1
convert_blessed: 1
Regards,
Lennart
On 30-03-15 12:34, Zahir Lalani wrote:
Same as yesterday
Error while loading /home/systemz/Dev/OMG-API/bin/app.psgi: Engine
'JSON' is not supported.
Z
*From:*dancer-users [mailto:[email protected]] *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
<[email protected]
<mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users