NAME

jsort - sort input files of JSON objects on key fields

VERSION

version 0.005

SYNOPSIS

jsort [-n] [-r] -k field_name [-k field_name] [--verbose] [file ...]

DESCRIPTION

Write a sorted concatenation of all input JSON objects to standard output. Modeled after sort(1), except that key fields are specified by JSON names rather than field positions.

The sort(1) utility is called upon to do most of the work. The -n and -r flags are passed directly to it.

SEE ALSO

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

perldoc -m jsort

App::PipeFilter::JsonSort implements this utility, including the behaviors of the -n, -r and -k flags.

App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities 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

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