Rocco Caputo > App-PipeFilter-0.005 > App::PipeFilter::JsonToTsv

Download:
App-PipeFilter-0.005.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.005   Source  

NAME ^

App::PipeFilter::JsonToTsv - translate streams of JSON objects into tab-separated columns

VERSION ^

version 0.005

SYNOPSIS ^

Here is the json2tsv(1) pipeline filter.

  #!/usr/bin/perl
  use App::PipeFilter::JsonToTsv;
  exit App::PipeFilter::JsonToTsv->new_with_options()->run();

DESCRIPTION ^

App::PipeFilter::JsonToTsv implements the json2tsv(1) pipeline filter. It's modeled after cut(1), except that it reads JSON objects and writes a stream of tab-separated rows.

SEE ALSO ^

You may read this module's implementation in its entirety at

  perldoc -m App::PipeFilter::JsonToTsv

This module doesn't implement anything of its own. It customizes App::PipeFilter::Generic with the following roles: App::PipeFilter::Role::Reader::Sysread, App::PipeFilter::Role::Input::Json, App::PipeFilter::Role::Transform::None and App::PipeFilter::Role::Output::Tsv.

App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities included in the project.

BUGS ^

https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter

REPOSITORY ^

https://github.com/rcaputo/app-pipefilter

COPYRIGHT AND LICENSE ^

App::PipeFilter::JsonToTsv is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::JsonToTsv is released under the same terms as Perl itself.

syntax highlighting: