logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

json_reformat - A simple json reformatting tool

Authors

       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.

json_reformat                                       Apr 2014                                    JSON_REFORMAT(1)

Description

       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.

Name

       json_reformat - A simple json reformatting tool

Options

-e     escape any forward slashes (for embedding in HTML)

       -m     minimize json rather than beautify

       -s     reformat a stream of multiple json entities

       -u     allow invalid UTF8 inside strings during parsing

Synopsis

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

See Also