Group
Extension

Matches 1

Dancer-Plugin-FormattedOutput ( A/AJ/AJKALD/Dancer-Plugin-FormattedOutput-0.01.tar.gz, AJKALD, 2011; MetaCPAN )
Dancer-Plugin-FormattedOutput/lib/Dancer/Plugin/FormattedOutput.pm ( view source; MetaCPAN )
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

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.