Imported Upstream version 1.2.4
[platform/upstream/json-glib.git] / doc / reference / html / json-validate-tool.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>json-glib-validate: JSON-GLib Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="index.html" title="JSON-GLib Reference Manual">
8 <link rel="up" href="tools.html" title="JSON-GLib Tools">
9 <link rel="prev" href="json-format-tool.html" title="json-glib-format">
10 <link rel="next" href="ch06.html" title="Object Hierarchy">
11 <meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts"></td>
17 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18 <td><a accesskey="u" href="tools.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19 <td><a accesskey="p" href="json-format-tool.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20 <td><a accesskey="n" href="ch06.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21 </tr></table>
22 <div lang="en" class="refentry">
23 <a name="json-validate-tool"></a><div class="titlepage"></div>
24 <div class="refnamediv"><table width="100%"><tr>
25 <td valign="top">
26 <h2><span class="refentrytitle">json-glib-validate</span></h2>
27 <p>json-glib-validate — JSON-GLib validation tool</p>
28 </td>
29 <td class="gallery_image" valign="top" align="right"></td>
30 </tr></table></div>
31 <div class="refsynopsisdiv">
32 <h2>Synopsis</h2>
33 <div class="cmdsynopsis"><p><code class="command">json-glib-validate</code>  [<code class="option">-h</code>, <code class="option">--help</code>]  URI  [
34        URI... 
35     ]</p></div>
36 </div>
37 <div class="refsect1">
38 <a name="id-1.6.2.3.5"></a><h2>Description</h2>
39 <p><span class="command"><strong>json-glib-validate</strong></span> offers a simple command line
40 interface to validate JSON data. It lets you list URIs that point to JSON
41 data and checks that the data conforms to the JSON syntax.</p>
42 <p>
43 The resources to operate on are specified by the <em class="replaceable"><code>URI</code></em>
44 argument.
45 </p>
46 <p>
47 If the JSON data is valid, <span class="command"><strong>json-glib-validate</strong></span> will terminate
48 with an exit code of 0; if the data is invalid, an error will be printed on
49 <em class="replaceable"><code>stderr</code></em> and <span class="command"><strong>json-glib-validate</strong></span> will
50 terminate with a nonzero exit code.</p>
51 </div>
52 <div class="refsect1">
53 <a name="id-1.6.2.3.6"></a><h2>Commands</h2>
54 <div class="variablelist"><table border="0" class="variablelist">
55 <colgroup>
56 <col align="left" valign="top">
57 <col>
58 </colgroup>
59 <tbody><tr>
60 <td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
61 <td><p>
62 Prints help and exits.
63 </p></td>
64 </tr></tbody>
65 </table></div>
66 </div>
67 </div>
68 <div class="footer">
69 <hr>Generated by GTK-Doc V1.25.1</div>
70 </body>
71 </html>