[dancer-users] Returning JSON Data

Russell Jenkins russell.jenkins at strategicdata.com.au
Mon Sep 14 00:26:08 BST 2015


On 14/09/2015 4:32 am, John McDermott, CPLP wrote:
> I would try setting it in the config file. See 
> http://search.cpan.org/~sukria/Dancer2-0.01/lib/Dancer2/Config.pod. 
> There are YAML and JSON examples for setting UTF-8.

That version of Dancer2::Config is definitely outdated.

It's rarely a good idea to link to CPAN resources using a specific 
version number. Better to use:

https://metacpan.org/pod/distribution/Dancer2/lib/Dancer2/Config.pod

Which will always give you the latest version.

Regards,
   Russell.

( with thanks to Dave Cross !)


More information about the dancer-users mailing list