[dancer-users] Dancer2 and JSON engine

Sawyer X xsawyerx at gmail.com
Fri Jan 30 22:48:15 GMT 2015


engines:
  serializer:
    JSON:
      ...

It is a *serializer* engine that you're trying to configure. The name is
"JSON". Perhaps we could make that error message clearer.
https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Manual/Migration.pod#engines

Dancer2 is more explicit in its configuration.


On Tue, Jan 27, 2015 at 8:28 AM, Jean-Marc Choulet <jm130794 at gmail.com>
wrote:

> Hello,
>
> When I launch my Dancer2 application (Version 0.158000), I have the
> following message:
>
> Engine 'JSON' is not supported. at (eval 88) line 22.
>
> In my config.yml, I have:
> ...
>
> engines:
>     JSON:
>         allow_blessed:   '1'
>         canonical:       '1'
>         convert_blessed: '1'
>
> ...
>
> All works fine under Dancer2 version 0.153002
>
> Why ?
>
> Thanks,
>
> Jean-Marc
>
>
> _______________________________________________
> dancer-users mailing list
> 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/20150130/58b2243b/attachment.html>


More information about the dancer-users mailing list