NAME
JSON::Transform::Parser - JSON::Transform Pegex parser
SYNOPSIS
use JSON::Transform::Parser qw(parse);
my $parsed = parse(
$source
);
DESCRIPTION
Provides both an outside-accessible point of entry into the JSON::Transform parser (see above), and a subclass of Pegex::Parser to parse a document into an AST usable by JSON::Transform.
METHODS
parse
parse($source);
NB that unlike in Pegex::Parser
this is a function, not an instance method. This achieves hiding of Pegex implementation details.