Imported Upstream version 1.2.4
[platform/upstream/json-glib.git] / doc / reference / json-glib-validate.1
1 '\" t
2 .\"     Title: json-glib-validate
3 .\"    Author: Emmanuele Bassi
4 .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
5 .\"      Date: 03/13/2017
6 .\"    Manual: User Commands
7 .\"    Source: JSON-GLib
8 .\"  Language: English
9 .\"
10 .TH "JSON\-GLIB\-VALIDATE" "1" "" "JSON-GLib" "User Commands"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 json-glib-validate \- JSON\-GLib validation tool
32 .SH "SYNOPSIS"
33 .HP \w'\fBjson\-glib\-validate\fR\ 'u
34 \fBjson\-glib\-validate\fR [\fB\-h\fR,\ \fB\-\-help\fR] URI [URI...]
35 .SH "DESCRIPTION"
36 .PP
37 \fBjson\-glib\-validate\fR
38 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\&.
39 .PP
40 The resources to operate on are specified by the
41 \fIURI\fR
42 argument\&.
43 .PP
44 If the JSON data is valid,
45 \fBjson\-glib\-validate\fR
46 will terminate with an exit code of 0; if the data is invalid, an error will be printed on
47 \fIstderr\fR
48 and
49 \fBjson\-glib\-validate\fR
50 will terminate with a nonzero exit code\&.
51 .SH "COMMANDS"
52 .PP
53 \fB\-h\fR, \fB\-\-help\fR
54 .RS 4
55 Prints help and exits\&.
56 .RE