clutter 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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>JsonGenerator: 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="ch03.html" title="Generator">
|
9
9
|
<link rel="prev" href="ch03.html" title="Generator">
|
@@ -35,7 +35,7 @@
|
|
35
35
|
</tr></table></div>
|
36
36
|
<div class="refsect1">
|
37
37
|
<a name="JsonGenerator.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">
|
@@ -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.win32/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="JsonGenerator.html#json-generator-get-pretty" title="json_generator_get_pretty ()">json_generator_get_pretty</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">guint</span>
|
94
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
95
95
|
</td>
|
96
96
|
<td class="function_name">
|
97
97
|
<a class="link" href="JsonGenerator.html#json-generator-get-indent" title="json_generator_get_indent ()">json_generator_get_indent</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">gunichar</span>
|
110
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a>
|
111
111
|
</td>
|
112
112
|
<td class="function_name">
|
113
113
|
<a class="link" href="JsonGenerator.html#json-generator-get-indent-char" title="json_generator_get_indent_char ()">json_generator_get_indent_char</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">gboolean</span>
|
118
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
119
119
|
</td>
|
120
120
|
<td class="function_name">
|
121
121
|
<a class="link" href="JsonGenerator.html#json-generator-to-file" title="json_generator_to_file ()">json_generator_to_file</a> <span class="c_punctuation">()</span>
|
@@ -123,7 +123,7 @@
|
|
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.win32/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="JsonGenerator.html#json-generator-to-data" title="json_generator_to_data ()">json_generator_to_data</a> <span class="c_punctuation">()</span>
|
@@ -131,7 +131,7 @@
|
|
131
131
|
</tr>
|
132
132
|
<tr>
|
133
133
|
<td class="function_type">
|
134
|
-
<span class="returnvalue">gboolean</span>
|
134
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
135
135
|
</td>
|
136
136
|
<td class="function_name">
|
137
137
|
<a class="link" href="JsonGenerator.html#json-generator-to-stream" title="json_generator_to_stream ()">json_generator_to_stream</a> <span class="c_punctuation">()</span>
|
@@ -142,7 +142,7 @@
|
|
142
142
|
</div>
|
143
143
|
<div class="refsect1">
|
144
144
|
<a name="JsonGenerator.properties"></a><h2>Properties</h2>
|
145
|
-
<div class="informaltable"><table border="0">
|
145
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
146
146
|
<colgroup>
|
147
147
|
<col width="150px" class="properties_type">
|
148
148
|
<col width="300px" class="properties_name">
|
@@ -150,17 +150,17 @@
|
|
150
150
|
</colgroup>
|
151
151
|
<tbody>
|
152
152
|
<tr>
|
153
|
-
<td class="property_type"><span class="type">guint</span></td>
|
153
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
154
154
|
<td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--indent" title="The “indent” property">indent</a></td>
|
155
155
|
<td class="property_flags">Read / Write</td>
|
156
156
|
</tr>
|
157
157
|
<tr>
|
158
|
-
<td class="property_type"><span class="type">guint</span></td>
|
158
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
159
159
|
<td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--indent-char" title="The “indent-char” property">indent-char</a></td>
|
160
160
|
<td class="property_flags">Read / Write</td>
|
161
161
|
</tr>
|
162
162
|
<tr>
|
163
|
-
<td class="property_type"><span class="type">gboolean</span></td>
|
163
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
164
164
|
<td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--pretty" title="The “pretty” property">pretty</a></td>
|
165
165
|
<td class="property_flags">Read / Write</td>
|
166
166
|
</tr>
|
@@ -175,7 +175,7 @@
|
|
175
175
|
</div>
|
176
176
|
<div class="refsect1">
|
177
177
|
<a name="JsonGenerator.other"></a><h2>Types and Values</h2>
|
178
|
-
<div class="informaltable"><table width="100%" border="0">
|
178
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
179
179
|
<colgroup>
|
180
180
|
<col width="150px" class="name">
|
181
181
|
<col class="description">
|
@@ -194,11 +194,16 @@
|
|
194
194
|
</div>
|
195
195
|
<div class="refsect1">
|
196
196
|
<a name="JsonGenerator.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
197
|
-
<pre class="screen"> GObject
|
197
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
198
198
|
<span class="lineart">╰──</span> JsonGenerator
|
199
199
|
</pre>
|
200
200
|
</div>
|
201
201
|
<div class="refsect1">
|
202
|
+
<a name="JsonGenerator.includes"></a><h2>Includes</h2>
|
203
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
204
|
+
</pre>
|
205
|
+
</div>
|
206
|
+
<div class="refsect1">
|
202
207
|
<a name="JsonGenerator.description"></a><h2>Description</h2>
|
203
208
|
<p><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> provides an object for generating a JSON data stream and
|
204
209
|
put it into a buffer or a file.</p>
|
@@ -231,7 +236,7 @@ the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class=
|
|
231
236
|
safely freed after calling this function.</p>
|
232
237
|
<div class="refsect3">
|
233
238
|
<a name="json-generator-set-root.parameters"></a><h4>Parameters</h4>
|
234
|
-
<div class="informaltable"><table width="100%" border="0">
|
239
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
235
240
|
<colgroup>
|
236
241
|
<col width="150px" class="parameters_name">
|
237
242
|
<col class="parameters_description">
|
@@ -261,7 +266,7 @@ json_generator_get_root (<em class="parameter"><code><a class="link" href="JsonG
|
|
261
266
|
<a class="link" href="JsonGenerator.html#json-generator-set-root" title="json_generator_set_root ()"><code class="function">json_generator_set_root()</code></a>.</p>
|
262
267
|
<div class="refsect3">
|
263
268
|
<a name="json-generator-get-root.parameters"></a><h4>Parameters</h4>
|
264
|
-
<div class="informaltable"><table width="100%" border="0">
|
269
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
265
270
|
<colgroup>
|
266
271
|
<col width="150px" class="parameters_name">
|
267
272
|
<col class="parameters_description">
|
@@ -276,7 +281,7 @@ json_generator_get_root (<em class="parameter"><code><a class="link" href="JsonG
|
|
276
281
|
</div>
|
277
282
|
<div class="refsect3">
|
278
283
|
<a name="json-generator-get-root.returns"></a><h4>Returns</h4>
|
279
|
-
<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
|
284
|
+
<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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned node
|
280
285
|
is owned by the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> and it should not be freed. </p>
|
281
286
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
282
287
|
</div>
|
@@ -287,13 +292,13 @@ is owned by the <a class="link" href="JsonGenerator.html" title="JsonGenerator">
|
|
287
292
|
<a name="json-generator-set-pretty"></a><h3>json_generator_set_pretty ()</h3>
|
288
293
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
289
294
|
json_generator_set_pretty (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
290
|
-
<em class="parameter"><code><span class="type">gboolean</span> is_pretty</code></em>);</pre>
|
295
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_pretty</code></em>);</pre>
|
291
296
|
<p>Sets whether the generated JSON should be pretty printed, using the
|
292
297
|
indentation character specified in the <a class="link" href="JsonGenerator.html#JsonGenerator--indent-char" title="The “indent-char” property"><span class="type">“indent-char”</span></a>
|
293
298
|
property and the spacing specified in <a class="link" href="JsonGenerator.html#JsonGenerator--indent" title="The “indent” property"><span class="type">“indent”</span></a> property.</p>
|
294
299
|
<div class="refsect3">
|
295
300
|
<a name="json-generator-set-pretty.parameters"></a><h4>Parameters</h4>
|
296
|
-
<div class="informaltable"><table width="100%" border="0">
|
301
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
297
302
|
<colgroup>
|
298
303
|
<col width="150px" class="parameters_name">
|
299
304
|
<col class="parameters_description">
|
@@ -318,12 +323,12 @@ property and the spacing specified in <a class="link" href="JsonGenerator.html#J
|
|
318
323
|
<hr>
|
319
324
|
<div class="refsect2">
|
320
325
|
<a name="json-generator-get-pretty"></a><h3>json_generator_get_pretty ()</h3>
|
321
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
326
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
322
327
|
json_generator_get_pretty (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
323
328
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-pretty" title="json_generator_set_pretty ()"><code class="function">json_generator_set_pretty()</code></a>.</p>
|
324
329
|
<div class="refsect3">
|
325
330
|
<a name="json-generator-get-pretty.parameters"></a><h4>Parameters</h4>
|
326
|
-
<div class="informaltable"><table width="100%" border="0">
|
331
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
327
332
|
<colgroup>
|
328
333
|
<col width="150px" class="parameters_name">
|
329
334
|
<col class="parameters_description">
|
@@ -338,8 +343,8 @@ json_generator_get_pretty (<em class="parameter"><code><a class="link" href="Jso
|
|
338
343
|
</div>
|
339
344
|
<div class="refsect3">
|
340
345
|
<a name="json-generator-get-pretty.returns"></a><h4>Returns</h4>
|
341
|
-
<p> <code class="literal">TRUE</code> if the generated JSON should be pretty-printed, and
|
342
|
-
<code class="literal">FALSE</code> otherwise</p>
|
346
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the generated JSON should be pretty-printed, and
|
347
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
343
348
|
</div>
|
344
349
|
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
345
350
|
</div>
|
@@ -348,11 +353,11 @@ json_generator_get_pretty (<em class="parameter"><code><a class="link" href="Jso
|
|
348
353
|
<a name="json-generator-set-indent"></a><h3>json_generator_set_indent ()</h3>
|
349
354
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
350
355
|
json_generator_set_indent (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
351
|
-
<em class="parameter"><code><span class="type">guint</span> indent_level</code></em>);</pre>
|
356
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> indent_level</code></em>);</pre>
|
352
357
|
<p>Sets the number of repetitions for each indentation level.</p>
|
353
358
|
<div class="refsect3">
|
354
359
|
<a name="json-generator-set-indent.parameters"></a><h4>Parameters</h4>
|
355
|
-
<div class="informaltable"><table width="100%" border="0">
|
360
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
356
361
|
<colgroup>
|
357
362
|
<col width="150px" class="parameters_name">
|
358
363
|
<col class="parameters_description">
|
@@ -378,12 +383,12 @@ that should be applied when pretty printing</p></td>
|
|
378
383
|
<hr>
|
379
384
|
<div class="refsect2">
|
380
385
|
<a name="json-generator-get-indent"></a><h3>json_generator_get_indent ()</h3>
|
381
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
386
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
382
387
|
json_generator_get_indent (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
383
388
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent" title="json_generator_set_indent ()"><code class="function">json_generator_set_indent()</code></a>.</p>
|
384
389
|
<div class="refsect3">
|
385
390
|
<a name="json-generator-get-indent.parameters"></a><h4>Parameters</h4>
|
386
|
-
<div class="informaltable"><table width="100%" border="0">
|
391
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
387
392
|
<colgroup>
|
388
393
|
<col width="150px" class="parameters_name">
|
389
394
|
<col class="parameters_description">
|
@@ -407,11 +412,11 @@ json_generator_get_indent (<em class="parameter"><code><a class="link" href="Jso
|
|
407
412
|
<a name="json-generator-set-indent-char"></a><h3>json_generator_set_indent_char ()</h3>
|
408
413
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
409
414
|
json_generator_set_indent_char (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
410
|
-
<em class="parameter"><code><span class="type">gunichar</span> indent_char</code></em>);</pre>
|
415
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> indent_char</code></em>);</pre>
|
411
416
|
<p>Sets the character to be used when indenting</p>
|
412
417
|
<div class="refsect3">
|
413
418
|
<a name="json-generator-set-indent-char.parameters"></a><h4>Parameters</h4>
|
414
|
-
<div class="informaltable"><table width="100%" border="0">
|
419
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
415
420
|
<colgroup>
|
416
421
|
<col width="150px" class="parameters_name">
|
417
422
|
<col class="parameters_description">
|
@@ -436,12 +441,12 @@ json_generator_set_indent_char (<em class="parameter"><code><a class="link" href
|
|
436
441
|
<hr>
|
437
442
|
<div class="refsect2">
|
438
443
|
<a name="json-generator-get-indent-char"></a><h3>json_generator_get_indent_char ()</h3>
|
439
|
-
<pre class="programlisting"><span class="returnvalue">gunichar</span>
|
444
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a>
|
440
445
|
json_generator_get_indent_char (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
|
441
446
|
<p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent-char" title="json_generator_set_indent_char ()"><code class="function">json_generator_set_indent_char()</code></a>.</p>
|
442
447
|
<div class="refsect3">
|
443
448
|
<a name="json-generator-get-indent-char.parameters"></a><h4>Parameters</h4>
|
444
|
-
<div class="informaltable"><table width="100%" border="0">
|
449
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
445
450
|
<colgroup>
|
446
451
|
<col width="150px" class="parameters_name">
|
447
452
|
<col class="parameters_description">
|
@@ -463,16 +468,16 @@ json_generator_get_indent_char (<em class="parameter"><code><a class="link" href
|
|
463
468
|
<hr>
|
464
469
|
<div class="refsect2">
|
465
470
|
<a name="json-generator-to-file"></a><h3>json_generator_to_file ()</h3>
|
466
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
471
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
467
472
|
json_generator_to_file (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
468
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
469
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
473
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
474
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
470
475
|
<p>Creates a JSON data stream and puts it inside <em class="parameter"><code>filename</code></em>
|
471
476
|
, overwriting the
|
472
477
|
current file contents. This operation is atomic.</p>
|
473
478
|
<div class="refsect3">
|
474
479
|
<a name="json-generator-to-file.parameters"></a><h4>Parameters</h4>
|
475
|
-
<div class="informaltable"><table width="100%" border="0">
|
480
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
476
481
|
<colgroup>
|
477
482
|
<col width="150px" class="parameters_name">
|
478
483
|
<col class="parameters_description">
|
@@ -491,7 +496,7 @@ current file contents. This operation is atomic.</p>
|
|
491
496
|
</tr>
|
492
497
|
<tr>
|
493
498
|
<td class="parameter_name"><p>error</p></td>
|
494
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
499
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
495
500
|
<td class="parameter_annotations"> </td>
|
496
501
|
</tr>
|
497
502
|
</tbody>
|
@@ -499,21 +504,21 @@ current file contents. This operation is atomic.</p>
|
|
499
504
|
</div>
|
500
505
|
<div class="refsect3">
|
501
506
|
<a name="json-generator-to-file.returns"></a><h4>Returns</h4>
|
502
|
-
<p> <code class="literal">TRUE</code> if saving was successful.</p>
|
507
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if saving was successful.</p>
|
503
508
|
</div>
|
504
509
|
</div>
|
505
510
|
<hr>
|
506
511
|
<div class="refsect2">
|
507
512
|
<a name="json-generator-to-data"></a><h3>json_generator_to_data ()</h3>
|
508
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
513
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
509
514
|
json_generator_to_data (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
510
|
-
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
515
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
|
511
516
|
<p>Generates a JSON data stream from <em class="parameter"><code>generator</code></em>
|
512
517
|
and returns it as a
|
513
518
|
buffer.</p>
|
514
519
|
<div class="refsect3">
|
515
520
|
<a name="json-generator-to-data.parameters"></a><h4>Parameters</h4>
|
516
|
-
<div class="informaltable"><table width="100%" border="0">
|
521
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
517
522
|
<colgroup>
|
518
523
|
<col width="150px" class="parameters_name">
|
519
524
|
<col class="parameters_description">
|
@@ -528,7 +533,7 @@ buffer.</p>
|
|
528
533
|
<tr>
|
529
534
|
<td class="parameter_name"><p>length</p></td>
|
530
535
|
<td class="parameter_description"><p> return location for the length of the returned
|
531
|
-
buffer, or <code class="literal">NULL</code>. </p></td>
|
536
|
+
buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
532
537
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
533
538
|
</tr>
|
534
539
|
</tbody>
|
@@ -537,22 +542,22 @@ buffer, or <code class="literal">NULL</code>. </p></td>
|
|
537
542
|
<div class="refsect3">
|
538
543
|
<a name="json-generator-to-data.returns"></a><h4>Returns</h4>
|
539
544
|
<p> a newly allocated buffer holding a JSON data stream.
|
540
|
-
Use <code class="function">g_free()</code> to free the allocated resources.</p>
|
545
|
+
Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the allocated resources.</p>
|
541
546
|
</div>
|
542
547
|
</div>
|
543
548
|
<hr>
|
544
549
|
<div class="refsect2">
|
545
550
|
<a name="json-generator-to-stream"></a><h3>json_generator_to_stream ()</h3>
|
546
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
551
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
547
552
|
json_generator_to_stream (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
|
548
|
-
<em class="parameter"><code><span class="type">GOutputStream</span> *stream</code></em>,
|
549
|
-
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
550
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
553
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> *stream</code></em>,
|
554
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
555
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
551
556
|
<p>Outputs JSON data and streams it (synchronously) to <em class="parameter"><code>stream</code></em>
|
552
557
|
.</p>
|
553
558
|
<div class="refsect3">
|
554
559
|
<a name="json-generator-to-stream.parameters"></a><h4>Parameters</h4>
|
555
|
-
<div class="informaltable"><table width="100%" border="0">
|
560
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
556
561
|
<colgroup>
|
557
562
|
<col width="150px" class="parameters_name">
|
558
563
|
<col class="parameters_description">
|
@@ -566,17 +571,17 @@ json_generator_to_stream (<em class="parameter"><code><a class="link" href="Json
|
|
566
571
|
</tr>
|
567
572
|
<tr>
|
568
573
|
<td class="parameter_name"><p>stream</p></td>
|
569
|
-
<td class="parameter_description"><p>a <span class="type">GOutputStream</span></p></td>
|
574
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a></p></td>
|
570
575
|
<td class="parameter_annotations"> </td>
|
571
576
|
</tr>
|
572
577
|
<tr>
|
573
578
|
<td class="parameter_name"><p>cancellable</p></td>
|
574
|
-
<td class="parameter_description"><p> a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. </p></td>
|
579
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
575
580
|
<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>
|
576
581
|
</tr>
|
577
582
|
<tr>
|
578
583
|
<td class="parameter_name"><p>error</p></td>
|
579
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
584
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
580
585
|
<td class="parameter_annotations"> </td>
|
581
586
|
</tr>
|
582
587
|
</tbody>
|
@@ -584,8 +589,8 @@ json_generator_to_stream (<em class="parameter"><code><a class="link" href="Json
|
|
584
589
|
</div>
|
585
590
|
<div class="refsect3">
|
586
591
|
<a name="json-generator-to-stream.returns"></a><h4>Returns</h4>
|
587
|
-
<p> <code class="literal">TRUE</code> if the write operation was successful, and <code class="literal">FALSE</code>
|
588
|
-
on failure. In case of error, the <span class="type">GError</span> will be filled accordingly</p>
|
592
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write operation was successful, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
593
|
+
on failure. In case of error, the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will be filled accordingly</p>
|
589
594
|
</div>
|
590
595
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
591
596
|
</div>
|
@@ -611,7 +616,7 @@ are private and should only be accessed via the provided API.</p>
|
|
611
616
|
<a name="JsonGenerator.property-details"></a><h2>Property Details</h2>
|
612
617
|
<div class="refsect2">
|
613
618
|
<a name="JsonGenerator--indent"></a><h3>The <code class="literal">“indent”</code> property</h3>
|
614
|
-
<pre class="programlisting"> “indent” <span class="type">guint</span></pre>
|
619
|
+
<pre class="programlisting"> “indent” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
615
620
|
<p>Number of spaces to be used to indent when pretty printing.</p>
|
616
621
|
<p>Flags: Read / Write</p>
|
617
622
|
<p>Default value: 2</p>
|
@@ -619,7 +624,7 @@ are private and should only be accessed via the provided API.</p>
|
|
619
624
|
<hr>
|
620
625
|
<div class="refsect2">
|
621
626
|
<a name="JsonGenerator--indent-char"></a><h3>The <code class="literal">“indent-char”</code> property</h3>
|
622
|
-
<pre class="programlisting"> “indent-char” <span class="type">guint</span></pre>
|
627
|
+
<pre class="programlisting"> “indent-char” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
623
628
|
<p>The character that should be used when indenting in pretty print.</p>
|
624
629
|
<p>Flags: Read / Write</p>
|
625
630
|
<p>Default value: ' '</p>
|
@@ -628,7 +633,7 @@ are private and should only be accessed via the provided API.</p>
|
|
628
633
|
<hr>
|
629
634
|
<div class="refsect2">
|
630
635
|
<a name="JsonGenerator--pretty"></a><h3>The <code class="literal">“pretty”</code> property</h3>
|
631
|
-
<pre class="programlisting"> “pretty” <span class="type">gboolean</span></pre>
|
636
|
+
<pre class="programlisting"> “pretty” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
632
637
|
<p>Whether the output should be "pretty-printed", with indentation and
|
633
638
|
newlines. The indentation level can be controlled by using the
|
634
639
|
JsonGenerator:indent property</p>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JsonParser: 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="ch02.html" title="Parser">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</tr></table></div>
|
37
37
|
<div class="refsect1">
|
38
38
|
<a name="JsonParser.functions"></a><h2>Functions</h2>
|
39
|
-
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
40
40
|
<colgroup>
|
41
41
|
<col width="150px" class="functions_return">
|
42
42
|
<col class="functions_name">
|
@@ -60,7 +60,7 @@
|
|
60
60
|
</tr>
|
61
61
|
<tr>
|
62
62
|
<td class="function_type">
|
63
|
-
<span class="returnvalue">gboolean</span>
|
63
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
64
64
|
</td>
|
65
65
|
<td class="function_name">
|
66
66
|
<a class="link" href="JsonParser.html#json-parser-load-from-file" title="json_parser_load_from_file ()">json_parser_load_from_file</a> <span class="c_punctuation">()</span>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
70
|
<td class="function_type">
|
71
|
-
<span class="returnvalue">gboolean</span>
|
71
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
72
72
|
</td>
|
73
73
|
<td class="function_name">
|
74
74
|
<a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()">json_parser_load_from_data</a> <span class="c_punctuation">()</span>
|
@@ -76,7 +76,7 @@
|
|
76
76
|
</tr>
|
77
77
|
<tr>
|
78
78
|
<td class="function_type">
|
79
|
-
<span class="returnvalue">gboolean</span>
|
79
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
80
80
|
</td>
|
81
81
|
<td class="function_name">
|
82
82
|
<a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()">json_parser_load_from_stream</a> <span class="c_punctuation">()</span>
|
@@ -92,7 +92,7 @@
|
|
92
92
|
</tr>
|
93
93
|
<tr>
|
94
94
|
<td class="function_type">
|
95
|
-
<span class="returnvalue">gboolean</span>
|
95
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
96
96
|
</td>
|
97
97
|
<td class="function_name">
|
98
98
|
<a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()">json_parser_load_from_stream_finish</a> <span class="c_punctuation">()</span>
|
@@ -108,7 +108,7 @@
|
|
108
108
|
</tr>
|
109
109
|
<tr>
|
110
110
|
<td class="function_type">
|
111
|
-
<span class="returnvalue">guint</span>
|
111
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
112
112
|
</td>
|
113
113
|
<td class="function_name">
|
114
114
|
<a class="link" href="JsonParser.html#json-parser-get-current-line" title="json_parser_get_current_line ()">json_parser_get_current_line</a> <span class="c_punctuation">()</span>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
</tr>
|
117
117
|
<tr>
|
118
118
|
<td class="function_type">
|
119
|
-
<span class="returnvalue">guint</span>
|
119
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
120
120
|
</td>
|
121
121
|
<td class="function_name">
|
122
122
|
<a class="link" href="JsonParser.html#json-parser-get-current-pos" title="json_parser_get_current_pos ()">json_parser_get_current_pos</a> <span class="c_punctuation">()</span>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
</tr>
|
125
125
|
<tr>
|
126
126
|
<td class="function_type">
|
127
|
-
<span class="returnvalue">gboolean</span>
|
127
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
128
128
|
</td>
|
129
129
|
<td class="function_name">
|
130
130
|
<a class="link" href="JsonParser.html#json-parser-has-assignment" title="json_parser_has_assignment ()">json_parser_has_assignment</a> <span class="c_punctuation">()</span>
|
@@ -135,14 +135,14 @@
|
|
135
135
|
</div>
|
136
136
|
<div class="refsect1">
|
137
137
|
<a name="JsonParser.properties"></a><h2>Properties</h2>
|
138
|
-
<div class="informaltable"><table border="0">
|
138
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
139
139
|
<colgroup>
|
140
140
|
<col width="150px" class="properties_type">
|
141
141
|
<col width="300px" class="properties_name">
|
142
142
|
<col width="200px" class="properties_flags">
|
143
143
|
</colgroup>
|
144
144
|
<tbody><tr>
|
145
|
-
<td class="property_type"><span class="type">gboolean</span></td>
|
145
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
146
146
|
<td class="property_name"><a class="link" href="JsonParser.html#JsonParser--immutable" title="The “immutable” property">immutable</a></td>
|
147
147
|
<td class="property_flags">Read / Write / Construct Only</td>
|
148
148
|
</tr></tbody>
|
@@ -150,7 +150,7 @@
|
|
150
150
|
</div>
|
151
151
|
<div class="refsect1">
|
152
152
|
<a name="JsonParser.signals"></a><h2>Signals</h2>
|
153
|
-
<div class="informaltable"><table border="0">
|
153
|
+
<div class="informaltable"><table class="informaltable" border="0">
|
154
154
|
<colgroup>
|
155
155
|
<col width="150px" class="signals_return">
|
156
156
|
<col width="300px" class="signals_name">
|
@@ -160,54 +160,54 @@
|
|
160
160
|
<tr>
|
161
161
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
162
162
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-element" title="The “array-element” signal">array-element</a></td>
|
163
|
-
<td class="signal_flags">Run Last</td>
|
163
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
164
164
|
</tr>
|
165
165
|
<tr>
|
166
166
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
167
167
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-end" title="The “array-end” signal">array-end</a></td>
|
168
|
-
<td class="signal_flags">Run Last</td>
|
168
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
169
169
|
</tr>
|
170
170
|
<tr>
|
171
171
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
172
172
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-start" title="The “array-start” signal">array-start</a></td>
|
173
|
-
<td class="signal_flags">Run Last</td>
|
173
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
174
174
|
</tr>
|
175
175
|
<tr>
|
176
176
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
177
177
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-error" title="The “error” signal">error</a></td>
|
178
|
-
<td class="signal_flags">Run Last</td>
|
178
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
179
179
|
</tr>
|
180
180
|
<tr>
|
181
181
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
182
182
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-end" title="The “object-end” signal">object-end</a></td>
|
183
|
-
<td class="signal_flags">Run Last</td>
|
183
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
184
184
|
</tr>
|
185
185
|
<tr>
|
186
186
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
187
187
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-member" title="The “object-member” signal">object-member</a></td>
|
188
|
-
<td class="signal_flags">Run Last</td>
|
188
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
189
189
|
</tr>
|
190
190
|
<tr>
|
191
191
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
192
192
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-start" title="The “object-start” signal">object-start</a></td>
|
193
|
-
<td class="signal_flags">Run Last</td>
|
193
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
194
194
|
</tr>
|
195
195
|
<tr>
|
196
196
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
197
197
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-end" title="The “parse-end” signal">parse-end</a></td>
|
198
|
-
<td class="signal_flags">Run Last</td>
|
198
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
199
199
|
</tr>
|
200
200
|
<tr>
|
201
201
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
202
202
|
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-start" title="The “parse-start” signal">parse-start</a></td>
|
203
|
-
<td class="signal_flags">Run Last</td>
|
203
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
204
204
|
</tr>
|
205
205
|
</tbody>
|
206
206
|
</table></div>
|
207
207
|
</div>
|
208
208
|
<div class="refsect1">
|
209
209
|
<a name="JsonParser.other"></a><h2>Types and Values</h2>
|
210
|
-
<div class="informaltable"><table width="100%" border="0">
|
210
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
211
211
|
<colgroup>
|
212
212
|
<col width="150px" class="name">
|
213
213
|
<col class="description">
|
@@ -230,11 +230,16 @@
|
|
230
230
|
</div>
|
231
231
|
<div class="refsect1">
|
232
232
|
<a name="JsonParser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
233
|
-
<pre class="screen"> GObject
|
233
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
234
234
|
<span class="lineart">╰──</span> JsonParser
|
235
235
|
</pre>
|
236
236
|
</div>
|
237
237
|
<div class="refsect1">
|
238
|
+
<a name="JsonParser.includes"></a><h2>Includes</h2>
|
239
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
240
|
+
</pre>
|
241
|
+
</div>
|
242
|
+
<div class="refsect1">
|
238
243
|
<a name="JsonParser.description"></a><h2>Description</h2>
|
239
244
|
<p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> provides an object for parsing a JSON data stream, either
|
240
245
|
inside a file or inside a static buffer.</p>
|
@@ -250,7 +255,7 @@ load a JSON stream from either a file or a buffer and then walk the
|
|
250
255
|
hierarchy using the data types API.</p>
|
251
256
|
<div class="refsect3">
|
252
257
|
<a name="json-parser-new.returns"></a><h4>Returns</h4>
|
253
|
-
<p> the newly created <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. Use <code class="function">g_object_unref()</code>
|
258
|
+
<p> the newly created <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. Use <a href="/home/vagrant/ruby-gnome2.win32/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>
|
254
259
|
to release all the memory it allocates.</p>
|
255
260
|
</div>
|
256
261
|
</div>
|
@@ -260,7 +265,7 @@ to release all the memory it allocates.</p>
|
|
260
265
|
<pre class="programlisting"><a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
|
261
266
|
json_parser_new_immutable (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
262
267
|
<p>Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> instance with its <a class="link" href="JsonParser.html#JsonParser--immutable" title="The “immutable” property"><span class="type">“immutable”</span></a> property
|
263
|
-
set to <code class="literal">TRUE</code> to create immutable output trees.</p>
|
268
|
+
set to <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to create immutable output trees.</p>
|
264
269
|
<div class="refsect3">
|
265
270
|
<a name="json-parser-new-immutable.returns"></a><h4>Returns</h4>
|
266
271
|
<p> a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. </p>
|
@@ -271,16 +276,16 @@ set to <code class="literal">TRUE</code> to create immutable output trees.</p>
|
|
271
276
|
<hr>
|
272
277
|
<div class="refsect2">
|
273
278
|
<a name="json-parser-load-from-file"></a><h3>json_parser_load_from_file ()</h3>
|
274
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
279
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
275
280
|
json_parser_load_from_file (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
276
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
277
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
281
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
|
282
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
278
283
|
<p>Loads a JSON stream from the content of <em class="parameter"><code>filename</code></em>
|
279
284
|
and parses it. See
|
280
285
|
<a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()"><code class="function">json_parser_load_from_data()</code></a>.</p>
|
281
286
|
<div class="refsect3">
|
282
287
|
<a name="json-parser-load-from-file.parameters"></a><h4>Parameters</h4>
|
283
|
-
<div class="informaltable"><table width="100%" border="0">
|
288
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
284
289
|
<colgroup>
|
285
290
|
<col width="150px" class="parameters_name">
|
286
291
|
<col class="parameters_description">
|
@@ -299,7 +304,7 @@ json_parser_load_from_file (<em class="parameter"><code><a class="link" href="Js
|
|
299
304
|
</tr>
|
300
305
|
<tr>
|
301
306
|
<td class="parameter_name"><p>error</p></td>
|
302
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
307
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
303
308
|
<td class="parameter_annotations"> </td>
|
304
309
|
</tr>
|
305
310
|
</tbody>
|
@@ -307,25 +312,25 @@ json_parser_load_from_file (<em class="parameter"><code><a class="link" href="Js
|
|
307
312
|
</div>
|
308
313
|
<div class="refsect3">
|
309
314
|
<a name="json-parser-load-from-file.returns"></a><h4>Returns</h4>
|
310
|
-
<p> <code class="literal">TRUE</code> if the file was successfully loaded and parsed.
|
315
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file was successfully loaded and parsed.
|
311
316
|
In case of error, <em class="parameter"><code>error</code></em>
|
312
|
-
is set accordingly and <code class="literal">FALSE</code> is returned</p>
|
317
|
+
is set accordingly and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</p>
|
313
318
|
</div>
|
314
319
|
</div>
|
315
320
|
<hr>
|
316
321
|
<div class="refsect2">
|
317
322
|
<a name="json-parser-load-from-data"></a><h3>json_parser_load_from_data ()</h3>
|
318
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
323
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
319
324
|
json_parser_load_from_data (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
320
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
321
|
-
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
322
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
325
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
|
326
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> length</code></em>,
|
327
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
323
328
|
<p>Loads a JSON stream from a buffer and parses it. You can call this function
|
324
329
|
multiple times with the same <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> object, but the contents of the
|
325
330
|
parser will be destroyed each time.</p>
|
326
331
|
<div class="refsect3">
|
327
332
|
<a name="json-parser-load-from-data.parameters"></a><h4>Parameters</h4>
|
328
|
-
<div class="informaltable"><table width="100%" border="0">
|
333
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
329
334
|
<colgroup>
|
330
335
|
<col width="150px" class="parameters_name">
|
331
336
|
<col class="parameters_description">
|
@@ -349,7 +354,7 @@ parser will be destroyed each time.</p>
|
|
349
354
|
</tr>
|
350
355
|
<tr>
|
351
356
|
<td class="parameter_name"><p>error</p></td>
|
352
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
357
|
+
<td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
353
358
|
<td class="parameter_annotations"> </td>
|
354
359
|
</tr>
|
355
360
|
</tbody>
|
@@ -357,30 +362,30 @@ parser will be destroyed each time.</p>
|
|
357
362
|
</div>
|
358
363
|
<div class="refsect3">
|
359
364
|
<a name="json-parser-load-from-data.returns"></a><h4>Returns</h4>
|
360
|
-
<p> <code class="literal">TRUE</code> if the buffer was succesfully parser. In case
|
365
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the buffer was succesfully parser. In case
|
361
366
|
of error, <em class="parameter"><code>error</code></em>
|
362
|
-
is set accordingly and <code class="literal">FALSE</code> is returned</p>
|
367
|
+
is set accordingly and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</p>
|
363
368
|
</div>
|
364
369
|
</div>
|
365
370
|
<hr>
|
366
371
|
<div class="refsect2">
|
367
372
|
<a name="json-parser-load-from-stream"></a><h3>json_parser_load_from_stream ()</h3>
|
368
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
373
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
369
374
|
json_parser_load_from_stream (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
370
|
-
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
371
|
-
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
372
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
375
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
376
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
377
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
373
378
|
<p>Loads the contents of an input stream and parses them.</p>
|
374
379
|
<p>If <em class="parameter"><code>cancellable</code></em>
|
375
|
-
is not <code class="literal">NULL</code>, then the operation can be cancelled by
|
380
|
+
is not <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
|
376
381
|
triggering the <em class="parameter"><code>cancellable</code></em>
|
377
382
|
object from another thread. If the
|
378
|
-
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be set
|
383
|
+
operation was cancelled, the error <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set
|
379
384
|
on the passed <em class="parameter"><code>error</code></em>
|
380
385
|
.</p>
|
381
386
|
<div class="refsect3">
|
382
387
|
<a name="json-parser-load-from-stream.parameters"></a><h4>Parameters</h4>
|
383
|
-
<div class="informaltable"><table width="100%" border="0">
|
388
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
384
389
|
<colgroup>
|
385
390
|
<col width="150px" class="parameters_name">
|
386
391
|
<col class="parameters_description">
|
@@ -394,17 +399,17 @@ on the passed <em class="parameter"><code>error</code></em>
|
|
394
399
|
</tr>
|
395
400
|
<tr>
|
396
401
|
<td class="parameter_name"><p>stream</p></td>
|
397
|
-
<td class="parameter_description"><p>an open <span class="type">GInputStream</span></p></td>
|
402
|
+
<td class="parameter_description"><p>an open <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a></p></td>
|
398
403
|
<td class="parameter_annotations"> </td>
|
399
404
|
</tr>
|
400
405
|
<tr>
|
401
406
|
<td class="parameter_name"><p>cancellable</p></td>
|
402
|
-
<td class="parameter_description"><p> a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. </p></td>
|
407
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
403
408
|
<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>
|
404
409
|
</tr>
|
405
410
|
<tr>
|
406
411
|
<td class="parameter_name"><p>error</p></td>
|
407
|
-
<td class="parameter_description"><p>the return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
412
|
+
<td class="parameter_description"><p>the return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
408
413
|
<td class="parameter_annotations"> </td>
|
409
414
|
</tr>
|
410
415
|
</tbody>
|
@@ -412,8 +417,8 @@ on the passed <em class="parameter"><code>error</code></em>
|
|
412
417
|
</div>
|
413
418
|
<div class="refsect3">
|
414
419
|
<a name="json-parser-load-from-stream.returns"></a><h4>Returns</h4>
|
415
|
-
<p> <code class="literal">TRUE</code> if the data stream was successfully read and
|
416
|
-
parsed, and <code class="literal">FALSE</code> otherwise</p>
|
420
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data stream was successfully read and
|
421
|
+
parsed, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
417
422
|
</div>
|
418
423
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
419
424
|
</div>
|
@@ -422,10 +427,10 @@ parsed, and <code class="literal">FALSE</code> otherwise</p>
|
|
422
427
|
<a name="json-parser-load-from-stream-async"></a><h3>json_parser_load_from_stream_async ()</h3>
|
423
428
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
424
429
|
json_parser_load_from_stream_async (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
425
|
-
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
426
|
-
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
427
|
-
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
428
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
430
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
|
431
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
|
432
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
|
433
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
|
429
434
|
<p>Asynchronously reads the contents of <em class="parameter"><code>stream</code></em>
|
430
435
|
.</p>
|
431
436
|
<p>For more details, see <a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()"><code class="function">json_parser_load_from_stream()</code></a> which is the
|
@@ -436,7 +441,7 @@ then call <a class="link" href="JsonParser.html#json-parser-load-from-stream-fin
|
|
436
441
|
of the operation.</p>
|
437
442
|
<div class="refsect3">
|
438
443
|
<a name="json-parser-load-from-stream-async.parameters"></a><h4>Parameters</h4>
|
439
|
-
<div class="informaltable"><table width="100%" border="0">
|
444
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
440
445
|
<colgroup>
|
441
446
|
<col width="150px" class="parameters_name">
|
442
447
|
<col class="parameters_description">
|
@@ -450,17 +455,17 @@ of the operation.</p>
|
|
450
455
|
</tr>
|
451
456
|
<tr>
|
452
457
|
<td class="parameter_name"><p>stream</p></td>
|
453
|
-
<td class="parameter_description"><p>a <span class="type">GInputStream</span></p></td>
|
458
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a></p></td>
|
454
459
|
<td class="parameter_annotations"> </td>
|
455
460
|
</tr>
|
456
461
|
<tr>
|
457
462
|
<td class="parameter_name"><p>cancellable</p></td>
|
458
|
-
<td class="parameter_description"><p> a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. </p></td>
|
463
|
+
<td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
459
464
|
<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>
|
460
465
|
</tr>
|
461
466
|
<tr>
|
462
467
|
<td class="parameter_name"><p>callback</p></td>
|
463
|
-
<td class="parameter_description"><p>a <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied</p></td>
|
468
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied</p></td>
|
464
469
|
<td class="parameter_annotations"> </td>
|
465
470
|
</tr>
|
466
471
|
<tr>
|
@@ -477,15 +482,15 @@ of the operation.</p>
|
|
477
482
|
<hr>
|
478
483
|
<div class="refsect2">
|
479
484
|
<a name="json-parser-load-from-stream-finish"></a><h3>json_parser_load_from_stream_finish ()</h3>
|
480
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
485
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
481
486
|
json_parser_load_from_stream_finish (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
482
|
-
<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
|
483
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
487
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
|
488
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
484
489
|
<p>Finishes an asynchronous stream loading started with
|
485
490
|
<a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()"><code class="function">json_parser_load_from_stream_async()</code></a>.</p>
|
486
491
|
<div class="refsect3">
|
487
492
|
<a name="json-parser-load-from-stream-finish.parameters"></a><h4>Parameters</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="150px" class="parameters_name">
|
491
496
|
<col class="parameters_description">
|
@@ -499,12 +504,12 @@ json_parser_load_from_stream_finish (<em class="parameter"><code><a class="link"
|
|
499
504
|
</tr>
|
500
505
|
<tr>
|
501
506
|
<td class="parameter_name"><p>result</p></td>
|
502
|
-
<td class="parameter_description"><p>a <span class="type">GAsyncResult</span></p></td>
|
507
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
|
503
508
|
<td class="parameter_annotations"> </td>
|
504
509
|
</tr>
|
505
510
|
<tr>
|
506
511
|
<td class="parameter_name"><p>error</p></td>
|
507
|
-
<td class="parameter_description"><p>the return location for a <span class="type">GError</span> or <code class="literal">NULL</code></p></td>
|
512
|
+
<td class="parameter_description"><p>the return location for a <a href="/home/vagrant/ruby-gnome2.win32/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.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
508
513
|
<td class="parameter_annotations"> </td>
|
509
514
|
</tr>
|
510
515
|
</tbody>
|
@@ -512,8 +517,8 @@ json_parser_load_from_stream_finish (<em class="parameter"><code><a class="link"
|
|
512
517
|
</div>
|
513
518
|
<div class="refsect3">
|
514
519
|
<a name="json-parser-load-from-stream-finish.returns"></a><h4>Returns</h4>
|
515
|
-
<p> <code class="literal">TRUE</code> if the content of the stream was successfully retrieves
|
516
|
-
and parsed, and <code class="literal">FALSE</code> otherwise. In case of error, the <span class="type">GError</span> will be
|
520
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the content of the stream was successfully retrieves
|
521
|
+
and parsed, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. In case of error, the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will be
|
517
522
|
filled accordingly.</p>
|
518
523
|
</div>
|
519
524
|
<p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
|
@@ -526,7 +531,7 @@ json_parser_get_root (<em class="parameter"><code><a class="link" href="JsonPars
|
|
526
531
|
<p>Retrieves the top level node from the parsed JSON stream.</p>
|
527
532
|
<div class="refsect3">
|
528
533
|
<a name="json-parser-get-root.parameters"></a><h4>Parameters</h4>
|
529
|
-
<div class="informaltable"><table width="100%" border="0">
|
534
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
530
535
|
<colgroup>
|
531
536
|
<col width="150px" class="parameters_name">
|
532
537
|
<col class="parameters_description">
|
@@ -550,7 +555,7 @@ or freed. </p>
|
|
550
555
|
<hr>
|
551
556
|
<div class="refsect2">
|
552
557
|
<a name="json-parser-get-current-line"></a><h3>json_parser_get_current_line ()</h3>
|
553
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
558
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
554
559
|
json_parser_get_current_line (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
|
555
560
|
<p>Retrieves the line currently parsed, starting from 1.</p>
|
556
561
|
<p>This function has defined behaviour only while parsing; calling this
|
@@ -558,7 +563,7 @@ function from outside the signal handlers emitted by <a class="link" href="JsonP
|
|
558
563
|
yield 0.</p>
|
559
564
|
<div class="refsect3">
|
560
565
|
<a name="json-parser-get-current-line.parameters"></a><h4>Parameters</h4>
|
561
|
-
<div class="informaltable"><table width="100%" border="0">
|
566
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
562
567
|
<colgroup>
|
563
568
|
<col width="150px" class="parameters_name">
|
564
569
|
<col class="parameters_description">
|
@@ -579,7 +584,7 @@ yield 0.</p>
|
|
579
584
|
<hr>
|
580
585
|
<div class="refsect2">
|
581
586
|
<a name="json-parser-get-current-pos"></a><h3>json_parser_get_current_pos ()</h3>
|
582
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
587
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
583
588
|
json_parser_get_current_pos (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
|
584
589
|
<p>Retrieves the current position inside the current line, starting
|
585
590
|
from 0.</p>
|
@@ -588,7 +593,7 @@ function from outside the signal handlers emitted by <a class="link" href="JsonP
|
|
588
593
|
yield 0.</p>
|
589
594
|
<div class="refsect3">
|
590
595
|
<a name="json-parser-get-current-pos.parameters"></a><h4>Parameters</h4>
|
591
|
-
<div class="informaltable"><table width="100%" border="0">
|
596
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
592
597
|
<colgroup>
|
593
598
|
<col width="150px" class="parameters_name">
|
594
599
|
<col class="parameters_description">
|
@@ -609,9 +614,9 @@ yield 0.</p>
|
|
609
614
|
<hr>
|
610
615
|
<div class="refsect2">
|
611
616
|
<a name="json-parser-has-assignment"></a><h3>json_parser_has_assignment ()</h3>
|
612
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
617
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
613
618
|
json_parser_has_assignment (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
614
|
-
<em class="parameter"><code><span class="type">gchar</span> **variable_name</code></em>);</pre>
|
619
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **variable_name</code></em>);</pre>
|
615
620
|
<p>A JSON data stream might sometimes contain an assignment, like:</p>
|
616
621
|
<div class="informalexample">
|
617
622
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
@@ -632,7 +637,7 @@ existence of the assignment in the data stream and the variable name
|
|
632
637
|
used.</p>
|
633
638
|
<div class="refsect3">
|
634
639
|
<a name="json-parser-has-assignment.parameters"></a><h4>Parameters</h4>
|
635
|
-
<div class="informaltable"><table width="100%" border="0">
|
640
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
636
641
|
<colgroup>
|
637
642
|
<col width="150px" class="parameters_name">
|
638
643
|
<col class="parameters_description">
|
@@ -647,7 +652,7 @@ used.</p>
|
|
647
652
|
<tr>
|
648
653
|
<td class="parameter_name"><p>variable_name</p></td>
|
649
654
|
<td class="parameter_description"><p> Return location for the variable
|
650
|
-
name, or <code class="literal">NULL</code>. </p></td>
|
655
|
+
name, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
651
656
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
652
657
|
</tr>
|
653
658
|
</tbody>
|
@@ -655,9 +660,9 @@ name, or <code class="literal">NULL</code>. </p></td>
|
|
655
660
|
</div>
|
656
661
|
<div class="refsect3">
|
657
662
|
<a name="json-parser-has-assignment.returns"></a><h4>Returns</h4>
|
658
|
-
<p> <code class="literal">TRUE</code> if there was an assignment, <code class="literal">FALSE</code> otherwise. If
|
663
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was an assignment, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. If
|
659
664
|
<em class="parameter"><code>variable_name</code></em>
|
660
|
-
is not <code class="literal">NULL</code> it will be set to the name of the variable
|
665
|
+
is not <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it will be set to the name of the variable
|
661
666
|
used in the assignment. The string is owned by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should
|
662
667
|
never be modified or freed.</p>
|
663
668
|
</div>
|
@@ -672,7 +677,7 @@ never be modified or freed.</p>
|
|
672
677
|
<p>This enumeration can be extended at later date</p>
|
673
678
|
<div class="refsect3">
|
674
679
|
<a name="JsonParserError.members"></a><h4>Members</h4>
|
675
|
-
<div class="informaltable"><table width="100%" border="0">
|
680
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
676
681
|
<colgroup>
|
677
682
|
<col width="300px" class="enum_members_name">
|
678
683
|
<col class="enum_members_description">
|
@@ -775,7 +780,7 @@ private and should only be accessed via the provided API.</p>
|
|
775
780
|
<p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> class.</p>
|
776
781
|
<div class="refsect3">
|
777
782
|
<a name="JsonParserClass.members"></a><h4>Members</h4>
|
778
|
-
<div class="informaltable"><table width="100%" border="0">
|
783
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
779
784
|
<colgroup>
|
780
785
|
<col width="300px" class="struct_members_name">
|
781
786
|
<col class="struct_members_description">
|
@@ -836,7 +841,7 @@ private and should only be accessed via the provided API.</p>
|
|
836
841
|
<a name="JsonParser.property-details"></a><h2>Property Details</h2>
|
837
842
|
<div class="refsect2">
|
838
843
|
<a name="JsonParser--immutable"></a><h3>The <code class="literal">“immutable”</code> property</h3>
|
839
|
-
<pre class="programlisting"> “immutable” <span class="type">gboolean</span></pre>
|
844
|
+
<pre class="programlisting"> “immutable” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
840
845
|
<p>Whether the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> tree built by the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> should be immutable
|
841
846
|
when created. Making the output immutable on creation avoids the expense
|
842
847
|
of traversing it to make it immutable later.</p>
|
@@ -852,14 +857,14 @@ of traversing it to make it immutable later.</p>
|
|
852
857
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
853
858
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
854
859
|
<a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array,
|
855
|
-
<span class="type">gint</span> index_,
|
856
|
-
<span class="type">gpointer</span> user_data)</pre>
|
860
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_,
|
861
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
857
862
|
<p>The ::array-element signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
858
863
|
has successfully parsed a single element of a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>. The
|
859
864
|
array and element index are passed to the signal handlers.</p>
|
860
865
|
<div class="refsect3">
|
861
866
|
<a name="JsonParser-array-element.parameters"></a><h4>Parameters</h4>
|
862
|
-
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
863
868
|
<colgroup>
|
864
869
|
<col width="150px" class="parameters_name">
|
865
870
|
<col class="parameters_description">
|
@@ -889,7 +894,7 @@ array and element index are passed to the signal handlers.</p>
|
|
889
894
|
</tbody>
|
890
895
|
</table></div>
|
891
896
|
</div>
|
892
|
-
<p>Flags: Run Last</p>
|
897
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
893
898
|
</div>
|
894
899
|
<hr>
|
895
900
|
<div class="refsect2">
|
@@ -897,12 +902,12 @@ array and element index are passed to the signal handlers.</p>
|
|
897
902
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
898
903
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
899
904
|
<a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array,
|
900
|
-
<span class="type">gpointer</span> user_data)</pre>
|
905
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
901
906
|
<p>The ::array-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
902
907
|
has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
|
903
908
|
<div class="refsect3">
|
904
909
|
<a name="JsonParser-array-end.parameters"></a><h4>Parameters</h4>
|
905
|
-
<div class="informaltable"><table width="100%" border="0">
|
910
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
906
911
|
<colgroup>
|
907
912
|
<col width="150px" class="parameters_name">
|
908
913
|
<col class="parameters_description">
|
@@ -927,19 +932,19 @@ has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.htm
|
|
927
932
|
</tbody>
|
928
933
|
</table></div>
|
929
934
|
</div>
|
930
|
-
<p>Flags: Run Last</p>
|
935
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
931
936
|
</div>
|
932
937
|
<hr>
|
933
938
|
<div class="refsect2">
|
934
939
|
<a name="JsonParser-array-start"></a><h3>The <code class="literal">“array-start”</code> signal</h3>
|
935
940
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
936
941
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
937
|
-
<span class="type">gpointer</span> user_data)</pre>
|
942
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
938
943
|
<p>The ::array-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
939
944
|
starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
|
940
945
|
<div class="refsect3">
|
941
946
|
<a name="JsonParser-array-start.parameters"></a><h4>Parameters</h4>
|
942
|
-
<div class="informaltable"><table width="100%" border="0">
|
947
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
943
948
|
<colgroup>
|
944
949
|
<col width="150px" class="parameters_name">
|
945
950
|
<col class="parameters_description">
|
@@ -959,20 +964,20 @@ starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><spa
|
|
959
964
|
</tbody>
|
960
965
|
</table></div>
|
961
966
|
</div>
|
962
|
-
<p>Flags: Run Last</p>
|
967
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
963
968
|
</div>
|
964
969
|
<hr>
|
965
970
|
<div class="refsect2">
|
966
971
|
<a name="JsonParser-error"></a><h3>The <code class="literal">“error”</code> signal</h3>
|
967
972
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
968
973
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
969
|
-
<span class="type">gpointer</span> error,
|
970
|
-
<span class="type">gpointer</span> user_data)</pre>
|
974
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> error,
|
975
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
971
976
|
<p>The ::error signal is emitted each time a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> encounters
|
972
977
|
an error in a JSON stream.</p>
|
973
978
|
<div class="refsect3">
|
974
979
|
<a name="JsonParser-error.parameters"></a><h4>Parameters</h4>
|
975
|
-
<div class="informaltable"><table width="100%" border="0">
|
980
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
976
981
|
<colgroup>
|
977
982
|
<col width="150px" class="parameters_name">
|
978
983
|
<col class="parameters_description">
|
@@ -986,7 +991,7 @@ an error in a JSON stream.</p>
|
|
986
991
|
</tr>
|
987
992
|
<tr>
|
988
993
|
<td class="parameter_name"><p>error</p></td>
|
989
|
-
<td class="parameter_description"><p>a pointer to the <span class="type">GError</span></p></td>
|
994
|
+
<td class="parameter_description"><p>a pointer to the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
|
990
995
|
<td class="parameter_annotations"> </td>
|
991
996
|
</tr>
|
992
997
|
<tr>
|
@@ -997,7 +1002,7 @@ an error in a JSON stream.</p>
|
|
997
1002
|
</tbody>
|
998
1003
|
</table></div>
|
999
1004
|
</div>
|
1000
|
-
<p>Flags: Run Last</p>
|
1005
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1001
1006
|
</div>
|
1002
1007
|
<hr>
|
1003
1008
|
<div class="refsect2">
|
@@ -1005,12 +1010,12 @@ an error in a JSON stream.</p>
|
|
1005
1010
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1006
1011
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1007
1012
|
<a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object,
|
1008
|
-
<span class="type">gpointer</span> user_data)</pre>
|
1013
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1009
1014
|
<p>The ::object-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
1010
1015
|
has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
|
1011
1016
|
<div class="refsect3">
|
1012
1017
|
<a name="JsonParser-object-end.parameters"></a><h4>Parameters</h4>
|
1013
|
-
<div class="informaltable"><table width="100%" border="0">
|
1018
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1014
1019
|
<colgroup>
|
1015
1020
|
<col width="150px" class="parameters_name">
|
1016
1021
|
<col class="parameters_description">
|
@@ -1035,7 +1040,7 @@ has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.ht
|
|
1035
1040
|
</tbody>
|
1036
1041
|
</table></div>
|
1037
1042
|
</div>
|
1038
|
-
<p>Flags: Run Last</p>
|
1043
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1039
1044
|
</div>
|
1040
1045
|
<hr>
|
1041
1046
|
<div class="refsect2">
|
@@ -1043,14 +1048,14 @@ has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.ht
|
|
1043
1048
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1044
1049
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1045
1050
|
<a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object,
|
1046
|
-
<span class="type">gchar</span> *member_name,
|
1047
|
-
<span class="type">gpointer</span> user_data)</pre>
|
1051
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *member_name,
|
1052
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1048
1053
|
<p>The ::object-member signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
1049
1054
|
has successfully parsed a single member of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. The
|
1050
1055
|
object and member are passed to the signal handlers.</p>
|
1051
1056
|
<div class="refsect3">
|
1052
1057
|
<a name="JsonParser-object-member.parameters"></a><h4>Parameters</h4>
|
1053
|
-
<div class="informaltable"><table width="100%" border="0">
|
1058
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1054
1059
|
<colgroup>
|
1055
1060
|
<col width="150px" class="parameters_name">
|
1056
1061
|
<col class="parameters_description">
|
@@ -1080,19 +1085,19 @@ object and member are passed to the signal handlers.</p>
|
|
1080
1085
|
</tbody>
|
1081
1086
|
</table></div>
|
1082
1087
|
</div>
|
1083
|
-
<p>Flags: Run Last</p>
|
1088
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1084
1089
|
</div>
|
1085
1090
|
<hr>
|
1086
1091
|
<div class="refsect2">
|
1087
1092
|
<a name="JsonParser-object-start"></a><h3>The <code class="literal">“object-start”</code> signal</h3>
|
1088
1093
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1089
1094
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1090
|
-
<span class="type">gpointer</span> user_data)</pre>
|
1095
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1091
1096
|
<p>The ::object-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
1092
1097
|
starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
|
1093
1098
|
<div class="refsect3">
|
1094
1099
|
<a name="JsonParser-object-start.parameters"></a><h4>Parameters</h4>
|
1095
|
-
<div class="informaltable"><table width="100%" border="0">
|
1100
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1096
1101
|
<colgroup>
|
1097
1102
|
<col width="150px" class="parameters_name">
|
1098
1103
|
<col class="parameters_description">
|
@@ -1112,19 +1117,19 @@ starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><s
|
|
1112
1117
|
</tbody>
|
1113
1118
|
</table></div>
|
1114
1119
|
</div>
|
1115
|
-
<p>Flags: Run Last</p>
|
1120
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1116
1121
|
</div>
|
1117
1122
|
<hr>
|
1118
1123
|
<div class="refsect2">
|
1119
1124
|
<a name="JsonParser-parse-end"></a><h3>The <code class="literal">“parse-end”</code> signal</h3>
|
1120
1125
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1121
1126
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1122
|
-
<span class="type">gpointer</span> user_data)</pre>
|
1127
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1123
1128
|
<p>The ::parse-end signal is emitted when the parser successfully
|
1124
1129
|
finished parsing a JSON data stream</p>
|
1125
1130
|
<div class="refsect3">
|
1126
1131
|
<a name="JsonParser-parse-end.parameters"></a><h4>Parameters</h4>
|
1127
|
-
<div class="informaltable"><table width="100%" border="0">
|
1132
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1128
1133
|
<colgroup>
|
1129
1134
|
<col width="150px" class="parameters_name">
|
1130
1135
|
<col class="parameters_description">
|
@@ -1144,19 +1149,19 @@ finished parsing a JSON data stream</p>
|
|
1144
1149
|
</tbody>
|
1145
1150
|
</table></div>
|
1146
1151
|
</div>
|
1147
|
-
<p>Flags: Run Last</p>
|
1152
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1148
1153
|
</div>
|
1149
1154
|
<hr>
|
1150
1155
|
<div class="refsect2">
|
1151
1156
|
<a name="JsonParser-parse-start"></a><h3>The <code class="literal">“parse-start”</code> signal</h3>
|
1152
1157
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1153
1158
|
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1154
|
-
<span class="type">gpointer</span> user_data)</pre>
|
1159
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
1155
1160
|
<p>The ::parse-start signal is emitted when the parser began parsing
|
1156
1161
|
a JSON data stream.</p>
|
1157
1162
|
<div class="refsect3">
|
1158
1163
|
<a name="JsonParser-parse-start.parameters"></a><h4>Parameters</h4>
|
1159
|
-
<div class="informaltable"><table width="100%" border="0">
|
1164
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1160
1165
|
<colgroup>
|
1161
1166
|
<col width="150px" class="parameters_name">
|
1162
1167
|
<col class="parameters_description">
|
@@ -1176,7 +1181,7 @@ a JSON data stream.</p>
|
|
1176
1181
|
</tbody>
|
1177
1182
|
</table></div>
|
1178
1183
|
</div>
|
1179
|
-
<p>Flags: Run Last</p>
|
1184
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
1180
1185
|
</div>
|
1181
1186
|
</div>
|
1182
1187
|
</div>
|