NAME

jsonpath - use JSON::Path to cut out selected portions of JSON objects

VERSION

version 0.001

SYNOPSIS

jsonpath [--verbose] -o json_path_1 [-o json_path_2 ...] [file ...]

DESCRIPTION

jsonpath(1) cuts out selected portions of each JSON record and writes them to standard output. Fields are selected using JSON::Path expressions, which are a Perl-centric variant of JSONPath. Multiple fields may be specified, one per -o flag.

Output fields are named col#, where the # is the numeric position of the corresponding JSON::Path expression on the command line. The first column is col0. jmap(1) may be used to give each output field a more useful name.

SEE ALSO

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

perldoc -m jsonpath

App::PipeFilter::JsonPath implements this utility, including the behavior of the -o flag.

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

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