NAME
File::Dir::Dumper::Stream::JSON::Reader - reader for stream of JSON objects.
VERSION
version v0.2.3
SYNOPSIS
use File::Dir::Dumper::Stream::JSON::Reader;
my $reader = File::Dir::Dumper::Stream::JSON::Reader->new(
{
input => \*FILEHANDLE,
}
);
while (defined(my $token = $reader->fetch())
{
# Do something with $token.
}
METHODS
$self->new({ input => $in_filehandle})
Initializes a new object that reads from the filehandle $in_filehandle.
$self->fetch()
Fetches the next object. Returns undef upon end of file.
AUTHOR
Shlomi Fish, <shlomif@cpan.org>
BUGS
Please report any bugs or feature requests to bug-file-dir-dumper at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=File-Dir-Dumper. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc File::Dir::Dumper
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT/X11 Licence.