Matthew, Andrew and Clive.
Prior to Dancer2 0.154000, serialization was only attempted if a
reference was returned.
From D2 0.154 onwards; if you have defined a serializer for your app,
then D2 will *always*
attempt to serialize output, including scalars.
Sawyer gave an excellent writeup of this on day 11 of the this years advent:
http://advent.perldancer.org/2014/11
Hope that helps,
Russell.
ps. saywer+24 for this years advent entries !!!!!
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users