NAME

File::Dir::Dumper::Stream::JSON::Writer - writer for a stream of JSON data.

VERSION

Version 0.0.7

SYNOPSIS

use File::Dir::Dumper::Stream::JSON::Writer;

my $writer = File::Dir::Dumper::Stream::JSON::Writer->new(
    {
        output => $output_file_handle,
    }
);

$writer->put($token);

$writer->put($another_token);

.
.
.

$writer->close();

METHODS

$self->new({ output => $output_filehandle})

Initializes a new object that writes to the filehandle $output_filehandle.

$self->put($token)

Outputs the next token as serialized.

$self->close()

Closes the output filehandle.

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:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT/X11 Licence.