package EVDB::API::JSON;
use strict;
use warnings;
use Carp;
=head1 NAME
EVDB::API::JSON - Use the JSON flavor of the Eventful API
=head1 SYNOPSIS
my $evdb = EVDB::API->new(app_key => $app
-001336058-5' });
=head1 DESCRIPTION
Parses JSON from the Eventful API.
=head1 METHODS
=head2 flavor
Return the flavor name.
=cut
sub flavor { 'json' }
=head2 ctype
Return a checkstring for t
content type.
=cut
sub ctype { 'javascript' }
=head2 parse
Parse JSON data from the Eventful API using L<JSON::Syck> or L<JSON>.
=cut
sub parse {
my ($class, $data, $force_array) = @_;