The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
##
# name:      Pegex::JSON
# abstract:  Pegex Parser for JSON
# author:    Ingy döt Net <ingy@cpan.org>
# license:   perl
# copyright: 2011, 2012
# see:
# - Pegex
# - JSON

use 5.010;

use Pegex 0.21 ();
use boolean 0.28 ();

package Pegex::JSON;
use Pegex::Base;
extends 'Pegex::Module';

require Pegex::JSON::Grammar;
require Pegex::JSON::Data;

our $VERSION = '0.16';

has grammar_class => 'Pegex::JSON::Grammar';
has receiver_class => 'Pegex::JSON::Data';

1;

=head1 SYNOPSIS

    my $data = Pegex::JSON->parse($json);

=head1 DESCRIPTION

Pegex::JSON is a JSON parser written in Pegex.