clutter 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -10
- data/dependency-check/Rakefile +40 -0
- data/test/clutter-test-utils.rb +0 -4
- data/test/run-test.rb +1 -1
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +2 -2
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1 -1
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +4 -4
- data/vendor/local/share/gir-1.0/Json-1.0.gir +42 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +43 -38
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +60 -55
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +118 -113
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +28 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +82 -77
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +23 -5
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +58 -53
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +62 -57
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +85 -80
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +56 -51
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +169 -144
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +116 -111
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +66 -61
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +14 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +15 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/{json-glib.html → json-overview.html} +6 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +1 -1
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +2 -2
- data/vendor/local/share/man/man1/json-glib-validate.1 +2 -2
- metadata +15 -14
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GObject Serialization: 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="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
9
9
|
<link rel="prev" href="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</tr></table></div>
|
34
34
|
<div class="refsect1">
|
35
35
|
<a name="json-glib-GObject-Serialization.functions"></a><h2>Functions</h2>
|
36
|
-
<div class="informaltable"><table width="100%" border="0">
|
36
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
37
37
|
<colgroup>
|
38
38
|
<col width="150px" class="functions_return">
|
39
39
|
<col class="functions_name">
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="function_type">
|
52
|
-
<span class="returnvalue">GObject</span> *
|
52
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
53
53
|
</td>
|
54
54
|
<td class="function_name">
|
55
55
|
<a class="link" href="json-glib-GObject-Serialization.html#json-gobject-deserialize" title="json_gobject_deserialize ()">json_gobject_deserialize</a> <span class="c_punctuation">()</span>
|
@@ -57,7 +57,7 @@
|
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="function_type">
|
60
|
-
<span class="returnvalue">gchar</span> *
|
60
|
+
<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> *
|
61
61
|
</td>
|
62
62
|
<td class="function_name">
|
63
63
|
<a class="link" href="json-glib-GObject-Serialization.html#json-gobject-to-data" title="json_gobject_to_data ()">json_gobject_to_data</a> <span class="c_punctuation">()</span>
|
@@ -65,7 +65,7 @@
|
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="function_type">
|
68
|
-
<span class="returnvalue">GObject</span> *
|
68
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
69
69
|
</td>
|
70
70
|
<td class="function_name">
|
71
71
|
<a class="link" href="json-glib-GObject-Serialization.html#json-gobject-from-data" title="json_gobject_from_data ()">json_gobject_from_data</a> <span class="c_punctuation">()</span>
|
@@ -73,7 +73,7 @@
|
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="function_type">
|
76
|
-
<span class="returnvalue">GObject</span> *
|
76
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
77
77
|
</td>
|
78
78
|
<td class="function_name">
|
79
79
|
<a class="link" href="json-glib-GObject-Serialization.html#json-construct-gobject" title="json_construct_gobject ()">json_construct_gobject</a> <span class="c_punctuation">()</span>
|
@@ -81,7 +81,7 @@
|
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="function_type">
|
84
|
-
<span class="returnvalue">gchar</span> *
|
84
|
+
<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> *
|
85
85
|
</td>
|
86
86
|
<td class="function_name">
|
87
87
|
<a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()">json_serialize_gobject</a> <span class="c_punctuation">()</span>
|
@@ -91,10 +91,15 @@
|
|
91
91
|
</table></div>
|
92
92
|
</div>
|
93
93
|
<div class="refsect1">
|
94
|
+
<a name="json-glib-GObject-Serialization.includes"></a><h2>Includes</h2>
|
95
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
96
|
+
</pre>
|
97
|
+
</div>
|
98
|
+
<div class="refsect1">
|
94
99
|
<a name="json-glib-GObject-Serialization.description"></a><h2>Description</h2>
|
95
|
-
<p>JSON-GLib provides API for serializing and deserializing <span class="type">GObject</span>
|
100
|
+
<p>JSON-GLib provides API for serializing and deserializing <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>
|
96
101
|
instances to and from JSON data streams.</p>
|
97
|
-
<p>Simple <span class="type">GObject</span> classes can be (de)serialized into JSON objects, if the
|
102
|
+
<p>Simple <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> classes can be (de)serialized into JSON objects, if the
|
98
103
|
properties have compatible types with the native JSON types (integers,
|
99
104
|
booleans, strings, string vectors). If the class to be (de)serialized has
|
100
105
|
complex data types for properties (like boxed types or other objects)
|
@@ -106,13 +111,13 @@ and its virtual functions.</p>
|
|
106
111
|
<div class="refsect2">
|
107
112
|
<a name="json-gobject-serialize"></a><h3>json_gobject_serialize ()</h3>
|
108
113
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
109
|
-
json_gobject_serialize (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>);</pre>
|
110
|
-
<p>Creates a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> representing the passed <span class="type">GObject</span>
|
114
|
+
json_gobject_serialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *gobject</code></em>);</pre>
|
115
|
+
<p>Creates a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> representing the passed <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>
|
111
116
|
instance. Each member of the returned JSON object will
|
112
|
-
map to a property of the <span class="type">GObject</span></p>
|
117
|
+
map to a property of the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p>
|
113
118
|
<div class="refsect3">
|
114
119
|
<a name="json-gobject-serialize.parameters"></a><h4>Parameters</h4>
|
115
|
-
<div class="informaltable"><table width="100%" border="0">
|
120
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
116
121
|
<colgroup>
|
117
122
|
<col width="150px" class="parameters_name">
|
118
123
|
<col class="parameters_description">
|
@@ -120,7 +125,7 @@ map to a property of the <span class="type">GObject</span></p>
|
|
120
125
|
</colgroup>
|
121
126
|
<tbody><tr>
|
122
127
|
<td class="parameter_name"><p>gobject</p></td>
|
123
|
-
<td class="parameter_description"><p>a <span class="type">GObject</span></p></td>
|
128
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p></td>
|
124
129
|
<td class="parameter_annotations"> </td>
|
125
130
|
</tr></tbody>
|
126
131
|
</table></div>
|
@@ -137,15 +142,15 @@ the resources allocated by this function. </p>
|
|
137
142
|
<hr>
|
138
143
|
<div class="refsect2">
|
139
144
|
<a name="json-gobject-deserialize"></a><h3>json_gobject_deserialize ()</h3>
|
140
|
-
<pre class="programlisting"><span class="returnvalue">GObject</span> *
|
141
|
-
json_gobject_deserialize (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
145
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
146
|
+
json_gobject_deserialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gtype</code></em>,
|
142
147
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
143
|
-
<p>Creates a new <span class="type">GObject</span> of type <em class="parameter"><code>gtype</code></em>
|
148
|
+
<p>Creates a new <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> of type <em class="parameter"><code>gtype</code></em>
|
144
149
|
, and constructs it
|
145
150
|
using the members of the passed <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p>
|
146
151
|
<div class="refsect3">
|
147
152
|
<a name="json-gobject-deserialize.parameters"></a><h4>Parameters</h4>
|
148
|
-
<div class="informaltable"><table width="100%" border="0">
|
153
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
149
154
|
<colgroup>
|
150
155
|
<col width="150px" class="parameters_name">
|
151
156
|
<col class="parameters_description">
|
@@ -154,7 +159,7 @@ using the members of the passed <a class="link" href="json-glib-JSON-Object.html
|
|
154
159
|
<tbody>
|
155
160
|
<tr>
|
156
161
|
<td class="parameter_name"><p>gtype</p></td>
|
157
|
-
<td class="parameter_description"><p>the type of the <span class="type">GObject</span> to create</p></td>
|
162
|
+
<td class="parameter_description"><p>the type of the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> to create</p></td>
|
158
163
|
<td class="parameter_annotations"> </td>
|
159
164
|
</tr>
|
160
165
|
<tr>
|
@@ -169,8 +174,8 @@ instance of type <em class="parameter"><code>gtype</code></em>
|
|
169
174
|
</div>
|
170
175
|
<div class="refsect3">
|
171
176
|
<a name="json-gobject-deserialize.returns"></a><h4>Returns</h4>
|
172
|
-
<p> The newly created <span class="type">GObject</span>
|
173
|
-
instance. Use <code class="function">g_object_unref()</code> to free the resources
|
177
|
+
<p> The newly created <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>
|
178
|
+
instance. 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> to free the resources
|
174
179
|
allocated by this function. </p>
|
175
180
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
176
181
|
</div>
|
@@ -179,10 +184,10 @@ allocated by this function. </p>
|
|
179
184
|
<hr>
|
180
185
|
<div class="refsect2">
|
181
186
|
<a name="json-gobject-to-data"></a><h3>json_gobject_to_data ()</h3>
|
182
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
183
|
-
json_gobject_to_data (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
184
|
-
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
185
|
-
<p>Serializes a <span class="type">GObject</span> into a JSON data stream, iterating recursively
|
187
|
+
<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> *
|
188
|
+
json_gobject_to_data (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *gobject</code></em>,
|
189
|
+
<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>
|
190
|
+
<p>Serializes a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> into a JSON data stream, iterating recursively
|
186
191
|
over each property.</p>
|
187
192
|
<p>If <em class="parameter"><code>gobject</code></em>
|
188
193
|
implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a> interface, it will
|
@@ -191,7 +196,7 @@ implementation will be use to translate the compatible types into
|
|
191
196
|
JSON native types.</p>
|
192
197
|
<div class="refsect3">
|
193
198
|
<a name="json-gobject-to-data.parameters"></a><h4>Parameters</h4>
|
194
|
-
<div class="informaltable"><table width="100%" border="0">
|
199
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
195
200
|
<colgroup>
|
196
201
|
<col width="150px" class="parameters_name">
|
197
202
|
<col class="parameters_description">
|
@@ -200,12 +205,12 @@ JSON native types.</p>
|
|
200
205
|
<tbody>
|
201
206
|
<tr>
|
202
207
|
<td class="parameter_name"><p>gobject</p></td>
|
203
|
-
<td class="parameter_description"><p>a <span class="type">GObject</span></p></td>
|
208
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p></td>
|
204
209
|
<td class="parameter_annotations"> </td>
|
205
210
|
</tr>
|
206
211
|
<tr>
|
207
212
|
<td class="parameter_name"><p>length</p></td>
|
208
|
-
<td class="parameter_description"><p> return value for the length of the buffer, or <code class="literal">NULL</code>. </p></td>
|
213
|
+
<td class="parameter_description"><p> return value for the length of the 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>
|
209
214
|
<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>
|
210
215
|
</tr>
|
211
216
|
</tbody>
|
@@ -213,20 +218,20 @@ JSON native types.</p>
|
|
213
218
|
</div>
|
214
219
|
<div class="refsect3">
|
215
220
|
<a name="json-gobject-to-data.returns"></a><h4>Returns</h4>
|
216
|
-
<p> a JSON data stream representing the passed <span class="type">GObject</span></p>
|
221
|
+
<p> a JSON data stream representing the passed <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p>
|
217
222
|
</div>
|
218
223
|
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
|
219
224
|
</div>
|
220
225
|
<hr>
|
221
226
|
<div class="refsect2">
|
222
227
|
<a name="json-gobject-from-data"></a><h3>json_gobject_from_data ()</h3>
|
223
|
-
<pre class="programlisting"><span class="returnvalue">GObject</span> *
|
224
|
-
json_gobject_from_data (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
225
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
226
|
-
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
227
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
228
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
229
|
+
json_gobject_from_data (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gtype</code></em>,
|
230
|
+
<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>,
|
231
|
+
<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>,
|
232
|
+
<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>
|
228
233
|
<p>Deserializes a JSON data stream and creates the corresponding
|
229
|
-
<span class="type">GObject</span> class. If <em class="parameter"><code>gtype</code></em>
|
234
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> class. If <em class="parameter"><code>gtype</code></em>
|
230
235
|
implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a>
|
231
236
|
interface, it will be asked to deserialize all the JSON members
|
232
237
|
into the respective properties; otherwise, the default implementation
|
@@ -234,7 +239,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
234
239
|
<p>Note: the JSON data stream must be an object declaration.</p>
|
235
240
|
<div class="refsect3">
|
236
241
|
<a name="json-gobject-from-data.parameters"></a><h4>Parameters</h4>
|
237
|
-
<div class="informaltable"><table width="100%" border="0">
|
242
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
238
243
|
<colgroup>
|
239
244
|
<col width="150px" class="parameters_name">
|
240
245
|
<col class="parameters_description">
|
@@ -243,7 +248,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
243
248
|
<tbody>
|
244
249
|
<tr>
|
245
250
|
<td class="parameter_name"><p>gtype</p></td>
|
246
|
-
<td class="parameter_description"><p>the <span class="type">GType</span> of object to construct</p></td>
|
251
|
+
<td class="parameter_description"><p>the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of object to construct</p></td>
|
247
252
|
<td class="parameter_annotations"> </td>
|
248
253
|
</tr>
|
249
254
|
<tr>
|
@@ -258,7 +263,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
258
263
|
</tr>
|
259
264
|
<tr>
|
260
265
|
<td class="parameter_name"><p>error</p></td>
|
261
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
266
|
+
<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>
|
262
267
|
<td class="parameter_annotations"> </td>
|
263
268
|
</tr>
|
264
269
|
</tbody>
|
@@ -266,7 +271,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
266
271
|
</div>
|
267
272
|
<div class="refsect3">
|
268
273
|
<a name="json-gobject-from-data.returns"></a><h4>Returns</h4>
|
269
|
-
<p> a <span class="type">GObject</span> or <code class="literal">NULL</code>. </p>
|
274
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</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>
|
270
275
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
271
276
|
</div>
|
272
277
|
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
|
@@ -274,17 +279,17 @@ will be used to translate the compatible JSON native types.</p>
|
|
274
279
|
<hr>
|
275
280
|
<div class="refsect2">
|
276
281
|
<a name="json-construct-gobject"></a><h3>json_construct_gobject ()</h3>
|
277
|
-
<pre class="programlisting"><span class="returnvalue">GObject</span> *
|
278
|
-
json_construct_gobject (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>,
|
279
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
280
|
-
<em class="parameter"><code><span class="type">gsize</span> length</code></em>,
|
281
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
282
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="returnvalue">GObject</span></a> *
|
283
|
+
json_construct_gobject (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gtype</code></em>,
|
284
|
+
<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>,
|
285
|
+
<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>,
|
286
|
+
<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>
|
282
287
|
<div class="warning">
|
283
288
|
<p><code class="literal">json_construct_gobject</code> has been deprecated since version 0.10 and should not be used in newly-written code.</p>
|
284
289
|
<p>Use <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-from-data" title="json_gobject_from_data ()"><code class="function">json_gobject_from_data()</code></a> instead</p>
|
285
290
|
</div>
|
286
291
|
<p>Deserializes a JSON data stream and creates the corresponding
|
287
|
-
<span class="type">GObject</span> class. If <em class="parameter"><code>gtype</code></em>
|
292
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> class. If <em class="parameter"><code>gtype</code></em>
|
288
293
|
implements the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a>
|
289
294
|
interface, it will be asked to deserialize all the JSON members
|
290
295
|
into the respective properties; otherwise, the default implementation
|
@@ -292,7 +297,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
292
297
|
<p>Note: the JSON data stream must be an object declaration.</p>
|
293
298
|
<div class="refsect3">
|
294
299
|
<a name="json-construct-gobject.parameters"></a><h4>Parameters</h4>
|
295
|
-
<div class="informaltable"><table width="100%" border="0">
|
300
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
296
301
|
<colgroup>
|
297
302
|
<col width="150px" class="parameters_name">
|
298
303
|
<col class="parameters_description">
|
@@ -301,7 +306,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
301
306
|
<tbody>
|
302
307
|
<tr>
|
303
308
|
<td class="parameter_name"><p>gtype</p></td>
|
304
|
-
<td class="parameter_description"><p>the <span class="type">GType</span> of object to construct</p></td>
|
309
|
+
<td class="parameter_description"><p>the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of object to construct</p></td>
|
305
310
|
<td class="parameter_annotations"> </td>
|
306
311
|
</tr>
|
307
312
|
<tr>
|
@@ -316,7 +321,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
316
321
|
</tr>
|
317
322
|
<tr>
|
318
323
|
<td class="parameter_name"><p>error</p></td>
|
319
|
-
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
324
|
+
<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>
|
320
325
|
<td class="parameter_annotations"> </td>
|
321
326
|
</tr>
|
322
327
|
</tbody>
|
@@ -324,7 +329,7 @@ will be used to translate the compatible JSON native types.</p>
|
|
324
329
|
</div>
|
325
330
|
<div class="refsect3">
|
326
331
|
<a name="json-construct-gobject.returns"></a><h4>Returns</h4>
|
327
|
-
<p> a <span class="type">GObject</span> or <code class="literal">NULL</code>. </p>
|
332
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</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>
|
328
333
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
329
334
|
</div>
|
330
335
|
<p class="since">Since: <a class="link" href="ix03.html#api-index-0.4">0.4</a></p>
|
@@ -332,21 +337,21 @@ will be used to translate the compatible JSON native types.</p>
|
|
332
337
|
<hr>
|
333
338
|
<div class="refsect2">
|
334
339
|
<a name="json-serialize-gobject"></a><h3>json_serialize_gobject ()</h3>
|
335
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
336
|
-
json_serialize_gobject (<em class="parameter"><code><span class="type">GObject</span> *gobject</code></em>,
|
337
|
-
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
340
|
+
<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> *
|
341
|
+
json_serialize_gobject (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> *gobject</code></em>,
|
342
|
+
<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>
|
338
343
|
<div class="warning">
|
339
344
|
<p><code class="literal">json_serialize_gobject</code> has been deprecated since version 0.10 and should not be used in newly-written code.</p>
|
340
345
|
<p>Use <a class="link" href="json-glib-GObject-Serialization.html#json-gobject-to-data" title="json_gobject_to_data ()"><code class="function">json_gobject_to_data()</code></a> instead</p>
|
341
346
|
</div>
|
342
|
-
<p>Serializes a <span class="type">GObject</span> into a JSON data stream. If <em class="parameter"><code>gobject</code></em>
|
347
|
+
<p>Serializes a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> into a JSON data stream. If <em class="parameter"><code>gobject</code></em>
|
343
348
|
implements
|
344
349
|
the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface"><span class="type">JsonSerializableIface</span></a> interface, it will be asked to serizalize all
|
345
350
|
its properties; otherwise, the default implementation will be use to
|
346
351
|
translate the compatible types into JSON native types.</p>
|
347
352
|
<div class="refsect3">
|
348
353
|
<a name="json-serialize-gobject.parameters"></a><h4>Parameters</h4>
|
349
|
-
<div class="informaltable"><table width="100%" border="0">
|
354
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
350
355
|
<colgroup>
|
351
356
|
<col width="150px" class="parameters_name">
|
352
357
|
<col class="parameters_description">
|
@@ -355,12 +360,12 @@ translate the compatible types into JSON native types.</p>
|
|
355
360
|
<tbody>
|
356
361
|
<tr>
|
357
362
|
<td class="parameter_name"><p>gobject</p></td>
|
358
|
-
<td class="parameter_description"><p>a <span class="type">GObject</span></p></td>
|
363
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p></td>
|
359
364
|
<td class="parameter_annotations"> </td>
|
360
365
|
</tr>
|
361
366
|
<tr>
|
362
367
|
<td class="parameter_name"><p>length</p></td>
|
363
|
-
<td class="parameter_description"><p> return value for the length of the buffer, or <code class="literal">NULL</code>. </p></td>
|
368
|
+
<td class="parameter_description"><p> return value for the length of the 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>
|
364
369
|
<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>
|
365
370
|
</tr>
|
366
371
|
</tbody>
|
@@ -368,7 +373,7 @@ translate the compatible types into JSON native types.</p>
|
|
368
373
|
</div>
|
369
374
|
<div class="refsect3">
|
370
375
|
<a name="json-serialize-gobject.returns"></a><h4>Returns</h4>
|
371
|
-
<p> a JSON data stream representing the passed <span class="type">GObject</span></p>
|
376
|
+
<p> a JSON data stream representing the passed <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a></p>
|
372
377
|
</div>
|
373
378
|
</div>
|
374
379
|
</div>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JSON Array: 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="ch01.html" title="Data Types">
|
9
9
|
<link rel="prev" href="json-glib-JSON-Node.html" title="JSON Node">
|
@@ -34,7 +34,7 @@
|
|
34
34
|
</tr></table></div>
|
35
35
|
<div class="refsect1">
|
36
36
|
<a name="json-glib-JSON-Array.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
38
|
<colgroup>
|
39
39
|
<col width="150px" class="functions_return">
|
40
40
|
<col class="functions_name">
|
@@ -82,7 +82,7 @@
|
|
82
82
|
</tr>
|
83
83
|
<tr>
|
84
84
|
<td class="function_type">
|
85
|
-
<span class="returnvalue">gboolean</span>
|
85
|
+
<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>
|
86
86
|
</td>
|
87
87
|
<td class="function_name">
|
88
88
|
<a class="link" href="json-glib-JSON-Array.html#json-array-is-immutable" title="json_array_is_immutable ()">json_array_is_immutable</a> <span class="c_punctuation">()</span>
|
@@ -90,7 +90,7 @@
|
|
90
90
|
</tr>
|
91
91
|
<tr>
|
92
92
|
<td class="function_type">
|
93
|
-
<span class="returnvalue">guint</span>
|
93
|
+
<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>
|
94
94
|
</td>
|
95
95
|
<td class="function_name">
|
96
96
|
<a class="link" href="json-glib-JSON-Array.html#json-array-hash" title="json_array_hash ()">json_array_hash</a> <span class="c_punctuation">()</span>
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</tr>
|
99
99
|
<tr>
|
100
100
|
<td class="function_type">
|
101
|
-
<span class="returnvalue">gboolean</span>
|
101
|
+
<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>
|
102
102
|
</td>
|
103
103
|
<td class="function_name">
|
104
104
|
<a class="link" href="json-glib-JSON-Array.html#json-array-equal" title="json_array_equal ()">json_array_equal</a> <span class="c_punctuation">()</span>
|
@@ -130,7 +130,7 @@
|
|
130
130
|
</tr>
|
131
131
|
<tr>
|
132
132
|
<td class="function_type">
|
133
|
-
<span class="returnvalue">GList</span> *
|
133
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
134
134
|
</td>
|
135
135
|
<td class="function_name">
|
136
136
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-elements" title="json_array_get_elements ()">json_array_get_elements</a> <span class="c_punctuation">()</span>
|
@@ -138,7 +138,7 @@
|
|
138
138
|
</tr>
|
139
139
|
<tr>
|
140
140
|
<td class="function_type">
|
141
|
-
<span class="returnvalue">guint</span>
|
141
|
+
<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>
|
142
142
|
</td>
|
143
143
|
<td class="function_name">
|
144
144
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-length" title="json_array_get_length ()">json_array_get_length</a> <span class="c_punctuation">()</span>
|
@@ -194,7 +194,7 @@
|
|
194
194
|
</tr>
|
195
195
|
<tr>
|
196
196
|
<td class="function_type">
|
197
|
-
<span class="returnvalue">gboolean</span>
|
197
|
+
<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>
|
198
198
|
</td>
|
199
199
|
<td class="function_name">
|
200
200
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-boolean-element" title="json_array_get_boolean_element ()">json_array_get_boolean_element</a> <span class="c_punctuation">()</span>
|
@@ -210,7 +210,7 @@
|
|
210
210
|
</tr>
|
211
211
|
<tr>
|
212
212
|
<td class="function_type">
|
213
|
-
<span class="returnvalue">gdouble</span>
|
213
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
214
214
|
</td>
|
215
215
|
<td class="function_name">
|
216
216
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-double-element" title="json_array_get_double_element ()">json_array_get_double_element</a> <span class="c_punctuation">()</span>
|
@@ -226,7 +226,7 @@
|
|
226
226
|
</tr>
|
227
227
|
<tr>
|
228
228
|
<td class="function_type">
|
229
|
-
<span class="returnvalue">gint64</span>
|
229
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
230
230
|
</td>
|
231
231
|
<td class="function_name">
|
232
232
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-int-element" title="json_array_get_int_element ()">json_array_get_int_element</a> <span class="c_punctuation">()</span>
|
@@ -242,7 +242,7 @@
|
|
242
242
|
</tr>
|
243
243
|
<tr>
|
244
244
|
<td class="function_type">
|
245
|
-
<span class="returnvalue">gboolean</span>
|
245
|
+
<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>
|
246
246
|
</td>
|
247
247
|
<td class="function_name">
|
248
248
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-null-element" title="json_array_get_null_element ()">json_array_get_null_element</a> <span class="c_punctuation">()</span>
|
@@ -273,7 +273,7 @@
|
|
273
273
|
</td>
|
274
274
|
</tr>
|
275
275
|
<tr>
|
276
|
-
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
276
|
+
<td class="function_type">const <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> *
|
277
277
|
</td>
|
278
278
|
<td class="function_name">
|
279
279
|
<a class="link" href="json-glib-JSON-Array.html#json-array-get-string-element" title="json_array_get_string_element ()">json_array_get_string_element</a> <span class="c_punctuation">()</span>
|
@@ -284,7 +284,7 @@
|
|
284
284
|
</div>
|
285
285
|
<a name="JsonArray"></a><div class="refsect1">
|
286
286
|
<a name="json-glib-JSON-Array.other"></a><h2>Types and Values</h2>
|
287
|
-
<div class="informaltable"><table width="100%" border="0">
|
287
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
288
288
|
<colgroup>
|
289
289
|
<col width="150px" class="name">
|
290
290
|
<col class="description">
|
@@ -297,11 +297,16 @@
|
|
297
297
|
</div>
|
298
298
|
<div class="refsect1">
|
299
299
|
<a name="json-glib-JSON-Array.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
300
|
-
<pre class="screen"> GBoxed
|
300
|
+
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
|
301
301
|
<span class="lineart">╰──</span> JsonArray
|
302
302
|
</pre>
|
303
303
|
</div>
|
304
304
|
<div class="refsect1">
|
305
|
+
<a name="json-glib-JSON-Array.includes"></a><h2>Includes</h2>
|
306
|
+
<pre class="synopsis">#include <json-glib/json-glib.h>
|
307
|
+
</pre>
|
308
|
+
</div>
|
309
|
+
<div class="refsect1">
|
305
310
|
<a name="json-glib-JSON-Array.description"></a><h2>Description</h2>
|
306
311
|
<p><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> is the representation of the array type inside JSON. It contains
|
307
312
|
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> elements, which may contain fundamental types, other arrays or
|
@@ -331,13 +336,13 @@ json_array_new (<em class="parameter"><code><span class="type">void</span></code
|
|
331
336
|
<div class="refsect2">
|
332
337
|
<a name="json-array-sized-new"></a><h3>json_array_sized_new ()</h3>
|
333
338
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
334
|
-
json_array_sized_new (<em class="parameter"><code><span class="type">guint</span> n_elements</code></em>);</pre>
|
339
|
+
json_array_sized_new (<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> n_elements</code></em>);</pre>
|
335
340
|
<p>Creates a new <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> with <em class="parameter"><code>n_elements</code></em>
|
336
341
|
slots already allocated.</p>
|
337
342
|
<p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
|
338
343
|
<div class="refsect3">
|
339
344
|
<a name="json-array-sized-new.parameters"></a><h4>Parameters</h4>
|
340
|
-
<div class="informaltable"><table width="100%" border="0">
|
345
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
341
346
|
<colgroup>
|
342
347
|
<col width="150px" class="parameters_name">
|
343
348
|
<col class="parameters_description">
|
@@ -364,7 +369,7 @@ json_array_ref (<em class="parameter"><code><a class="link" href="json-glib-JSON
|
|
364
369
|
<p>Increase by one the reference count of a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>.</p>
|
365
370
|
<div class="refsect3">
|
366
371
|
<a name="json-array-ref.parameters"></a><h4>Parameters</h4>
|
367
|
-
<div class="informaltable"><table width="100%" border="0">
|
372
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
368
373
|
<colgroup>
|
369
374
|
<col width="150px" class="parameters_name">
|
370
375
|
<col class="parameters_description">
|
@@ -394,7 +399,7 @@ reference count reaches zero, the array is destroyed and all
|
|
394
399
|
its allocated resources are freed.</p>
|
395
400
|
<div class="refsect3">
|
396
401
|
<a name="json-array-unref.parameters"></a><h4>Parameters</h4>
|
397
|
-
<div class="informaltable"><table width="100%" border="0">
|
402
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
398
403
|
<colgroup>
|
399
404
|
<col width="150px" class="parameters_name">
|
400
405
|
<col class="parameters_description">
|
@@ -419,7 +424,7 @@ recursively seal all elements in the array too.</p>
|
|
419
424
|
is already immutable, this is a no-op.</p>
|
420
425
|
<div class="refsect3">
|
421
426
|
<a name="json-array-seal.parameters"></a><h4>Parameters</h4>
|
422
|
-
<div class="informaltable"><table width="100%" border="0">
|
427
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
423
428
|
<colgroup>
|
424
429
|
<col width="150px" class="parameters_name">
|
425
430
|
<col class="parameters_description">
|
@@ -437,14 +442,14 @@ recursively seal all elements in the array too.</p>
|
|
437
442
|
<hr>
|
438
443
|
<div class="refsect2">
|
439
444
|
<a name="json-array-is-immutable"></a><h3>json_array_is_immutable ()</h3>
|
440
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
445
|
+
<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>
|
441
446
|
json_array_is_immutable (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
442
447
|
<p>Check whether the given <em class="parameter"><code>array</code></em>
|
443
448
|
has been marked as immutable by calling
|
444
449
|
<a class="link" href="json-glib-JSON-Array.html#json-array-seal" title="json_array_seal ()"><code class="function">json_array_seal()</code></a> on it.</p>
|
445
450
|
<div class="refsect3">
|
446
451
|
<a name="json-array-is-immutable.parameters"></a><h4>Parameters</h4>
|
447
|
-
<div class="informaltable"><table width="100%" border="0">
|
452
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
448
453
|
<colgroup>
|
449
454
|
<col width="150px" class="parameters_name">
|
450
455
|
<col class="parameters_description">
|
@@ -459,7 +464,7 @@ json_array_is_immutable (<em class="parameter"><code><a class="link" href="json-
|
|
459
464
|
</div>
|
460
465
|
<div class="refsect3">
|
461
466
|
<a name="json-array-is-immutable.returns"></a><h4>Returns</h4>
|
462
|
-
<p> <code class="literal">TRUE</code> if the <em class="parameter"><code>array</code></em>
|
467
|
+
<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 <em class="parameter"><code>array</code></em>
|
463
468
|
is immutable</p>
|
464
469
|
</div>
|
465
470
|
<p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
|
@@ -467,8 +472,8 @@ is immutable</p>
|
|
467
472
|
<hr>
|
468
473
|
<div class="refsect2">
|
469
474
|
<a name="json-array-hash"></a><h3>json_array_hash ()</h3>
|
470
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
471
|
-
json_array_hash (<em class="parameter"><code><span class="type">gconstpointer</span> key</code></em>);</pre>
|
475
|
+
<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>
|
476
|
+
json_array_hash (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> key</code></em>);</pre>
|
472
477
|
<p>Calculate a hash value for the given <em class="parameter"><code>key</code></em>
|
473
478
|
(a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>).</p>
|
474
479
|
<p>The hash is calculated over the array and all its elements, recursively. If
|
@@ -476,7 +481,7 @@ the array is immutable, this is a fast operation; otherwise, it scales
|
|
476
481
|
proportionally with the length of the array.</p>
|
477
482
|
<div class="refsect3">
|
478
483
|
<a name="json-array-hash.parameters"></a><h4>Parameters</h4>
|
479
|
-
<div class="informaltable"><table width="100%" border="0">
|
484
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
480
485
|
<colgroup>
|
481
486
|
<col width="150px" class="parameters_name">
|
482
487
|
<col class="parameters_description">
|
@@ -499,9 +504,9 @@ proportionally with the length of the array.</p>
|
|
499
504
|
<hr>
|
500
505
|
<div class="refsect2">
|
501
506
|
<a name="json-array-equal"></a><h3>json_array_equal ()</h3>
|
502
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
503
|
-
json_array_equal (<em class="parameter"><code><span class="type">gconstpointer</span> a</code></em>,
|
504
|
-
<em class="parameter"><code><span class="type">gconstpointer</span> b</code></em>);</pre>
|
507
|
+
<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>
|
508
|
+
json_array_equal (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> a</code></em>,
|
509
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> b</code></em>);</pre>
|
505
510
|
<p>Check whether <em class="parameter"><code>a</code></em>
|
506
511
|
and <em class="parameter"><code>b</code></em>
|
507
512
|
are equal <a href="json-glib-JSON-Array.html#JsonArray-struct"><span class="type">JsonArrays</span></a>, meaning they have the same
|
@@ -509,7 +514,7 @@ number of elements, and the values of elements in corresponding positions
|
|
509
514
|
are equal.</p>
|
510
515
|
<div class="refsect3">
|
511
516
|
<a name="json-array-equal.parameters"></a><h4>Parameters</h4>
|
512
|
-
<div class="informaltable"><table width="100%" border="0">
|
517
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
513
518
|
<colgroup>
|
514
519
|
<col width="150px" class="parameters_name">
|
515
520
|
<col class="parameters_description">
|
@@ -531,9 +536,9 @@ are equal.</p>
|
|
531
536
|
</div>
|
532
537
|
<div class="refsect3">
|
533
538
|
<a name="json-array-equal.returns"></a><h4>Returns</h4>
|
534
|
-
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>a</code></em>
|
539
|
+
<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 <em class="parameter"><code>a</code></em>
|
535
540
|
and <em class="parameter"><code>b</code></em>
|
536
|
-
are equal; <code class="literal">FALSE</code> otherwise</p>
|
541
|
+
are equal; <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>
|
537
542
|
</div>
|
538
543
|
<p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
|
539
544
|
</div>
|
@@ -549,7 +554,7 @@ json_array_add_element (<em class="parameter"><code><a class="link" href="json-g
|
|
549
554
|
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
|
550
555
|
<div class="refsect3">
|
551
556
|
<a name="json-array-add-element.parameters"></a><h4>Parameters</h4>
|
552
|
-
<div class="informaltable"><table width="100%" border="0">
|
557
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
553
558
|
<colgroup>
|
554
559
|
<col width="150px" class="parameters_name">
|
555
560
|
<col class="parameters_description">
|
@@ -575,13 +580,13 @@ json_array_add_element (<em class="parameter"><code><a class="link" href="json-g
|
|
575
580
|
<a name="json-array-get-element"></a><h3>json_array_get_element ()</h3>
|
576
581
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
577
582
|
json_array_get_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
578
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
583
|
+
<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> index_</code></em>);</pre>
|
579
584
|
<p>Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the value of the element at <em class="parameter"><code>index_</code></em>
|
580
585
|
|
581
586
|
inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>.</p>
|
582
587
|
<div class="refsect3">
|
583
588
|
<a name="json-array-get-element.parameters"></a><h4>Parameters</h4>
|
584
|
-
<div class="informaltable"><table width="100%" border="0">
|
589
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
585
590
|
<colgroup>
|
586
591
|
<col width="150px" class="parameters_name">
|
587
592
|
<col class="parameters_description">
|
@@ -612,13 +617,13 @@ inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class=
|
|
612
617
|
<a name="json-array-dup-element"></a><h3>json_array_dup_element ()</h3>
|
613
618
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
614
619
|
json_array_dup_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
615
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
620
|
+
<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> index_</code></em>);</pre>
|
616
621
|
<p>Retrieves a copy of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the value of the
|
617
622
|
element at <em class="parameter"><code>index_</code></em>
|
618
623
|
inside a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
|
619
624
|
<div class="refsect3">
|
620
625
|
<a name="json-array-dup-element.parameters"></a><h4>Parameters</h4>
|
621
|
-
<div class="informaltable"><table width="100%" border="0">
|
626
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
622
627
|
<colgroup>
|
623
628
|
<col width="150px" class="parameters_name">
|
624
629
|
<col class="parameters_description">
|
@@ -649,12 +654,12 @@ index. Use <a class="link" href="json-glib-JSON-Node.html#json-node-unref" title
|
|
649
654
|
<hr>
|
650
655
|
<div class="refsect2">
|
651
656
|
<a name="json-array-get-elements"></a><h3>json_array_get_elements ()</h3>
|
652
|
-
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
657
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
653
658
|
json_array_get_elements (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
654
659
|
<p>Gets the elements of a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> as a list of <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> instances.</p>
|
655
660
|
<div class="refsect3">
|
656
661
|
<a name="json-array-get-elements.parameters"></a><h4>Parameters</h4>
|
657
|
-
<div class="informaltable"><table width="100%" border="0">
|
662
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
658
663
|
<colgroup>
|
659
664
|
<col width="150px" class="parameters_name">
|
660
665
|
<col class="parameters_description">
|
@@ -669,22 +674,22 @@ json_array_get_elements (<em class="parameter"><code><a class="link" href="json-
|
|
669
674
|
</div>
|
670
675
|
<div class="refsect3">
|
671
676
|
<a name="json-array-get-elements.returns"></a><h4>Returns</h4>
|
672
|
-
<p> a <span class="type">GList</span>
|
677
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a>
|
673
678
|
containing the elements of the array. The contents of the list are
|
674
679
|
owned by the array and should never be modified or freed. Use
|
675
|
-
<code class="function">g_list_free()</code> on the returned list when done using it. </p>
|
680
|
+
<a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> on the returned list when done using it. </p>
|
676
681
|
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> JsonNode][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
677
682
|
</div>
|
678
683
|
</div>
|
679
684
|
<hr>
|
680
685
|
<div class="refsect2">
|
681
686
|
<a name="json-array-get-length"></a><h3>json_array_get_length ()</h3>
|
682
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
687
|
+
<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>
|
683
688
|
json_array_get_length (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
684
689
|
<p>Retrieves the length of a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
|
685
690
|
<div class="refsect3">
|
686
691
|
<a name="json-array-get-length.parameters"></a><h4>Parameters</h4>
|
687
|
-
<div class="informaltable"><table width="100%" border="0">
|
692
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
688
693
|
<colgroup>
|
689
694
|
<col width="150px" class="parameters_name">
|
690
695
|
<col class="parameters_description">
|
@@ -707,14 +712,14 @@ json_array_get_length (<em class="parameter"><code><a class="link" href="json-gl
|
|
707
712
|
<a name="json-array-remove-element"></a><h3>json_array_remove_element ()</h3>
|
708
713
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
709
714
|
json_array_remove_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
710
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
715
|
+
<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> index_</code></em>);</pre>
|
711
716
|
<p>Removes the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> inside <em class="parameter"><code>array</code></em>
|
712
717
|
at <em class="parameter"><code>index_</code></em>
|
713
718
|
freeing its allocated
|
714
719
|
resources.</p>
|
715
720
|
<div class="refsect3">
|
716
721
|
<a name="json-array-remove-element.parameters"></a><h4>Parameters</h4>
|
717
|
-
<div class="informaltable"><table width="100%" border="0">
|
722
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
718
723
|
<colgroup>
|
719
724
|
<col width="150px" class="parameters_name">
|
720
725
|
<col class="parameters_description">
|
@@ -740,9 +745,9 @@ resources.</p>
|
|
740
745
|
<a name="JsonArrayForeach"></a><h3>JsonArrayForeach ()</h3>
|
741
746
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
742
747
|
<span class="c_punctuation">(</span>*JsonArrayForeach<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
743
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>,
|
748
|
+
<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> index_</code></em>,
|
744
749
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *element_node</code></em>,
|
745
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
750
|
+
<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>
|
746
751
|
<p>The function to be passed to <a class="link" href="json-glib-JSON-Array.html#json-array-foreach-element" title="json_array_foreach_element ()"><code class="function">json_array_foreach_element()</code></a>. You
|
747
752
|
should not add or remove elements to and from <em class="parameter"><code>array</code></em>
|
748
753
|
within
|
@@ -750,7 +755,7 @@ this function. It is safe to change the value of <em class="parameter"><code>ele
|
|
750
755
|
.</p>
|
751
756
|
<div class="refsect3">
|
752
757
|
<a name="JsonArrayForeach.parameters"></a><h4>Parameters</h4>
|
753
|
-
<div class="informaltable"><table width="100%" border="0">
|
758
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
754
759
|
<colgroup>
|
755
760
|
<col width="150px" class="parameters_name">
|
756
761
|
<col class="parameters_description">
|
@@ -789,7 +794,7 @@ this function. It is safe to change the value of <em class="parameter"><code>ele
|
|
789
794
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
790
795
|
json_array_foreach_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
791
796
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArrayForeach" title="JsonArrayForeach ()"><span class="type">JsonArrayForeach</span></a> func</code></em>,
|
792
|
-
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
|
797
|
+
<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> data</code></em>);</pre>
|
793
798
|
<p>Iterates over all elements of <em class="parameter"><code>array</code></em>
|
794
799
|
and calls <em class="parameter"><code>func</code></em>
|
795
800
|
on
|
@@ -802,7 +807,7 @@ remove elements from the <em class="parameter"><code>array</code></em>
|
|
802
807
|
.</p>
|
803
808
|
<div class="refsect3">
|
804
809
|
<a name="json-array-foreach-element.parameters"></a><h4>Parameters</h4>
|
805
|
-
<div class="informaltable"><table width="100%" border="0">
|
810
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
806
811
|
<colgroup>
|
807
812
|
<col width="150px" class="parameters_name">
|
808
813
|
<col class="parameters_description">
|
@@ -842,7 +847,7 @@ of the newly added <a class="link" href="json-glib-JSON-Array.html#JsonArray"><s
|
|
842
847
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()"><code class="function">json_node_take_array()</code></a></p>
|
843
848
|
<div class="refsect3">
|
844
849
|
<a name="json-array-add-array-element.parameters"></a><h4>Parameters</h4>
|
845
|
-
<div class="informaltable"><table width="100%" border="0">
|
850
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
846
851
|
<colgroup>
|
847
852
|
<col width="150px" class="parameters_name">
|
848
853
|
<col class="parameters_description">
|
@@ -869,7 +874,7 @@ of the newly added <a class="link" href="json-glib-JSON-Array.html#JsonArray"><s
|
|
869
874
|
<a name="json-array-get-array-element"></a><h3>json_array_get_array_element ()</h3>
|
870
875
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
871
876
|
json_array_get_array_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
872
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
877
|
+
<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> index_</code></em>);</pre>
|
873
878
|
<p>Conveniently retrieves the array from the element at <em class="parameter"><code>index_</code></em>
|
874
879
|
|
875
880
|
inside <em class="parameter"><code>array</code></em>
|
@@ -877,7 +882,7 @@ inside <em class="parameter"><code>array</code></em>
|
|
877
882
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()"><code class="function">json_node_get_array()</code></a></p>
|
878
883
|
<div class="refsect3">
|
879
884
|
<a name="json-array-get-array-element.parameters"></a><h4>Parameters</h4>
|
880
|
-
<div class="informaltable"><table width="100%" border="0">
|
885
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
881
886
|
<colgroup>
|
882
887
|
<col width="150px" class="parameters_name">
|
883
888
|
<col class="parameters_description">
|
@@ -909,14 +914,14 @@ inside <em class="parameter"><code>array</code></em>
|
|
909
914
|
<a name="json-array-add-boolean-element"></a><h3>json_array_add_boolean_element ()</h3>
|
910
915
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
911
916
|
json_array_add_boolean_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
912
|
-
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
917
|
+
<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> value</code></em>);</pre>
|
913
918
|
<p>Conveniently adds a boolean <em class="parameter"><code>value</code></em>
|
914
919
|
into <em class="parameter"><code>array</code></em>
|
915
920
|
</p>
|
916
921
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()"><code class="function">json_node_set_boolean()</code></a></p>
|
917
922
|
<div class="refsect3">
|
918
923
|
<a name="json-array-add-boolean-element.parameters"></a><h4>Parameters</h4>
|
919
|
-
<div class="informaltable"><table width="100%" border="0">
|
924
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
920
925
|
<colgroup>
|
921
926
|
<col width="150px" class="parameters_name">
|
922
927
|
<col class="parameters_description">
|
@@ -941,9 +946,9 @@ json_array_add_boolean_element (<em class="parameter"><code><a class="link" href
|
|
941
946
|
<hr>
|
942
947
|
<div class="refsect2">
|
943
948
|
<a name="json-array-get-boolean-element"></a><h3>json_array_get_boolean_element ()</h3>
|
944
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
949
|
+
<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>
|
945
950
|
json_array_get_boolean_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
946
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
951
|
+
<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> index_</code></em>);</pre>
|
947
952
|
<p>Conveniently retrieves the boolean value of the element at <em class="parameter"><code>index_</code></em>
|
948
953
|
|
949
954
|
inside <em class="parameter"><code>array</code></em>
|
@@ -951,7 +956,7 @@ inside <em class="parameter"><code>array</code></em>
|
|
951
956
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()"><code class="function">json_node_get_boolean()</code></a></p>
|
952
957
|
<div class="refsect3">
|
953
958
|
<a name="json-array-get-boolean-element.parameters"></a><h4>Parameters</h4>
|
954
|
-
<div class="informaltable"><table width="100%" border="0">
|
959
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
955
960
|
<colgroup>
|
956
961
|
<col width="150px" class="parameters_name">
|
957
962
|
<col class="parameters_description">
|
@@ -982,14 +987,14 @@ inside <em class="parameter"><code>array</code></em>
|
|
982
987
|
<a name="json-array-add-double-element"></a><h3>json_array_add_double_element ()</h3>
|
983
988
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
984
989
|
json_array_add_double_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
985
|
-
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
990
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
|
986
991
|
<p>Conveniently adds a floating point <em class="parameter"><code>value</code></em>
|
987
992
|
into <em class="parameter"><code>array</code></em>
|
988
993
|
</p>
|
989
994
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()"><code class="function">json_node_set_double()</code></a></p>
|
990
995
|
<div class="refsect3">
|
991
996
|
<a name="json-array-add-double-element.parameters"></a><h4>Parameters</h4>
|
992
|
-
<div class="informaltable"><table width="100%" border="0">
|
997
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
993
998
|
<colgroup>
|
994
999
|
<col width="150px" class="parameters_name">
|
995
1000
|
<col class="parameters_description">
|
@@ -1014,9 +1019,9 @@ json_array_add_double_element (<em class="parameter"><code><a class="link" href=
|
|
1014
1019
|
<hr>
|
1015
1020
|
<div class="refsect2">
|
1016
1021
|
<a name="json-array-get-double-element"></a><h3>json_array_get_double_element ()</h3>
|
1017
|
-
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
1022
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
|
1018
1023
|
json_array_get_double_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1019
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1024
|
+
<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> index_</code></em>);</pre>
|
1020
1025
|
<p>Conveniently retrieves the floating point value of the element at
|
1021
1026
|
<em class="parameter"><code>index_</code></em>
|
1022
1027
|
inside <em class="parameter"><code>array</code></em>
|
@@ -1024,7 +1029,7 @@ json_array_get_double_element (<em class="parameter"><code><a class="link" href=
|
|
1024
1029
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()"><code class="function">json_node_get_double()</code></a></p>
|
1025
1030
|
<div class="refsect3">
|
1026
1031
|
<a name="json-array-get-double-element.parameters"></a><h4>Parameters</h4>
|
1027
|
-
<div class="informaltable"><table width="100%" border="0">
|
1032
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1028
1033
|
<colgroup>
|
1029
1034
|
<col width="150px" class="parameters_name">
|
1030
1035
|
<col class="parameters_description">
|
@@ -1055,14 +1060,14 @@ json_array_get_double_element (<em class="parameter"><code><a class="link" href=
|
|
1055
1060
|
<a name="json-array-add-int-element"></a><h3>json_array_add_int_element ()</h3>
|
1056
1061
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1057
1062
|
json_array_add_int_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1058
|
-
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
1063
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> value</code></em>);</pre>
|
1059
1064
|
<p>Conveniently adds an integer <em class="parameter"><code>value</code></em>
|
1060
1065
|
into <em class="parameter"><code>array</code></em>
|
1061
1066
|
</p>
|
1062
1067
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()"><code class="function">json_node_set_int()</code></a></p>
|
1063
1068
|
<div class="refsect3">
|
1064
1069
|
<a name="json-array-add-int-element.parameters"></a><h4>Parameters</h4>
|
1065
|
-
<div class="informaltable"><table width="100%" border="0">
|
1070
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1066
1071
|
<colgroup>
|
1067
1072
|
<col width="150px" class="parameters_name">
|
1068
1073
|
<col class="parameters_description">
|
@@ -1087,9 +1092,9 @@ json_array_add_int_element (<em class="parameter"><code><a class="link" href="js
|
|
1087
1092
|
<hr>
|
1088
1093
|
<div class="refsect2">
|
1089
1094
|
<a name="json-array-get-int-element"></a><h3>json_array_get_int_element ()</h3>
|
1090
|
-
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
1095
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a>
|
1091
1096
|
json_array_get_int_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1092
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1097
|
+
<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> index_</code></em>);</pre>
|
1093
1098
|
<p>Conveniently retrieves the integer value of the element at <em class="parameter"><code>index_</code></em>
|
1094
1099
|
|
1095
1100
|
inside <em class="parameter"><code>array</code></em>
|
@@ -1097,7 +1102,7 @@ inside <em class="parameter"><code>array</code></em>
|
|
1097
1102
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()"><code class="function">json_node_get_int()</code></a></p>
|
1098
1103
|
<div class="refsect3">
|
1099
1104
|
<a name="json-array-get-int-element.parameters"></a><h4>Parameters</h4>
|
1100
|
-
<div class="informaltable"><table width="100%" border="0">
|
1105
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1101
1106
|
<colgroup>
|
1102
1107
|
<col width="150px" class="parameters_name">
|
1103
1108
|
<col class="parameters_description">
|
@@ -1133,7 +1138,7 @@ json_array_add_null_element (<em class="parameter"><code><a class="link" href="j
|
|
1133
1138
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a></p>
|
1134
1139
|
<div class="refsect3">
|
1135
1140
|
<a name="json-array-add-null-element.parameters"></a><h4>Parameters</h4>
|
1136
|
-
<div class="informaltable"><table width="100%" border="0">
|
1141
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1137
1142
|
<colgroup>
|
1138
1143
|
<col width="150px" class="parameters_name">
|
1139
1144
|
<col class="parameters_description">
|
@@ -1151,15 +1156,15 @@ json_array_add_null_element (<em class="parameter"><code><a class="link" href="j
|
|
1151
1156
|
<hr>
|
1152
1157
|
<div class="refsect2">
|
1153
1158
|
<a name="json-array-get-null-element"></a><h3>json_array_get_null_element ()</h3>
|
1154
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1159
|
+
<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>
|
1155
1160
|
json_array_get_null_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1156
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1161
|
+
<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> index_</code></em>);</pre>
|
1157
1162
|
<p>Conveniently retrieves whether the element at <em class="parameter"><code>index_</code></em>
|
1158
1163
|
is set to null</p>
|
1159
1164
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()"><code class="function">JSON_NODE_TYPE()</code></a>, <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a></p>
|
1160
1165
|
<div class="refsect3">
|
1161
1166
|
<a name="json-array-get-null-element.parameters"></a><h4>Parameters</h4>
|
1162
|
-
<div class="informaltable"><table width="100%" border="0">
|
1167
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1163
1168
|
<colgroup>
|
1164
1169
|
<col width="150px" class="parameters_name">
|
1165
1170
|
<col class="parameters_description">
|
@@ -1181,7 +1186,7 @@ json_array_get_null_element (<em class="parameter"><code><a class="link" href="j
|
|
1181
1186
|
</div>
|
1182
1187
|
<div class="refsect3">
|
1183
1188
|
<a name="json-array-get-null-element.returns"></a><h4>Returns</h4>
|
1184
|
-
<p> <code class="literal">TRUE</code> if the element is null</p>
|
1189
|
+
<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 element is null</p>
|
1185
1190
|
</div>
|
1186
1191
|
<p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
|
1187
1192
|
</div>
|
@@ -1198,7 +1203,7 @@ of the newly added <a class="link" href="json-glib-JSON-Object.html#JsonObject">
|
|
1198
1203
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()"><code class="function">json_node_take_object()</code></a></p>
|
1199
1204
|
<div class="refsect3">
|
1200
1205
|
<a name="json-array-add-object-element.parameters"></a><h4>Parameters</h4>
|
1201
|
-
<div class="informaltable"><table width="100%" border="0">
|
1206
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1202
1207
|
<colgroup>
|
1203
1208
|
<col width="150px" class="parameters_name">
|
1204
1209
|
<col class="parameters_description">
|
@@ -1225,7 +1230,7 @@ of the newly added <a class="link" href="json-glib-JSON-Object.html#JsonObject">
|
|
1225
1230
|
<a name="json-array-get-object-element"></a><h3>json_array_get_object_element ()</h3>
|
1226
1231
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
1227
1232
|
json_array_get_object_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1228
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1233
|
+
<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> index_</code></em>);</pre>
|
1229
1234
|
<p>Conveniently retrieves the object from the element at <em class="parameter"><code>index_</code></em>
|
1230
1235
|
|
1231
1236
|
inside <em class="parameter"><code>array</code></em>
|
@@ -1233,7 +1238,7 @@ inside <em class="parameter"><code>array</code></em>
|
|
1233
1238
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()"><code class="function">json_node_get_object()</code></a></p>
|
1234
1239
|
<div class="refsect3">
|
1235
1240
|
<a name="json-array-get-object-element.parameters"></a><h4>Parameters</h4>
|
1236
|
-
<div class="informaltable"><table width="100%" border="0">
|
1241
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1237
1242
|
<colgroup>
|
1238
1243
|
<col width="150px" class="parameters_name">
|
1239
1244
|
<col class="parameters_description">
|
@@ -1265,14 +1270,14 @@ inside <em class="parameter"><code>array</code></em>
|
|
1265
1270
|
<a name="json-array-add-string-element"></a><h3>json_array_add_string_element ()</h3>
|
1266
1271
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1267
1272
|
json_array_add_string_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1268
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
1273
|
+
<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> *value</code></em>);</pre>
|
1269
1274
|
<p>Conveniently adds a string <em class="parameter"><code>value</code></em>
|
1270
1275
|
into <em class="parameter"><code>array</code></em>
|
1271
1276
|
</p>
|
1272
1277
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-add-element" title="json_array_add_element ()"><code class="function">json_array_add_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()"><code class="function">json_node_set_string()</code></a></p>
|
1273
1278
|
<div class="refsect3">
|
1274
1279
|
<a name="json-array-add-string-element.parameters"></a><h4>Parameters</h4>
|
1275
|
-
<div class="informaltable"><table width="100%" border="0">
|
1280
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1276
1281
|
<colgroup>
|
1277
1282
|
<col width="150px" class="parameters_name">
|
1278
1283
|
<col class="parameters_description">
|
@@ -1297,9 +1302,9 @@ json_array_add_string_element (<em class="parameter"><code><a class="link" href=
|
|
1297
1302
|
<hr>
|
1298
1303
|
<div class="refsect2">
|
1299
1304
|
<a name="json-array-get-string-element"></a><h3>json_array_get_string_element ()</h3>
|
1300
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1305
|
+
<pre class="programlisting">const <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> *
|
1301
1306
|
json_array_get_string_element (<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>,
|
1302
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
1307
|
+
<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> index_</code></em>);</pre>
|
1303
1308
|
<p>Conveniently retrieves the string value of the element at <em class="parameter"><code>index_</code></em>
|
1304
1309
|
|
1305
1310
|
inside <em class="parameter"><code>array</code></em>
|
@@ -1307,7 +1312,7 @@ inside <em class="parameter"><code>array</code></em>
|
|
1307
1312
|
<p>See also: <a class="link" href="json-glib-JSON-Array.html#json-array-get-element" title="json_array_get_element ()"><code class="function">json_array_get_element()</code></a>, <a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()"><code class="function">json_node_get_string()</code></a></p>
|
1308
1313
|
<div class="refsect3">
|
1309
1314
|
<a name="json-array-get-string-element.parameters"></a><h4>Parameters</h4>
|
1310
|
-
<div class="informaltable"><table width="100%" border="0">
|
1315
|
+
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
1311
1316
|
<colgroup>
|
1312
1317
|
<col width="150px" class="parameters_name">
|
1313
1318
|
<col class="parameters_description">
|