1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
.. _json-glib-validate:
==================
json-glib-validate
==================
--------------------
JSON Validation Tool
--------------------
:Author: Emmanuele Bassi
:Manual section: 1
:Manual group: text processing
SYNOPSIS
--------
| **json-glib-validate** [OPTIONS...] <FILE>
DESCRIPTION
-----------
``json-glib-validate`` offers a simple command line interface to validate JSON
data. It lets you list URIs that point to JSON data and checks that the data
conforms to the JSON syntax.
The resources to operate on are specified by the ``FILE`` argument.
If the JSON data is valid, ``json-glib-validate`` will terminate with an exit
code of 0; if the data is invalid, an error will be printed on ``stderr`` and
``json-glib-validate`` will terminate with a nonzero exit code.
OPTIONS
-------
``-h, --help``
Print a help message and exit.
EXIT STATUS
-----------
- **0** Validation successful.
- **1** Validation error.
SEE ALSO
--------
* `JSON-GLib <https://gitlab.gnome.org/GNOME/json-glib>`__
* ``json-glib-format(1)``
|