MetaPOD::Format::JSON::v1 - MetaPOD::JSON v1 SPEC Implementation
version 0.3.0
features
The list of features this version supports.
does inherits namespace
dispatch_keys
Internal dispatch from a given key to the implementing method.
$impl->dispatch_keys( $data, $result_object )
Every supported top level key has a corresponding method
add_<keyname>
This method iterates $data calling the relevant handler for each key, passing the value of that key and the result object.
$data
$impl->dispatch_keys({ does => [] , $result_object ) # -> # $impl->add_does([], $result_object );
NOTE: This method iterates the keys in $data in the order specified by features, and only iterates and invokes for items in features, deleting items out of $data as they are processed.
add_segment
Handler for each individual region of
=begin MetaPOD::JSON <<DATA>> =end MetaPOD::JSON
Invoked as
$impl->add_segment({ data => "string" }, $result_object );
Which in turn decodes, handles, and validates the data in that segment.
Kent Fredric <kentfredric@gmail.com>
This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MetaPOD::Format::JSON, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MetaPOD::Format::JSON
CPAN shell
perl -MCPAN -e shell install MetaPOD::Format::JSON
For more information on module installation, please visit the detailed CPAN module installation guide.