JSON;
use warnings;
use strict;
use JSON::Any;
use base 'Exporter';
our @EXPORT_OK = qw(
to_json
from_json
json_header
json_body
json_callback
add_json_header
clear_json
_header
json_header_string
json_header_value
);
our %EXPORT_TAGS = ( all => \@EXPORT_OK );
=head1 NAME
CGI::Application::Plugin::JSON - easy manipulation of JSON headers
=cut
our $VERSI
n::Plugin::JSON ':all';
# add_json_header() is cumulative
$self->add_json_header( foo => 'Lorem ipsum...');
$self->add_json_header( bar => [ 0, 2, 3, 4 ] );
$self->add_json_header( ba