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

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::JsonToYaml - translate streams of JSON objects into YAML

VERSION ^

version 0.005

SYNOPSIS ^

Here is the json2yaml(1) pipeline filter.

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

DESCRIPTION ^

App::PipeFilter::JsonToYaml implements the json2yaml(1) pipeline filter. It's modeled after cat(1), except that the output file format differs from the input format. The data's semantics remain identical, formats permitting.

SEE ALSO ^

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

  perldoc -m App::PipeFilter::JsonToYaml

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::Yaml.

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::JsonToYaml is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::JsonToYaml is released under the same terms as Perl itself.

syntax highlighting: