App::PipeFilter::JsonToYaml - translate streams of JSON objects into YAML
version 0.005
Here is the json2yaml(1) pipeline filter.
#!/usr/bin/perl use App::PipeFilter::JsonToYaml; exit App::PipeFilter::JsonToYaml->new_with_options()->run();
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.
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.
https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter
https://github.com/rcaputo/app-pipefilter
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.
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.