clutter 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -10
- data/dependency-check/Rakefile +40 -0
- data/test/clutter-test-utils.rb +0 -4
- data/test/run-test.rb +1 -1
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +2 -2
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +4 -4
- data/vendor/local/share/gir-1.0/Json-1.0.gir +42 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +43 -38
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +60 -55
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +118 -113
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +28 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +82 -77
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +23 -5
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +58 -53
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +62 -57
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +85 -80
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +56 -51
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +169 -144
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +116 -111
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +66 -61
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +14 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +15 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/{json-glib.html → json-overview.html} +6 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +1 -1
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +2 -2
- data/vendor/local/share/man/man1/json-glib-validate.1 +2 -2
- metadata +15 -14
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JsonPath: JSON-GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch02.html" title="Parser">
|
9
9
|
<link rel="prev" href="JsonReader.html" title="JsonReader">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr></table></div>
|
35
35
|
<div class="refsect1">
|
36
36
|
<a name="JsonPath.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
38
|
<colgroup>
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
@@ -50,7 +50,7 @@
|
|
50
50
|
</tr>
|
51
51
|
<tr>
|
52
52
|
<td class="function_type">
|
53
|
-
<span class="returnvalue">gboolean</span>
|
53
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
54
54
|
</td>
|
55
55
|
<td class="function_name">
|
56
56
|
<a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()">json_path_compile</a> <span class="c_punctuation">()</span>
|
@@ -77,7 +77,7 @@
|
|
77
77
|
</div>
|
78
78
|
<div class="refsect1">
|
79
79
|
<a name="JsonPath.other"></a><h2>Types and Values</h2>
|
80
|
-
<div class="informaltable"><table width="100%" border="0">
|
80
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
81
81
|
<colgroup>
|
82
82
|
<col width="150px" class="name">
|
83
83
|
<col class="description">
|
@@ -104,11 +104,16 @@
|
|
104
104
|
</div>
|
105
105
|
<div class="refsect1">
|
106
106
|
<a name="JsonPath.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
107
|
-
<pre class="screen"> GObject
|
107
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
108
108
|
<span class="lineart">╰──</span> JsonPath
|
109
109
|
</pre>
|
110
110
|
</div>
|
111
111
|
<div class="refsect1">
|
112
|
+
<a name="JsonPath.includes"></a><h2>Includes</h2>
|
113
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
114
|
+
</pre>
|
115
|
+
</div>
|
116
|
+
<div class="refsect1">
|
112
117
|
<a name="JsonPath.description"></a><h2>Description</h2>
|
113
118
|
<p><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> is a simple class implementing the JSONPath syntax for extracting
|
114
119
|
data out of a JSON tree. While the semantics of the JSONPath expressions are
|
@@ -123,7 +128,7 @@ the compilation of the new expression is successful.</p>
|
|
123
128
|
<p>The simple convenience function <a class="link" href="JsonPath.html#json-path-query" title="json_path_query ()"><code class="function">json_path_query()</code></a> can be used for one-off
|
124
129
|
matching.</p>
|
125
130
|
<div class="refsect3">
|
126
|
-
<a name="id-1.4.3.4.
|
131
|
+
<a name="id-1.4.3.4.7.5"></a><h4>Syntax of the JSONPath expressions</h4>
|
127
132
|
<p>A JSONPath expression is composed by path indices and operators.
|
128
133
|
Each path index can either be a member name or an element index inside
|
129
134
|
a JSON tree. A JSONPath expression must start with the '$' operator; each
|
@@ -182,7 +187,7 @@ of the store object.</p></li>
|
|
182
187
|
<a class="ulink" href="http://goessner.net/articles/JsonPath/" target="_top">JSONPath website</a>.</p>
|
183
188
|
</div>
|
184
189
|
<div class="refsect3">
|
185
|
-
<a name="id-1.4.3.4.
|
190
|
+
<a name="id-1.4.3.4.7.6"></a><h4>Example of JSONPath matches</h4>
|
186
191
|
<p>The following example shows some of the results of using <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a>
|
187
192
|
on a JSON tree. We use the following JSON description of a bookstore:</p>
|
188
193
|
<div class="informalexample">
|
@@ -235,7 +240,7 @@ on a JSON tree. We use the following JSON description of a bookstore:</p>
|
|
235
240
|
<td class="listing_lines" align="right"><pre>1
|
236
241
|
2</pre></td>
|
237
242
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonParser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parser </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonParser.html#json-parser-new">json_parser_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
238
|
-
<span class="function"><a href="JsonParser.html#json-parser-load-from-data">json_parser_load_from_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parser</span><span class="symbol">,</span><span class="normal"> json_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
243
|
+
<span class="function"><a href="JsonParser.html#json-parser-load-from-data">json_parser_load_from_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parser</span><span class="symbol">,</span><span class="normal"> json_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
|
239
244
|
</tr>
|
240
245
|
</tbody>
|
241
246
|
</table>
|
@@ -253,7 +258,7 @@ on a JSON tree. We use the following JSON description of a bookstore:</p>
|
|
253
258
|
4</pre></td>
|
254
259
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonNode</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">;</span>
|
255
260
|
<span class="usertype">JsonPath</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonPath.html#json-path-new">json_path_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
256
|
-
<span class="function"><a href="JsonPath.html#json-path-compile">json_path_compile</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"$.store..author"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
261
|
+
<span class="function"><a href="JsonPath.html#json-path-compile">json_path_compile</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"$.store..author"</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
257
262
|
<span class="normal">result </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonPath.html#json-path-match">json_path_match</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="JsonParser.html#json-parser-get-root">json_parser_get_root</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parser</span><span class="symbol">));</span></pre></td>
|
258
263
|
</tr>
|
259
264
|
</tbody>
|
@@ -274,8 +279,8 @@ author member of the objects in the JSON tree. If we use a
|
|
274
279
|
4</pre></td>
|
275
280
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonGenerator</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">generator </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonGenerator.html#json-generator-new">json_generator_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
276
281
|
<span class="function"><a href="JsonGenerator.html#json-generator-set-root">json_generator_set_root</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">generator</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">);</span>
|
277
|
-
<span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonGenerator.html#json-generator-to-data">json_generator_to_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">generator</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
278
|
-
<span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Results: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span></pre></td>
|
282
|
+
<span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonGenerator.html#json-generator-to-data">json_generator_to_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">generator</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
283
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Results: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span></pre></td>
|
279
284
|
</tr>
|
280
285
|
</tbody>
|
281
286
|
</table>
|
@@ -310,7 +315,7 @@ and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match
|
|
310
315
|
<div class="refsect3">
|
311
316
|
<a name="json-path-new.returns"></a><h4>Returns</h4>
|
312
317
|
<p> the newly created <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance. Use
|
313
|
-
<code class="function">g_object_unref()</code> to free the allocated resources when done. </p>
|
318
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to free the allocated resources when done. </p>
|
314
319
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
315
320
|
</div>
|
316
321
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -318,16 +323,16 @@ and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match
|
|
318
323
|
<hr>
|
319
324
|
<div class="refsect2">
|
320
325
|
<a name="json-path-compile"></a><h3>json_path_compile ()</h3>
|
321
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
326
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
322
327
|
json_path_compile (<em class="parameter"><code><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> *path</code></em>,
|
323
328
|
<em class="parameter"><code>const <span class="type">char</span> *expression</code></em>,
|
324
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
329
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
325
330
|
<p>Validates and decomposes <em class="parameter"><code>expression</code></em>
|
326
331
|
.</p>
|
327
332
|
<p>A JSONPath expression must be compiled before calling <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>.</p>
|
328
333
|
<div class="refsect3">
|
329
334
|
<a name="json-path-compile.parameters"></a><h4>Parameters</h4>
|
330
|
-
<div class="informaltable"><table width="100%" border="0">
|
335
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
331
336
|
<colgroup>
|
332
337
|
<col width="150px" class="parameters_name">
|
333
338
|
<col class="parameters_description">
|
@@ -346,7 +351,7 @@ json_path_compile (<em class="parameter"><code><a class="link" href="JsonPath.ht
|
|
346
351
|
</tr>
|
347
352
|
<tr>
|
348
353
|
<td class="parameter_name"><p>error</p></td>
|
349
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
354
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
350
355
|
<td class="parameter_annotations"> </td>
|
351
356
|
</tr>
|
352
357
|
</tbody>
|
@@ -354,10 +359,10 @@ json_path_compile (<em class="parameter"><code><a class="link" href="JsonPath.ht
|
|
354
359
|
</div>
|
355
360
|
<div class="refsect3">
|
356
361
|
<a name="json-path-compile.returns"></a><h4>Returns</h4>
|
357
|
-
<p> <code class="literal">TRUE</code> on success; on error, <em class="parameter"><code>error</code></em>
|
362
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success; on error, <em class="parameter"><code>error</code></em>
|
358
363
|
will be set with
|
359
364
|
the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain and a code from the <a class="link" href="JsonPath.html#JsonPathError" title="enum JsonPathError"><span class="type">JsonPathError</span></a>
|
360
|
-
enumeration, and <code class="literal">FALSE</code> will be returned</p>
|
365
|
+
enumeration, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> will be returned</p>
|
361
366
|
</div>
|
362
367
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
363
368
|
</div>
|
@@ -374,7 +379,7 @@ into the <a class="link" href="JsonPath.html" title="JsonPath"><span class="type
|
|
374
379
|
returned wrapped in a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
|
375
380
|
<div class="refsect3">
|
376
381
|
<a name="json-path-match.parameters"></a><h4>Parameters</h4>
|
377
|
-
<div class="informaltable"><table width="100%" border="0">
|
382
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
378
383
|
<colgroup>
|
379
384
|
<col width="150px" class="parameters_name">
|
380
385
|
<col class="parameters_description">
|
@@ -409,7 +414,7 @@ Use <a class="link" href="json-glib-JSON-Node.html#json-node-unref" title="json_
|
|
409
414
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
410
415
|
json_path_query (<em class="parameter"><code>const <span class="type">char</span> *expression</code></em>,
|
411
416
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *root</code></em>,
|
412
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
417
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
413
418
|
<p>Queries a JSON tree using a JSONPath expression.</p>
|
414
419
|
<p>This function is a simple wrapper around <a class="link" href="JsonPath.html#json-path-new" title="json_path_new ()"><code class="function">json_path_new()</code></a>,
|
415
420
|
<a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a> and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>. It implicitly
|
@@ -419,7 +424,7 @@ matches it against the JSON tree pointed by <em class="parameter"><code>root</co
|
|
419
424
|
.</p>
|
420
425
|
<div class="refsect3">
|
421
426
|
<a name="json-path-query.parameters"></a><h4>Parameters</h4>
|
422
|
-
<div class="informaltable"><table width="100%" border="0">
|
427
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
423
428
|
<colgroup>
|
424
429
|
<col width="150px" class="parameters_name">
|
425
430
|
<col class="parameters_description">
|
@@ -438,7 +443,7 @@ matches it against the JSON tree pointed by <em class="parameter"><code>root</co
|
|
438
443
|
</tr>
|
439
444
|
<tr>
|
440
445
|
<td class="parameter_name"><p>error</p></td>
|
441
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
446
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
442
447
|
<td class="parameter_annotations"> </td>
|
443
448
|
</tr>
|
444
449
|
</tbody>
|
@@ -485,7 +490,7 @@ cannot be directly accessed.</p>
|
|
485
490
|
<p>Error code enumeration for the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain.</p>
|
486
491
|
<div class="refsect3">
|
487
492
|
<a name="JsonPathError.members"></a><h4>Members</h4>
|
488
|
-
<div class="informaltable"><table width="100%" border="0">
|
493
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
489
494
|
<colgroup>
|
490
495
|
<col width="300px" class="enum_members_name">
|
491
496
|
<col class="enum_members_description">
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JsonReader: JSON-GLib Reference Manual</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch02.html" title="Parser">
|
9
9
|
<link rel="prev" href="JsonParser.html" title="JsonParser">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</tr></table></div>
|
36
36
|
<div class="refsect1">
|
37
37
|
<a name="JsonReader.functions"></a><h2>Functions</h2>
|
38
|
-
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
39
39
|
<colgroup>
|
40
40
|
<col width="150px" class="functions_return">
|
41
41
|
<col class="functions_name">
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</tr>
|
60
60
|
<tr>
|
61
61
|
<td class="function_type">
|
62
|
-
<span class="returnvalue">gboolean</span>
|
62
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
63
63
|
</td>
|
64
64
|
<td class="function_name">
|
65
65
|
<a class="link" href="JsonReader.html#json-reader-read-element" title="json_reader_read_element ()">json_reader_read_element</a> <span class="c_punctuation">()</span>
|
@@ -75,7 +75,7 @@
|
|
75
75
|
</tr>
|
76
76
|
<tr>
|
77
77
|
<td class="function_type">
|
78
|
-
<span class="returnvalue">gboolean</span>
|
78
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
79
79
|
</td>
|
80
80
|
<td class="function_name">
|
81
81
|
<a class="link" href="JsonReader.html#json-reader-is-array" title="json_reader_is_array ()">json_reader_is_array</a> <span class="c_punctuation">()</span>
|
@@ -83,7 +83,7 @@
|
|
83
83
|
</tr>
|
84
84
|
<tr>
|
85
85
|
<td class="function_type">
|
86
|
-
<span class="returnvalue">gint</span>
|
86
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
87
87
|
</td>
|
88
88
|
<td class="function_name">
|
89
89
|
<a class="link" href="JsonReader.html#json-reader-count-elements" title="json_reader_count_elements ()">json_reader_count_elements</a> <span class="c_punctuation">()</span>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="function_type">
|
94
|
-
<span class="returnvalue">gboolean</span>
|
94
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
97
|
<a class="link" href="JsonReader.html#json-reader-read-member" title="json_reader_read_member ()">json_reader_read_member</a> <span class="c_punctuation">()</span>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</tr>
|
108
108
|
<tr>
|
109
109
|
<td class="function_type">
|
110
|
-
<span class="returnvalue">gboolean</span>
|
110
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="JsonReader.html#json-reader-is-object" title="json_reader_is_object ()">json_reader_is_object</a> <span class="c_punctuation">()</span>
|
@@ -115,7 +115,7 @@
|
|
115
115
|
</tr>
|
116
116
|
<tr>
|
117
117
|
<td class="function_type">
|
118
|
-
<span class="returnvalue">gint</span>
|
118
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
119
119
|
</td>
|
120
120
|
<td class="function_name">
|
121
121
|
<a class="link" href="JsonReader.html#json-reader-count-members" title="json_reader_count_members ()">json_reader_count_members</a> <span class="c_punctuation">()</span>
|
@@ -123,14 +123,14 @@
|
|
123
123
|
</tr>
|
124
124
|
<tr>
|
125
125
|
<td class="function_type">
|
126
|
-
<span class="returnvalue">gchar</span> **
|
126
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
127
127
|
</td>
|
128
128
|
<td class="function_name">
|
129
129
|
<a class="link" href="JsonReader.html#json-reader-list-members" title="json_reader_list_members ()">json_reader_list_members</a> <span class="c_punctuation">()</span>
|
130
130
|
</td>
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
|
-
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
133
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
134
134
|
</td>
|
135
135
|
<td class="function_name">
|
136
136
|
<a class="link" href="JsonReader.html#json-reader-get-member-name" title="json_reader_get_member_name ()">json_reader_get_member_name</a> <span class="c_punctuation">()</span>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
</tr>
|
139
139
|
<tr>
|
140
140
|
<td class="function_type">
|
141
|
-
<span class="returnvalue">gboolean</span>
|
141
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
142
142
|
</td>
|
143
143
|
<td class="function_name">
|
144
144
|
<a class="link" href="JsonReader.html#json-reader-is-value" title="json_reader_is_value ()">json_reader_is_value</a> <span class="c_punctuation">()</span>
|
@@ -154,7 +154,7 @@
|
|
154
154
|
</tr>
|
155
155
|
<tr>
|
156
156
|
<td class="function_type">
|
157
|
-
<span class="returnvalue">gint64</span>
|
157
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
158
158
|
</td>
|
159
159
|
<td class="function_name">
|
160
160
|
<a class="link" href="JsonReader.html#json-reader-get-int-value" title="json_reader_get_int_value ()">json_reader_get_int_value</a> <span class="c_punctuation">()</span>
|
@@ -162,14 +162,14 @@
|
|
162
162
|
</tr>
|
163
163
|
<tr>
|
164
164
|
<td class="function_type">
|
165
|
-
<span class="returnvalue">gdouble</span>
|
165
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
166
166
|
</td>
|
167
167
|
<td class="function_name">
|
168
168
|
<a class="link" href="JsonReader.html#json-reader-get-double-value" title="json_reader_get_double_value ()">json_reader_get_double_value</a> <span class="c_punctuation">()</span>
|
169
169
|
</td>
|
170
170
|
</tr>
|
171
171
|
<tr>
|
172
|
-
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
172
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
173
173
|
</td>
|
174
174
|
<td class="function_name">
|
175
175
|
<a class="link" href="JsonReader.html#json-reader-get-string-value" title="json_reader_get_string_value ()">json_reader_get_string_value</a> <span class="c_punctuation">()</span>
|
@@ -177,7 +177,7 @@
|
|
177
177
|
</tr>
|
178
178
|
<tr>
|
179
179
|
<td class="function_type">
|
180
|
-
<span class="returnvalue">gboolean</span>
|
180
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
181
181
|
</td>
|
182
182
|
<td class="function_name">
|
183
183
|
<a class="link" href="JsonReader.html#json-reader-get-boolean-value" title="json_reader_get_boolean_value ()">json_reader_get_boolean_value</a> <span class="c_punctuation">()</span>
|
@@ -185,14 +185,14 @@
|
|
185
185
|
</tr>
|
186
186
|
<tr>
|
187
187
|
<td class="function_type">
|
188
|
-
<span class="returnvalue">gboolean</span>
|
188
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
189
189
|
</td>
|
190
190
|
<td class="function_name">
|
191
191
|
<a class="link" href="JsonReader.html#json-reader-get-null-value" title="json_reader_get_null_value ()">json_reader_get_null_value</a> <span class="c_punctuation">()</span>
|
192
192
|
</td>
|
193
193
|
</tr>
|
194
194
|
<tr>
|
195
|
-
<td class="function_type">const <span class="returnvalue">GError</span> *
|
195
|
+
<td class="function_type">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
|
196
196
|
</td>
|
197
197
|
<td class="function_name">
|
198
198
|
<a class="link" href="JsonReader.html#json-reader-get-error" title="json_reader_get_error ()">json_reader_get_error</a> <span class="c_punctuation">()</span>
|
@@ -203,7 +203,7 @@
|
|
203
203
|
</div>
|
204
204
|
<div class="refsect1">
|
205
205
|
<a name="JsonReader.properties"></a><h2>Properties</h2>
|
206
|
-
<div class="informaltable"><table border="0">
|
206
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
207
207
|
<colgroup>
|
208
208
|
<col width="150px" class="properties_type">
|
209
209
|
<col width="300px" class="properties_name">
|
@@ -219,7 +219,7 @@
|
|
219
219
|
</div>
|
220
220
|
<div class="refsect1">
|
221
221
|
<a name="JsonReader.other"></a><h2>Types and Values</h2>
|
222
|
-
<div class="informaltable"><table width="100%" border="0">
|
222
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
223
223
|
<colgroup>
|
224
224
|
<col width="150px" class="name">
|
225
225
|
<col class="description">
|
@@ -246,11 +246,16 @@
|
|
246
246
|
</div>
|
247
247
|
<div class="refsect1">
|
248
248
|
<a name="JsonReader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
249
|
-
<pre class="screen"> GObject
|
249
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
250
250
|
<span class="lineart">╰──</span> JsonReader
|
251
251
|
</pre>
|
252
252
|
</div>
|
253
253
|
<div class="refsect1">
|
254
|
+
<a name="JsonReader.includes"></a><h2>Includes</h2>
|
255
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
256
|
+
</pre>
|
257
|
+
</div>
|
258
|
+
<div class="refsect1">
|
254
259
|
<a name="JsonReader.description"></a><h2>Description</h2>
|
255
260
|
<p><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> provides a simple, cursor-based API for parsing a JSON DOM. It
|
256
261
|
is similar, in spirit, to the XML Reader API.</p>
|
@@ -305,7 +310,7 @@ called, e.g.:</p>
|
|
305
310
|
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="JsonReader.html#json-reader-read-element">json_reader_read_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">))</span>
|
306
311
|
<span class="normal"> </span><span class="cbracket">{</span>
|
307
312
|
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-error">json_reader_get_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
308
|
-
<span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unable to read the element: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
313
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Unable to read the element: %s"</span><span class="symbol">,</span><span class="normal"> error</span><span class="symbol">-></span><span class="normal">message</span><span class="symbol">);</span>
|
309
314
|
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
310
315
|
</tr>
|
311
316
|
</tbody>
|
@@ -326,7 +331,7 @@ the JSON tree starting from <em class="parameter"><code>node</code></em>
|
|
326
331
|
</p>
|
327
332
|
<div class="refsect3">
|
328
333
|
<a name="json-reader-new.parameters"></a><h4>Parameters</h4>
|
329
|
-
<div class="informaltable"><table width="100%" border="0">
|
334
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
330
335
|
<colgroup>
|
331
336
|
<col width="150px" class="parameters_name">
|
332
337
|
<col class="parameters_description">
|
@@ -334,14 +339,14 @@ the JSON tree starting from <em class="parameter"><code>node</code></em>
|
|
334
339
|
</colgroup>
|
335
340
|
<tbody><tr>
|
336
341
|
<td class="parameter_name"><p>node</p></td>
|
337
|
-
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. </p></td>
|
342
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
338
343
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
339
344
|
</tr></tbody>
|
340
345
|
</table></div>
|
341
346
|
</div>
|
342
347
|
<div class="refsect3">
|
343
348
|
<a name="json-reader-new.returns"></a><h4>Returns</h4>
|
344
|
-
<p> the newly created <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. Use <code class="function">g_object_unref()</code> to
|
349
|
+
<p> the newly created <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to
|
345
350
|
release the allocated resources when done</p>
|
346
351
|
</div>
|
347
352
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -360,7 +365,7 @@ a copy of <em class="parameter"><code>root</code></em>
|
|
360
365
|
<p>If another <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> is currently set as root, it will be replaced.</p>
|
361
366
|
<div class="refsect3">
|
362
367
|
<a name="json-reader-set-root.parameters"></a><h4>Parameters</h4>
|
363
|
-
<div class="informaltable"><table width="100%" border="0">
|
368
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
364
369
|
<colgroup>
|
365
370
|
<col width="150px" class="parameters_name">
|
366
371
|
<col class="parameters_description">
|
@@ -385,9 +390,9 @@ a copy of <em class="parameter"><code>root</code></em>
|
|
385
390
|
<hr>
|
386
391
|
<div class="refsect2">
|
387
392
|
<a name="json-reader-read-element"></a><h3>json_reader_read_element ()</h3>
|
388
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
393
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
389
394
|
json_reader_read_element (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
390
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
395
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index_</code></em>);</pre>
|
391
396
|
<p>Advances the cursor of <em class="parameter"><code>reader</code></em>
|
392
397
|
to the element <em class="parameter"><code>index_</code></em>
|
393
398
|
of the array
|
@@ -457,8 +462,8 @@ code paths:</p>
|
|
457
462
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="JsonReader.html#json-reader-read-element">json_reader_read_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">))</span>
|
458
463
|
<span class="normal"> </span><span class="cbracket">{</span>
|
459
464
|
<span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-end-element">json_reader_end_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
460
|
-
<span class="normal"> </span><span class="function">g_set_error</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> …</span><span class="symbol">);</span>
|
461
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
465
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-set-error">g_set_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> …</span><span class="symbol">);</span>
|
466
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
462
467
|
<span class="normal"> </span><span class="cbracket">}</span>
|
463
468
|
|
464
469
|
<span class="normal">str_value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-string-value">json_reader_get_string_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
@@ -471,7 +476,7 @@ code paths:</p>
|
|
471
476
|
<p></p>
|
472
477
|
<div class="refsect3">
|
473
478
|
<a name="json-reader-read-element.parameters"></a><h4>Parameters</h4>
|
474
|
-
<div class="informaltable"><table width="100%" border="0">
|
479
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
475
480
|
<colgroup>
|
476
481
|
<col width="150px" class="parameters_name">
|
477
482
|
<col class="parameters_description">
|
@@ -493,7 +498,7 @@ code paths:</p>
|
|
493
498
|
</div>
|
494
499
|
<div class="refsect3">
|
495
500
|
<a name="json-reader-read-element.returns"></a><h4>Returns</h4>
|
496
|
-
<p> <code class="literal">TRUE</code> on success, and <code class="literal">FALSE</code> otherwise</p>
|
501
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
497
502
|
</div>
|
498
503
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
499
504
|
</div>
|
@@ -508,7 +513,7 @@ inside an array</p>
|
|
508
513
|
, if any was set</p>
|
509
514
|
<div class="refsect3">
|
510
515
|
<a name="json-reader-end-element.parameters"></a><h4>Parameters</h4>
|
511
|
-
<div class="informaltable"><table width="100%" border="0">
|
516
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
512
517
|
<colgroup>
|
513
518
|
<col width="150px" class="parameters_name">
|
514
519
|
<col class="parameters_description">
|
@@ -526,13 +531,13 @@ inside an array</p>
|
|
526
531
|
<hr>
|
527
532
|
<div class="refsect2">
|
528
533
|
<a name="json-reader-is-array"></a><h3>json_reader_is_array ()</h3>
|
529
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
534
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
530
535
|
json_reader_is_array (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
531
536
|
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
532
537
|
is currently on an array</p>
|
533
538
|
<div class="refsect3">
|
534
539
|
<a name="json-reader-is-array.parameters"></a><h4>Parameters</h4>
|
535
|
-
<div class="informaltable"><table width="100%" border="0">
|
540
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
536
541
|
<colgroup>
|
537
542
|
<col width="150px" class="parameters_name">
|
538
543
|
<col class="parameters_description">
|
@@ -547,7 +552,7 @@ json_reader_is_array (<em class="parameter"><code><a class="link" href="JsonRead
|
|
547
552
|
</div>
|
548
553
|
<div class="refsect3">
|
549
554
|
<a name="json-reader-is-array.returns"></a><h4>Returns</h4>
|
550
|
-
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an array, and <code class="literal">FALSE</code>
|
555
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an array, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
551
556
|
otherwise</p>
|
552
557
|
</div>
|
553
558
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -555,14 +560,14 @@ otherwise</p>
|
|
555
560
|
<hr>
|
556
561
|
<div class="refsect2">
|
557
562
|
<a name="json-reader-count-elements"></a><h3>json_reader_count_elements ()</h3>
|
558
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
563
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
559
564
|
json_reader_count_elements (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
560
565
|
<p>Counts the elements of the current position, if <em class="parameter"><code>reader</code></em>
|
561
566
|
is
|
562
567
|
positioned on an array</p>
|
563
568
|
<div class="refsect3">
|
564
569
|
<a name="json-reader-count-elements.parameters"></a><h4>Parameters</h4>
|
565
|
-
<div class="informaltable"><table width="100%" border="0">
|
570
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
566
571
|
<colgroup>
|
567
572
|
<col width="150px" class="parameters_name">
|
568
573
|
<col class="parameters_description">
|
@@ -585,9 +590,9 @@ the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type"
|
|
585
590
|
<hr>
|
586
591
|
<div class="refsect2">
|
587
592
|
<a name="json-reader-read-member"></a><h3>json_reader_read_member ()</h3>
|
588
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
593
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
589
594
|
json_reader_read_member (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
590
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *member_name</code></em>);</pre>
|
595
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *member_name</code></em>);</pre>
|
591
596
|
<p>Advances the cursor of <em class="parameter"><code>reader</code></em>
|
592
597
|
to the <em class="parameter"><code>member_name</code></em>
|
593
598
|
of the object at the
|
@@ -656,8 +661,8 @@ defined in the object, the <a class="link" href="JsonReader.html" title="JsonRea
|
|
656
661
|
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="JsonReader.html#json-reader-read-member">json_reader_read_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"title"</span><span class="symbol">))</span>
|
657
662
|
<span class="normal"> </span><span class="cbracket">{</span>
|
658
663
|
<span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-end-member">json_reader_end_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
659
|
-
<span class="normal"> </span><span class="function">g_set_error</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> …</span><span class="symbol">);</span>
|
660
|
-
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
|
664
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-set-error">g_set_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">,</span><span class="normal"> …</span><span class="symbol">);</span>
|
665
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS">FALSE</a></span><span class="symbol">;</span>
|
661
666
|
<span class="normal"> </span><span class="cbracket">}</span>
|
662
667
|
|
663
668
|
<span class="normal">str_value </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-string-value">json_reader_get_string_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
@@ -670,7 +675,7 @@ defined in the object, the <a class="link" href="JsonReader.html" title="JsonRea
|
|
670
675
|
<p></p>
|
671
676
|
<div class="refsect3">
|
672
677
|
<a name="json-reader-read-member.parameters"></a><h4>Parameters</h4>
|
673
|
-
<div class="informaltable"><table width="100%" border="0">
|
678
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
674
679
|
<colgroup>
|
675
680
|
<col width="150px" class="parameters_name">
|
676
681
|
<col class="parameters_description">
|
@@ -692,7 +697,7 @@ defined in the object, the <a class="link" href="JsonReader.html" title="JsonRea
|
|
692
697
|
</div>
|
693
698
|
<div class="refsect3">
|
694
699
|
<a name="json-reader-read-member.returns"></a><h4>Returns</h4>
|
695
|
-
<p> <code class="literal">TRUE</code> on success, and <code class="literal">FALSE</code> otherwise</p>
|
700
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
696
701
|
</div>
|
697
702
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
698
703
|
</div>
|
@@ -707,7 +712,7 @@ inside an object</p>
|
|
707
712
|
, if any was set</p>
|
708
713
|
<div class="refsect3">
|
709
714
|
<a name="json-reader-end-member.parameters"></a><h4>Parameters</h4>
|
710
|
-
<div class="informaltable"><table width="100%" border="0">
|
715
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
711
716
|
<colgroup>
|
712
717
|
<col width="150px" class="parameters_name">
|
713
718
|
<col class="parameters_description">
|
@@ -725,13 +730,13 @@ inside an object</p>
|
|
725
730
|
<hr>
|
726
731
|
<div class="refsect2">
|
727
732
|
<a name="json-reader-is-object"></a><h3>json_reader_is_object ()</h3>
|
728
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
733
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
729
734
|
json_reader_is_object (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
730
735
|
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
731
736
|
is currently on an object</p>
|
732
737
|
<div class="refsect3">
|
733
738
|
<a name="json-reader-is-object.parameters"></a><h4>Parameters</h4>
|
734
|
-
<div class="informaltable"><table width="100%" border="0">
|
739
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
735
740
|
<colgroup>
|
736
741
|
<col width="150px" class="parameters_name">
|
737
742
|
<col class="parameters_description">
|
@@ -746,7 +751,7 @@ json_reader_is_object (<em class="parameter"><code><a class="link" href="JsonRea
|
|
746
751
|
</div>
|
747
752
|
<div class="refsect3">
|
748
753
|
<a name="json-reader-is-object.returns"></a><h4>Returns</h4>
|
749
|
-
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an object, and <code class="literal">FALSE</code>
|
754
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an object, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
750
755
|
otherwise</p>
|
751
756
|
</div>
|
752
757
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -754,14 +759,14 @@ otherwise</p>
|
|
754
759
|
<hr>
|
755
760
|
<div class="refsect2">
|
756
761
|
<a name="json-reader-count-members"></a><h3>json_reader_count_members ()</h3>
|
757
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
762
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
758
763
|
json_reader_count_members (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
759
764
|
<p>Counts the members of the current position, if <em class="parameter"><code>reader</code></em>
|
760
765
|
is
|
761
766
|
positioned on an object</p>
|
762
767
|
<div class="refsect3">
|
763
768
|
<a name="json-reader-count-members.parameters"></a><h4>Parameters</h4>
|
764
|
-
<div class="informaltable"><table width="100%" border="0">
|
769
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
765
770
|
<colgroup>
|
766
771
|
<col width="150px" class="parameters_name">
|
767
772
|
<col class="parameters_description">
|
@@ -784,14 +789,14 @@ the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type"
|
|
784
789
|
<hr>
|
785
790
|
<div class="refsect2">
|
786
791
|
<a name="json-reader-list-members"></a><h3>json_reader_list_members ()</h3>
|
787
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
792
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
|
788
793
|
json_reader_list_members (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
789
794
|
<p>Retrieves a list of member names from the current position, if <em class="parameter"><code>reader</code></em>
|
790
795
|
|
791
796
|
is positioned on an object.</p>
|
792
797
|
<div class="refsect3">
|
793
798
|
<a name="json-reader-list-members.parameters"></a><h4>Parameters</h4>
|
794
|
-
<div class="informaltable"><table width="100%" border="0">
|
799
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
795
800
|
<colgroup>
|
796
801
|
<col width="150px" class="parameters_name">
|
797
802
|
<col class="parameters_description">
|
@@ -806,8 +811,8 @@ is positioned on an object.</p>
|
|
806
811
|
</div>
|
807
812
|
<div class="refsect3">
|
808
813
|
<a name="json-reader-list-members.returns"></a><h4>Returns</h4>
|
809
|
-
<p> a newly allocated, <code class="literal">NULL</code>-terminated
|
810
|
-
array of strings holding the members name. Use <code class="function">g_strfreev()</code> when
|
814
|
+
<p> a newly allocated, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated
|
815
|
+
array of strings holding the members name. Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when
|
811
816
|
done. </p>
|
812
817
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
813
818
|
</div>
|
@@ -816,12 +821,12 @@ done. </p>
|
|
816
821
|
<hr>
|
817
822
|
<div class="refsect2">
|
818
823
|
<a name="json-reader-get-member-name"></a><h3>json_reader_get_member_name ()</h3>
|
819
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
824
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
820
825
|
json_reader_get_member_name (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
821
826
|
<p>Retrieves the name of the current member.</p>
|
822
827
|
<div class="refsect3">
|
823
828
|
<a name="json-reader-get-member-name.parameters"></a><h4>Parameters</h4>
|
824
|
-
<div class="informaltable"><table width="100%" border="0">
|
829
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
825
830
|
<colgroup>
|
826
831
|
<col width="150px" class="parameters_name">
|
827
832
|
<col class="parameters_description">
|
@@ -836,7 +841,7 @@ json_reader_get_member_name (<em class="parameter"><code><a class="link" href="J
|
|
836
841
|
</div>
|
837
842
|
<div class="refsect3">
|
838
843
|
<a name="json-reader-get-member-name.returns"></a><h4>Returns</h4>
|
839
|
-
<p> the name of the member, or <code class="literal">NULL</code>. </p>
|
844
|
+
<p> the name of the member, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
840
845
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
841
846
|
</div>
|
842
847
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
@@ -844,13 +849,13 @@ json_reader_get_member_name (<em class="parameter"><code><a class="link" href="J
|
|
844
849
|
<hr>
|
845
850
|
<div class="refsect2">
|
846
851
|
<a name="json-reader-is-value"></a><h3>json_reader_is_value ()</h3>
|
847
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
852
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
848
853
|
json_reader_is_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
849
854
|
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
850
855
|
is currently on a value</p>
|
851
856
|
<div class="refsect3">
|
852
857
|
<a name="json-reader-is-value.parameters"></a><h4>Parameters</h4>
|
853
|
-
<div class="informaltable"><table width="100%" border="0">
|
858
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
854
859
|
<colgroup>
|
855
860
|
<col width="150px" class="parameters_name">
|
856
861
|
<col class="parameters_description">
|
@@ -865,7 +870,7 @@ json_reader_is_value (<em class="parameter"><code><a class="link" href="JsonRead
|
|
865
870
|
</div>
|
866
871
|
<div class="refsect3">
|
867
872
|
<a name="json-reader-is-value.returns"></a><h4>Returns</h4>
|
868
|
-
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on a value, and <code class="literal">FALSE</code>
|
873
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on a value, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
869
874
|
otherwise</p>
|
870
875
|
</div>
|
871
876
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -879,7 +884,7 @@ json_reader_get_value (<em class="parameter"><code><a class="link" href="JsonRea
|
|
879
884
|
</p>
|
880
885
|
<div class="refsect3">
|
881
886
|
<a name="json-reader-get-value.parameters"></a><h4>Parameters</h4>
|
882
|
-
<div class="informaltable"><table width="100%" border="0">
|
887
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
883
888
|
<colgroup>
|
884
889
|
<col width="150px" class="parameters_name">
|
885
890
|
<col class="parameters_description">
|
@@ -894,7 +899,7 @@ json_reader_get_value (<em class="parameter"><code><a class="link" href="JsonRea
|
|
894
899
|
</div>
|
895
900
|
<div class="refsect3">
|
896
901
|
<a name="json-reader-get-value.returns"></a><h4>Returns</h4>
|
897
|
-
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. The returned node
|
902
|
+
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned node
|
898
903
|
is owned by the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> and it should not be modified or freed
|
899
904
|
directly. </p>
|
900
905
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
@@ -904,13 +909,13 @@ directly. </p>
|
|
904
909
|
<hr>
|
905
910
|
<div class="refsect2">
|
906
911
|
<a name="json-reader-get-int-value"></a><h3>json_reader_get_int_value ()</h3>
|
907
|
-
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
912
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
908
913
|
json_reader_get_int_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
909
914
|
<p>Retrieves the integer value of the current position of <em class="parameter"><code>reader</code></em>
|
910
915
|
</p>
|
911
916
|
<div class="refsect3">
|
912
917
|
<a name="json-reader-get-int-value.parameters"></a><h4>Parameters</h4>
|
913
|
-
<div class="informaltable"><table width="100%" border="0">
|
918
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
914
919
|
<colgroup>
|
915
920
|
<col width="150px" class="parameters_name">
|
916
921
|
<col class="parameters_description">
|
@@ -932,13 +937,13 @@ json_reader_get_int_value (<em class="parameter"><code><a class="link" href="Jso
|
|
932
937
|
<hr>
|
933
938
|
<div class="refsect2">
|
934
939
|
<a name="json-reader-get-double-value"></a><h3>json_reader_get_double_value ()</h3>
|
935
|
-
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
940
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
936
941
|
json_reader_get_double_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
937
942
|
<p>Retrieves the floating point value of the current position of <em class="parameter"><code>reader</code></em>
|
938
943
|
</p>
|
939
944
|
<div class="refsect3">
|
940
945
|
<a name="json-reader-get-double-value.parameters"></a><h4>Parameters</h4>
|
941
|
-
<div class="informaltable"><table width="100%" border="0">
|
946
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
942
947
|
<colgroup>
|
943
948
|
<col width="150px" class="parameters_name">
|
944
949
|
<col class="parameters_description">
|
@@ -960,13 +965,13 @@ json_reader_get_double_value (<em class="parameter"><code><a class="link" href="
|
|
960
965
|
<hr>
|
961
966
|
<div class="refsect2">
|
962
967
|
<a name="json-reader-get-string-value"></a><h3>json_reader_get_string_value ()</h3>
|
963
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
968
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
964
969
|
json_reader_get_string_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
965
970
|
<p>Retrieves the string value of the current position of <em class="parameter"><code>reader</code></em>
|
966
971
|
</p>
|
967
972
|
<div class="refsect3">
|
968
973
|
<a name="json-reader-get-string-value.parameters"></a><h4>Parameters</h4>
|
969
|
-
<div class="informaltable"><table width="100%" border="0">
|
974
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
970
975
|
<colgroup>
|
971
976
|
<col width="150px" class="parameters_name">
|
972
977
|
<col class="parameters_description">
|
@@ -988,13 +993,13 @@ json_reader_get_string_value (<em class="parameter"><code><a class="link" href="
|
|
988
993
|
<hr>
|
989
994
|
<div class="refsect2">
|
990
995
|
<a name="json-reader-get-boolean-value"></a><h3>json_reader_get_boolean_value ()</h3>
|
991
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
996
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
992
997
|
json_reader_get_boolean_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
993
998
|
<p>Retrieves the boolean value of the current position of <em class="parameter"><code>reader</code></em>
|
994
999
|
</p>
|
995
1000
|
<div class="refsect3">
|
996
1001
|
<a name="json-reader-get-boolean-value.parameters"></a><h4>Parameters</h4>
|
997
|
-
<div class="informaltable"><table width="100%" border="0">
|
1002
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
998
1003
|
<colgroup>
|
999
1004
|
<col width="150px" class="parameters_name">
|
1000
1005
|
<col class="parameters_description">
|
@@ -1016,13 +1021,13 @@ json_reader_get_boolean_value (<em class="parameter"><code><a class="link" href=
|
|
1016
1021
|
<hr>
|
1017
1022
|
<div class="refsect2">
|
1018
1023
|
<a name="json-reader-get-null-value"></a><h3>json_reader_get_null_value ()</h3>
|
1019
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1024
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1020
1025
|
json_reader_get_null_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
1021
1026
|
<p>Checks whether the value of the current position of <em class="parameter"><code>reader</code></em>
|
1022
1027
|
is 'null'</p>
|
1023
1028
|
<div class="refsect3">
|
1024
1029
|
<a name="json-reader-get-null-value.parameters"></a><h4>Parameters</h4>
|
1025
|
-
<div class="informaltable"><table width="100%" border="0">
|
1030
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1026
1031
|
<colgroup>
|
1027
1032
|
<col width="150px" class="parameters_name">
|
1028
1033
|
<col class="parameters_description">
|
@@ -1037,21 +1042,21 @@ json_reader_get_null_value (<em class="parameter"><code><a class="link" href="Js
|
|
1037
1042
|
</div>
|
1038
1043
|
<div class="refsect3">
|
1039
1044
|
<a name="json-reader-get-null-value.returns"></a><h4>Returns</h4>
|
1040
|
-
<p> <code class="literal">TRUE</code> if 'null' is set, and <code class="literal">FALSE</code> otherwise</p>
|
1045
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if 'null' is set, and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
1041
1046
|
</div>
|
1042
1047
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
1043
1048
|
</div>
|
1044
1049
|
<hr>
|
1045
1050
|
<div class="refsect2">
|
1046
1051
|
<a name="json-reader-get-error"></a><h3>json_reader_get_error ()</h3>
|
1047
|
-
<pre class="programlisting">const <span class="returnvalue">GError</span> *
|
1052
|
+
<pre class="programlisting">const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
|
1048
1053
|
json_reader_get_error (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
1049
|
-
<p>Retrieves the <span class="type">GError</span> currently set on <em class="parameter"><code>reader</code></em>
|
1054
|
+
<p>Retrieves the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> currently set on <em class="parameter"><code>reader</code></em>
|
1050
1055
|
, if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
1051
1056
|
is in error state</p>
|
1052
1057
|
<div class="refsect3">
|
1053
1058
|
<a name="json-reader-get-error.parameters"></a><h4>Parameters</h4>
|
1054
|
-
<div class="informaltable"><table width="100%" border="0">
|
1059
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1055
1060
|
<colgroup>
|
1056
1061
|
<col width="150px" class="parameters_name">
|
1057
1062
|
<col class="parameters_description">
|
@@ -1066,7 +1071,7 @@ is in error state</p>
|
|
1066
1071
|
</div>
|
1067
1072
|
<div class="refsect3">
|
1068
1073
|
<a name="json-reader-get-error.returns"></a><h4>Returns</h4>
|
1069
|
-
<p> the pointer to the error, or <code class="literal">NULL</code>. </p>
|
1074
|
+
<p> the pointer to the error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
1070
1075
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1071
1076
|
</div>
|
1072
1077
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -1096,7 +1101,7 @@ be accessed using the provided API</p>
|
|
1096
1101
|
<p>Error codes enumeration for <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> errors</p>
|
1097
1102
|
<div class="refsect3">
|
1098
1103
|
<a name="JsonReaderError.members"></a><h4>Members</h4>
|
1099
|
-
<div class="informaltable"><table width="100%" border="0">
|
1104
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1100
1105
|
<colgroup>
|
1101
1106
|
<col width="300px" class="enum_members_name">
|
1102
1107
|
<col class="enum_members_description">
|