jmap - map input JSON fields to output JSON fields by renaming them
jmap -i original_name -o new_name [-i orig -o new ...] [file ...]
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 App::PipeFilter::JsonMap. See that module for more detailed documentation.
You may read this utility's implementation in its entirety at
perldoc -m jmap
App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities included in the project.
jmap is Copyright 2011 by Rocco Caputo. All rights are reserved. jmap is released under the same terms as Perl itself.