DOKK / manpages / debian 10 / yajl-tools / json_reformat.1.en
JSON_REFORMAT(1) General Commands Manual JSON_REFORMAT(1)

json_reformat - A simple json reformatting tool

json_reformat [options] < input-file [> output-file]

json_reformat reads json data from standard input and sends formatted data to standard output. It attempts to format for readability by default and returns success (zero result) if the input file is valid, and failure (nonzero result) otherwise.

escape any forward slashes (for embedding in HTML)
minimize json rather than beautify
reformat a stream of multiple json entities
allow invalid UTF8 inside strings during parsing

Lloyd Hilaiel <me@lloyd.io>

This manual page was written by John Stamp <jstamp@users.sourceforge.net>. Permission is granted to redistribute, use, and/or modify this document under the same terms as json_reformat itself.

Apr 2014 json_reformat