package JSON::JSend;
use 5.006;
use strict;
use JSON;
use warnings FATAL => 'all';
=head1 NAME
JSON::JSend - Simple JSON responses (see: labs.omniti.com/labs/jsend)
=head1 VERSION
Version 0.02
=
cut
our $VERSION = '0.02';
=head1 SYNOPSIS
use JSON::JSend;
my $jsend = JSON::JSend->new();
$jsend->success();
$jsend->success({
"post" => {
id => 1,
=head1 SUBROUTINES/METHODS
=head2 new ( [$options] )
$jsend = JSON::JSend->new();
$jsend = JSON::JSend->new(
json_options => { convert_blessed => 1 }
);
Creates a new JSend obj