Stefan G. > Kelp-0.9021 > Kelp::Module::JSON

Download:
Kelp-0.9021.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Kelp::Module::JSON - Simple JSON module for a Kelp application

SYNOPSIS ^

    package MyApp;
    use Kelp::Base 'Kelp';

    sub some_route {
        my $self = shift;
        return $self->json->encode( { yes => 1 } );
    }

REGISTERED METHODS ^

This module registers only one method into the application: json.

syntax highlighting: