json_reformat1
A simple json reformatting tool
Usage
json_reformat [options]
<
input-file
[>
output-file]
Overview
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.
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
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.
-e since Debian 8 (Jessie);
-s since Debian 8 (Jessie).