This file is indexed.

/usr/share/doc/libjsoncpp-doc/class_json_1_1_styled_writer.html is in libjsoncpp-doc 1.7.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
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<html>
<head>
<title>
JsonCpp - JSON data format manipulation library
</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff"> 
<table width="100%">
  <tr>
    <td width="40%" align="left" valign="center">
      <a href="https://github.com/open-source-parsers/jsoncpp">
      JsonCpp project page
      </a>
    </td>
    <td width="40%" align="right" valign="center">
      <a href="http://open-source-parsers.github.io/jsoncpp-docs/doxygen/">JsonCpp home page</a>
    </td>
  </tr>
</table>
<hr>
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_json.html">Json</a></li><li class="navelem"><a class="el" href="class_json_1_1_styled_writer.html">StyledWriter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_json_1_1_styled_writer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Json::StyledWriter Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way.  
 <a href="class_json_1_1_styled_writer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="writer_8h_source.html">json/writer.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_json_1_1_writer.html">Json::Writer</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1f1b5f922a6a0ef0e56c6dd2f6170192"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_writer.html#a1f1b5f922a6a0ef0e56c6dd2f6170192">StyledWriter</a> ()</td></tr>
<tr class="separator:a1f1b5f922a6a0ef0e56c6dd2f6170192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26c779de3e1dfaba5d234023c5777791"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_writer.html#a26c779de3e1dfaba5d234023c5777791">~StyledWriter</a> ()</td></tr>
<tr class="separator:a26c779de3e1dfaba5d234023c5777791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f0fd80f60272b3f3c85690aae66e7d"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_styled_writer.html#a56f0fd80f60272b3f3c85690aae66e7d">write</a> (const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;root)</td></tr>
<tr class="memdesc:a56f0fd80f60272b3f3c85690aae66e7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serialize a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format.  <a href="#a56f0fd80f60272b3f3c85690aae66e7d">More...</a><br /></td></tr>
<tr class="separator:a56f0fd80f60272b3f3c85690aae66e7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_json_1_1_writer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_json_1_1_writer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_json_1_1_writer.html">Json::Writer</a></td></tr>
<tr class="memitem:a3e618564336f26b14921f0d840db668c inherit pub_methods_class_json_1_1_writer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_writer.html#a3e618564336f26b14921f0d840db668c">~Writer</a> ()</td></tr>
<tr class="separator:a3e618564336f26b14921f0d840db668c inherit pub_methods_class_json_1_1_writer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Writes a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format in a human friendly way. </p>
<p>The rules for line break and indent are as follow:</p><ul>
<li>Object value:<ul>
<li>if empty then print {} without indent and line break</li>
<li>if not empty the print '{', line break &amp; indent, print one value per line and then unindent and line break and print '}'.</li>
</ul>
</li>
<li>Array value:<ul>
<li>if empty then print [] without indent and line break</li>
<li>if the array contains no object value, empty array or some other value types, and all the values fit on one lines, then print the array on a single line.</li>
<li>otherwise, it the values do not fit on one line, or the array contains object or non empty array, then print one value per line.</li>
</ul>
</li>
</ul>
<p>If the <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> have comments then they are outputed according to their <a class="el" href="namespace_json.html#a4fc417c23905b2ae9e2c47d197a45351">CommentPlacement</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_json_1_1_reader.html" title="Unserialize a JSON document into a Value. ">Reader</a>, <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a>, <a class="el" href="class_json_1_1_value.html#a29f3a30f7e5d3af6f38d57999bf5b480">Value::setComment()</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000009">Deprecated:</a></b></dt><dd>Use <a class="el" href="class_json_1_1_stream_writer_builder.html" title="Build a StreamWriter implementation. ">StreamWriterBuilder</a>. </dd></dl>

<p>Definition at line <a class="el" href="writer_8h_source.html#l00210">210</a> of file <a class="el" href="writer_8h_source.html">writer.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1f1b5f922a6a0ef0e56c6dd2f6170192"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Json::StyledWriter::StyledWriter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="json__writer_8cpp_source.html#l00394">394</a> of file <a class="el" href="json__writer_8cpp_source.html">json_writer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a26c779de3e1dfaba5d234023c5777791"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Json::StyledWriter::~StyledWriter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="writer_8h_source.html#l00213">213</a> of file <a class="el" href="writer_8h_source.html">writer.h</a>.</p>

<p>References <a class="el" href="config_8h_source.html#l00081">JSONCPP_OVERRIDE</a>, <a class="el" href="config_8h_source.html#l00165">JSONCPP_STRING</a>, and <a class="el" href="json__reader_8cpp_source.html#l00372">Json::normalizeEOL()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a56f0fd80f60272b3f3c85690aae66e7d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string Json::StyledWriter::write </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_json_1_1_value.html">Value</a> &amp;&#160;</td>
          <td class="paramname"><em>root</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serialize a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> in <a href="http://www.json.org">JSON</a> format. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">root</td><td><a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> to serialize. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>String containing the JSON document that represents the root value. </dd></dl>

<p>Implements <a class="el" href="class_json_1_1_writer.html#a7b2273a4ffd6f32b369ac8a53b7b5a0d">Json::Writer</a>.</p>

<p>Definition at line <a class="el" href="json__writer_8cpp_source.html#l00397">397</a> of file <a class="el" href="json__writer_8cpp_source.html">json_writer.cpp</a>.</p>

<p>References <a class="el" href="value_8h_source.html#l00098">Json::arrayValue</a>, <a class="el" href="json__value_8cpp_source.html#l00845">Json::Value::asBool()</a>, <a class="el" href="json__value_8cpp_source.html#l00800">Json::Value::asDouble()</a>, <a class="el" href="json__value_8cpp_source.html#l00784">Json::Value::asLargestInt()</a>, <a class="el" href="json__value_8cpp_source.html#l00792">Json::Value::asLargestUInt()</a>, <a class="el" href="value_8h_source.html#l00097">Json::booleanValue</a>, <a class="el" href="value_8h_source.html#l00105">Json::commentAfter</a>, <a class="el" href="value_8h_source.html#l00104">Json::commentAfterOnSameLine</a>, <a class="el" href="value_8h_source.html#l00103">Json::commentBefore</a>, <a class="el" href="json__value_8cpp_source.html#l01376">Json::Value::getComment()</a>, <a class="el" href="json__value_8cpp_source.html#l01215">Json::Value::getMemberNames()</a>, <a class="el" href="json__value_8cpp_source.html#l00651">Json::Value::getString()</a>, <a class="el" href="json__value_8cpp_source.html#l01372">Json::Value::hasComment()</a>, <a class="el" href="value_8h_source.html#l00093">Json::intValue</a>, <a class="el" href="json__value_8cpp_source.html#l01350">Json::Value::isArray()</a>, <a class="el" href="json__value_8cpp_source.html#l01352">Json::Value::isObject()</a>, <a class="el" href="config_8h_source.html#l00165">JSONCPP_STRING</a>, <a class="el" href="value_8h_source.html#l00092">Json::nullValue</a>, <a class="el" href="value_8h_source.html#l00099">Json::objectValue</a>, <a class="el" href="value_8h_source.html#l00095">Json::realValue</a>, <a class="el" href="json__value_8cpp_source.html#l00898">Json::Value::size()</a>, <a class="el" href="value_8h_source.html#l00096">Json::stringValue</a>, <a class="el" href="json__value_8cpp_source.html#l00519">Json::Value::type()</a>, <a class="el" href="value_8h_source.html#l00094">Json::uintValue</a>, <a class="el" href="json__writer_8cpp_source.html#l00172">Json::valueToQuotedString()</a>, <a class="el" href="json__writer_8cpp_source.html#l00249">Json::valueToQuotedStringN()</a>, and <a class="el" href="json__writer_8cpp_source.html#l00128">Json::valueToString()</a>.</p>

<p>Referenced by <a class="el" href="json__value_8cpp_source.html#l01390">Json::Value::toStyledString()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/json/<a class="el" href="writer_8h_source.html">writer.h</a></li>
<li>src/lib_json/<a class="el" href="json__writer_8cpp_source.html">json_writer.cpp</a></li>
</ul>
</div><!-- contents -->
<hr>
</body> 
</html>