NAME

json2yaml - convert files of JSON objects into a stream of YAML objects

VERSION

version 0.003

SYNOPSIS

json2yaml [--verbose] [file ...]

DESCRIPTION

json2yaml(1) reads files sequentially, writing them as YAML to standard output.

PRO TIPS

The YAML stream is vertical, with one field per line, whereas most of the JSON filters write entire objects per line.

This filter is often used as the equivalent of mysql(1)'s \G command:

ego (\G) Send command to mysql server, display result vertically.

The json_xs(1) utility can reformat JSON vertically as well, if you prefer JSON over YAML.

SEE ALSO

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

perldoc -m json2yaml

App::PipeFilter::JsonToYaml implements this utility.

App::PipeFilter has top-level documentation including a table of contents for all the libraries and binaries 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

json2yaml is Copyright 2011 by Rocco Caputo. All rights are reserved. json2yaml is released under the same terms as Perl itself.