json-glib-format - GLib formatting tool
json-glib-format [-h, --help] [--output FILE] [--prettify] [--indent-spaces SPACES] URI [URI...]
JSON-GLIB-FORMAT(1) User Commands JSON-GLIB-FORMAT(1)
NAME
json-glib-format - JSON-GLib formatting tool
SYNOPSIS
json-glib-format [-h, --help] [--output FILE] [--prettify]
[--indent-spaces SPACES] URI [URI...]
DESCRIPTION
json-glib-format 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.
The resources to operate on are specified by the URI argument.
COMMANDS
-h, --help
Prints help and exits.
--output FILE
Redirects the output to FILE instead of using the standard output.
-p, --prettify
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.
--indent-spaces SPACES
Changes the number of spaces using to indent the JSON data from the
default of 2. This argument is only considered if --prettify is
used.
AUTHOR
Emmanuele Bassi
Developer
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+-----------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------------+
|Availability | library/json-glib |
+---------------+-----------------------+
|Stability | Pass-through volatile |
+---------------+-----------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://download.gnome.org/sources/json-
glib/1.6/json-glib-1.6.0.tar.xz.
Further information about this software can be found on the open source
community website at https://wiki.gnome.org/Projects/JsonGlib.
JSON-GLib JSON-GLIB-FORMAT(1)