[dancer-users] Serializer for Dancer2

Russell Jenkins russell.jenkins at strategicdata.com.au
Sun Dec 21 23:05:15 GMT 2014


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 !!!!!


More information about the dancer-users mailing list