The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

The module will try to use backends in this order: Cpanel::JSON::XS, JSON::XS, JSON::PP.