1JSON-GLIB-FORMAT(1)              User Commands             JSON-GLIB-FORMAT(1)
2
3
4

NAME

6       json-glib-format - JSON-GLib formatting tool
7

SYNOPSIS

9       json-glib-format [-h, --help] [--output FILE] [--prettify]
10                        [--indent-spaces SPACES] URI [URI...]
11

DESCRIPTION

13       json-glib-format offers a simple command line interface to format JSON
14       data. It reads a list or URIs, applies the spacified formatting rules
15       on the JSON data, and outputs the formatted JSON to the standard output
16       or to a file.
17
18       The resources to operate on are specified by the URI argument.
19

COMMANDS

21       -h, --help
22           Prints help and exits.
23
24       --output FILE
25           Redirects the output to FILE instead of using the standard output.
26
27       -p, --prettify
28           Prettifies the output, by adding spaces and indentation. This
29           argument is useful to improve the readability of JSON data, at the
30           expense of its size.
31
32       --indent-spaces SPACES
33           Changes the number of spaces using to indent the JSON data from the
34           default of 2. This argument is only considered if --prettify is
35           used.
36

AUTHOR

38       Emmanuele Bassi
39           Developer
40
41
42
43JSON-GLib                                                  JSON-GLIB-FORMAT(1)
Impressum