Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 57 lines (35 sloc) 1.26 KB
#!/usr/bin/perl
use App::PipeFilter::JsonMap;
exit App::PipeFilter::JsonMap->new_with_options()->run();
__END__
=pod
=head1 NAME
jmap - map input JSON fields to output JSON fields by renaming them
=head1 SYNOPSIS
jmap -i original_name -o new_name [-i orig -o new ...] [file ...]
=head1 DESCRIPTION
jmap(1) behaves like jcat(1) but renames fields in the process of
concatenating input files. jmap(1) reads files sequentially, altering
some or all of their field names before writing them to standard
output. jmap(1) can rename multiple fields by repeating its -i and -o
flags.
The -i and -o flags' unique behavior is implemented in
L<App::PipeFilter::JsonMap>.
See that module for more detailed documentation.
=head1 SEE ALSO
You may read this utility's implementation in its entirety at
perldoc -m jmap
L<App::PipeFilter> has top-level documentation including a table of
contents for all the libraries and utilities 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
jmap
is Copyright 2011 by Rocco Caputo.
All rights are reserved.
jmap
is released under the same terms as Perl itself.
=cut
# vim: ts=2 sw=2 expandtab
Something went wrong with that request. Please try again.