NAME
WWW::Kickstarter::JsonParser - JSON parser connector for WWW::Kickstarter
SYNOPSIS
use WWW::Kickstarter;
my $ks = WWW::Kickstarter->new(
json_parser_class => 'WWW::Kickstarter::JsonParser::JsonXs', # default
...
);
DESCRIPTION
This module documents the interface that must be provided by JSON parsers to be used by WWW::Kickstarter.
CONSTRUCTOR
new
my $parser = $json_parser_class->new();
The constructor. An WWW::Kickstarter::Error object is thrown on error.
METHODS
decode
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.
VERSION, BUGS, KNOWN ISSUES, DOCUMENTATION, SUPPORT, AUTHOR, COPYRIGHT AND LICENSE
See WWW::Kickstarter