ormats
JSON_FT => "json",
XML_FT => "xml",
YAML_FT => "yaml",
TEXT_FT => "text",
HTML_FT => "html",
# Content Types
JSONP_CT => "text/javascript",
JSON_CT => "a
pplication/json",
XML_CT => 'text/xml',
YAML_CT => 'application/yaml',
TEXT_CT => "text/plain",
};
=head1 SYNOPSIS
Similar in functionality to the standard Dancer serialisation routi
a format using templates
=item Allows per-call configuration of default format
=item Works with jsonp
=back
use Dancer::Plugin::FormattedOutput;
get '/some/route' => sub {
my $dat