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@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@dancer.pm
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users