The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl
use App::PipeFilter::JsonToYaml;
exit App::PipeFilter::JsonToYaml->new_with_options()->run();

__END__

=pod

=head1 NAME

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

=head1 VERSION

version 0.005

=head1 SYNOPSIS

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

=head1 DESCRIPTION

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

=head1 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.

=head1 SEE ALSO

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

  perldoc -m json2yaml

L<App::PipeFilter::JsonToYaml> implements this utility.

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

=head1 BUGS

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

=head1 REPOSITORY

L<https://github.com/rcaputo/app-pipefilter>

=head1 COPYRIGHT AND LICENSE

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

=cut

# vim: ts=2 sw=2 expandtab