—#!/usr/bin/env perl
# PODNAME: pp
our
$VERSION
=
'2.001006'
;
# VERSION
# App-PipeFilter is probably worth looking at
use
strict;
use
warnings;
use
JSON;
while
(<>) {
eval
{
my
$j
= JSON->new->pretty->allow_nonref;
$j
->encode(
$j
->decode(
$_
));
1
} ||
"$_\n"
}
__END__
=pod
=head1 NAME
pp
=head1 VERSION
version 2.001006
=head1 AUTHOR
Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Arthur Axel "fREW" Schmidt.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut