NAME
SweetPea::Application::Json - JSON support for SweetPea-Application.
SYNOPSIS
... from inside SweetPea::Application or a Controller;
$s->json->encode($hashref);
my $hashref = $s->json->decode($incoming);
METHODS
new
The new method instantiates a new SweetPea::Application::Json object
which use JSON as a base for encoding and decoding input to and from JSON
ojbects.
$s->plug( 'json', sub { return SweetPea::Application::Json->new($s); });
AUTHOR
Al Newkirk, <al.newkirk at awnstudio.com>