.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "JSON-GLIB-FORMAT" "1" "" "" "text processing" .SH NAME json-glib-format \- JSON Formatting Tool .SH SYNOPSIS .nf \fBjson\-glib\-format\fP [OPTIONS...] [...] .fi .sp .SH DESCRIPTION .sp \fBjson\-glib\-format\fP offers a simple command line interface to format JSON data. It reads a list or URIs, applies the spacified formatting rules on the JSON data, and outputs the formatted JSON to the standard output or to a file. .sp The resources to operate on are specified by the \fBFILE\fP argument. .SH OPTIONS .sp \fB\-h, \-\-help\fP .INDENT 0.0 .INDENT 3.5 Print a help message and exit. .UNINDENT .UNINDENT .sp \fB\-\-output=FILE\fP .INDENT 0.0 .INDENT 3.5 Redirects the output to \fBFILE\fP instead of using the standard output. .UNINDENT .UNINDENT .sp \fB\-p, \-\-prettify\fP .INDENT 0.0 .INDENT 3.5 Prettifies the output, by adding spaces and indentation. This argument is useful to improve the readability of JSON data, at the expense of its size. .UNINDENT .UNINDENT .sp \fB\-\-indent\-spaces=SPACES\fP .INDENT 0.0 .INDENT 3.5 Changes the number of spaces using to indent the JSON data from the default of 2. This argument is only considered if \fB\-\-prettify\fP is used. .UNINDENT .UNINDENT .SH SEE ALSO .INDENT 0.0 .IP \(bu 2 JSON\-GLib .IP \(bu 2 \fBjson\-glib\-validate(1)\fP .UNINDENT .SH AUTHOR Emmanuele Bassi .\" Generated by docutils manpage writer. .