json-glib-validate(1)

json-glib-validate1

Json validation tool

Usage

json-glib-validate [OPTIONS ...] <FILE>

Overview

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.

Releases

7 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13–Arch

Author

Emmanuele Bassi

From json-glib 1.10.8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.