App::PipeFilter::Role::Input::Json - parse input as a stream of JSON records
version 0.005
package App::PipeFilter::Generic::Json; use Moose; extends 'App::PipeFilter::Generic'; with qw( App::PipeFilter::Role::Reader::Sysread App::PipeFilter::Role::Input::Json App::PipeFilter::Role::Output::Json ); 1;
App::PipeFilter::Role::Input::Json provides a decode_input() method that parses streams of JSON records. It supports large chunked reads via App::PipeFilter::Role::Reader::Sysread.
App::PipeFilter::Generic uses decode_input() to determine the format of the data it is reading.
App::PipeFilter::Generic::Json is a generic filter that reads and writes JSON streams. It extends App::PipeFilter::Generic with both App::PipeFilter::Role::Input::Json and App::PipeFilter::Role::Output::Json.
You may read this module's implementation in its entirety at
perldoc -m App::PipeFilter::Role::Input::Json
App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities included in the project.
https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter
https://github.com/rcaputo/app-pipefilter
App::PipeFilter::Role::Input::Json is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::Role::Input::Json is released under the same terms as Perl itself.
To install App::PipeFilter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PipeFilter
CPAN shell
perl -MCPAN -e shell install App::PipeFilter
For more information on module installation, please visit the detailed CPAN module installation guide.