WWW::Kickstarter::JsonParser - JSON parser connector for WWW::Kickstarter
use WWW::Kickstarter; my $ks = WWW::Kickstarter->new( json_parser_class => 'WWW::Kickstarter::JsonParser::JsonXs', # default ... );
This module documents the interface that must be provided by JSON parsers to be used by WWW::Kickstarter.
my $parser = $json_parser_class->new();
The constructor. An WWW::Kickstarter::Error object is thrown on error.
my $data = $parser->decode($json);
Returns a data structure represented by the provided JSON string. The provided JSON string is expected to be encoded using UTF-8. An error message string is thrown on error.
See WWW::Kickstarter
To install WWW::Kickstarter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Kickstarter
CPAN shell
perl -MCPAN -e shell install WWW::Kickstarter
For more information on module installation, please visit the detailed CPAN module installation guide.