/usr/share/gtk-doc/html/json-glib/json-format-tool.html is in libjson-glib-doc 1.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSON-GLib Reference Manual: json-glib-format</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
<link rel="up" href="tools.html" title="JSON-GLib Tools">
<link rel="prev" href="tools.html" title="JSON-GLib Tools">
<link rel="next" href="json-validate-tool.html" title="json-glib-validate">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="tools.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="tools.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="json-validate-tool.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div lang="en" class="refentry">
<a name="json-format-tool"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">json-glib-format</span></h2>
<p>json-glib-format — JSON-GLib formatting tool</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">json-glib-format</code> [<code class="option">-h</code>, <code class="option">--help</code>] [<code class="option">--prettify</code>] [<code class="option">--indent-spaces</code> <em class="replaceable"><code>SPACES</code></em>] URI [
URI...
]</p></div>
</div>
<div class="refsect1">
<a name="id-1.6.2.2.5"></a><h2>Description</h2>
<p><span class="command"><strong>json-glib-format</strong></span> offers a simple command line
interface to format JSON data. It reads a list or URIs, applies the
spacified formatting rules on the JSON data, and outputs the formatted
JSON to the standard output.</p>
<p>
The resources to operate on are specified by the <em class="replaceable"><code>URI</code></em>
argument.
</p>
</div>
<div class="refsect1">
<a name="id-1.6.2.2.6"></a><h2>Commands</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
<td><p>
Prints help and exits.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">-p</code>, <code class="option">--prettify</code></span></p></td>
<td><p>
Prettifies the output, by adding spaces and indentation. This argument is
useful to improve the readability of JSON data, at the expense of its size.
</p></td>
</tr>
<tr>
<td><p><span class="term"><code class="option">--indent-spaces</code> <em class="replaceable"><code>SPACES</code></em></span></p></td>
<td><p>
Changes the number of spaces using to indent the JSON data from the default of 2.
This argument is only considered if <code class="option">--prettify</code> is used.
</p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|