clutter 3.2.1-x86-mingw32 → 3.2.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +1 -1
  3. data/dependency-check/Rakefile +1 -0
  4. data/vendor/local/bin/json-glib-format.exe +0 -0
  5. data/vendor/local/bin/json-glib-validate.exe +0 -0
  6. data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
  7. data/vendor/local/bin/libcogl-20.dll +0 -0
  8. data/vendor/local/bin/libcogl-pango-20.dll +0 -0
  9. data/vendor/local/bin/libcogl-path-20.dll +0 -0
  10. data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
  11. data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +1 -61
  12. data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +212 -182
  13. data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +1 -3
  14. data/vendor/local/include/cogl/cogl/cogl-enum-types.h +13 -41
  15. data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +5 -10
  16. data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +4 -0
  17. data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +2 -0
  18. data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +16 -0
  19. data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +4 -4
  20. data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
  21. data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
  22. data/vendor/local/lib/libclutter-1.0.la +2 -2
  23. data/vendor/local/lib/libcogl-pango.dll.a +0 -0
  24. data/vendor/local/lib/libcogl-pango.la +2 -2
  25. data/vendor/local/lib/libcogl-path.dll.a +0 -0
  26. data/vendor/local/lib/libcogl-path.la +2 -2
  27. data/vendor/local/lib/libcogl.dll.a +0 -0
  28. data/vendor/local/lib/libcogl.la +2 -2
  29. data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
  30. data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
  31. data/vendor/local/lib/pkgconfig/clutter-1.0.pc +1 -1
  32. data/vendor/local/lib/pkgconfig/clutter-cogl-1.0.pc +1 -1
  33. data/vendor/local/lib/pkgconfig/clutter-gdk-1.0.pc +1 -1
  34. data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +1 -1
  35. data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
  36. data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +1 -1
  37. data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
  38. data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
  39. data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +1 -1
  40. data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +1 -1
  41. data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +1 -1
  42. data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +5 -6
  43. data/vendor/local/libexec/installed-tests/json-glib-1.0/array.exe +0 -0
  44. data/vendor/local/libexec/installed-tests/json-glib-1.0/boxed.exe +0 -0
  45. data/vendor/local/libexec/installed-tests/json-glib-1.0/builder.exe +0 -0
  46. data/vendor/local/libexec/installed-tests/json-glib-1.0/generator.exe +0 -0
  47. data/vendor/local/libexec/installed-tests/json-glib-1.0/gvariant.exe +0 -0
  48. data/vendor/local/libexec/installed-tests/json-glib-1.0/invalid.exe +0 -0
  49. data/vendor/local/libexec/installed-tests/json-glib-1.0/node.exe +0 -0
  50. data/vendor/local/libexec/installed-tests/json-glib-1.0/object.exe +0 -0
  51. data/vendor/local/libexec/installed-tests/json-glib-1.0/parser.exe +0 -0
  52. data/vendor/local/libexec/installed-tests/json-glib-1.0/path.exe +0 -0
  53. data/vendor/local/libexec/installed-tests/json-glib-1.0/reader.exe +0 -0
  54. data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-complex.exe +0 -0
  55. data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-full.exe +0 -0
  56. data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-simple.exe +0 -0
  57. data/vendor/local/libexec/installed-tests/json-glib-1.0/stream-load.json +1 -0
  58. data/vendor/local/share/gir-1.0/Json-1.0.gir +108 -60
  59. data/vendor/local/share/installed-tests/json-glib-1.0/array.test +3 -0
  60. data/vendor/local/share/installed-tests/json-glib-1.0/boxed.test +3 -0
  61. data/vendor/local/share/installed-tests/json-glib-1.0/builder.test +3 -0
  62. data/vendor/local/share/installed-tests/json-glib-1.0/generator.test +3 -0
  63. data/vendor/local/share/installed-tests/json-glib-1.0/gvariant.test +3 -0
  64. data/vendor/local/share/installed-tests/json-glib-1.0/invalid.test +3 -0
  65. data/vendor/local/share/installed-tests/json-glib-1.0/node.test +3 -0
  66. data/vendor/local/share/installed-tests/json-glib-1.0/object.test +3 -0
  67. data/vendor/local/share/installed-tests/json-glib-1.0/parser.test +3 -0
  68. data/vendor/local/share/installed-tests/json-glib-1.0/path.test +3 -0
  69. data/vendor/local/share/installed-tests/json-glib-1.0/reader.test +3 -0
  70. data/vendor/local/share/installed-tests/json-glib-1.0/serialize-complex.test +3 -0
  71. data/vendor/local/share/installed-tests/json-glib-1.0/serialize-full.test +3 -0
  72. data/vendor/local/share/installed-tests/json-glib-1.0/serialize-simple.test +3 -0
  73. data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
  74. data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  75. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  76. data/vendor/local/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  77. data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
  78. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
  79. data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
  80. data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
  81. data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
  82. data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
  83. data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
  84. data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
  85. data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
  86. data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
  87. data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  88. data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  89. data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
  90. data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  91. data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
  92. data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  93. data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
  94. data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
  95. data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
  96. data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
  97. data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
  98. data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
  99. data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  100. data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  101. data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
  102. data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
  103. data/vendor/local/share/locale/ne/LC_MESSAGES/json-glib-1.0.mo +0 -0
  104. data/vendor/local/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo +0 -0
  105. data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
  106. data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
  107. data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  108. data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
  109. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
  110. data/vendor/local/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo +0 -0
  111. data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
  112. data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  113. data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
  114. data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  115. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
  116. data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
  117. data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
  118. data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
  119. data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
  120. data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
  121. data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
  122. data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
  123. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
  124. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
  125. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
  126. metadata +43 -66
  127. data/vendor/local/lib/libjson-glib-1.0.la +0 -41
  128. data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +0 -731
  129. data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +0 -657
  130. data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +0 -1191
  131. data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +0 -515
  132. data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +0 -1190
  133. data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +0 -80
  134. data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +0 -40
  135. data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +0 -40
  136. data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +0 -37
  137. data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -32
  138. data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +0 -43
  139. data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
  140. data/vendor/local/share/gtk-doc/html/json-glib/index.html +0 -158
  141. data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +0 -1074
  142. data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +0 -48
  143. data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +0 -55
  144. data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +0 -48
  145. data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +0 -180
  146. data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +0 -115
  147. data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +0 -155
  148. data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +0 -139
  149. data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +0 -66
  150. data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +0 -38
  151. data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +0 -155
  152. data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +0 -49
  153. data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +0 -60
  154. data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +0 -83
  155. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +0 -493
  156. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +0 -387
  157. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +0 -1356
  158. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +0 -322
  159. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +0 -2240
  160. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +0 -1688
  161. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +0 -649
  162. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +0 -158
  163. data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +0 -217
  164. data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +0 -343
  165. data/vendor/local/share/gtk-doc/html/json-glib/json-overview.html +0 -41
  166. data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +0 -66
  167. data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +0 -44
  168. data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +0 -71
  169. data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
  170. data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
  171. data/vendor/local/share/gtk-doc/html/json-glib/license.html +0 -57
  172. data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
  173. data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
  174. data/vendor/local/share/gtk-doc/html/json-glib/style.css +0 -479
  175. data/vendor/local/share/gtk-doc/html/json-glib/tools.html +0 -37
  176. data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
  177. data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
  178. data/vendor/local/share/man/man1/json-glib-format.1 +0 -60
  179. data/vendor/local/share/man/man1/json-glib-validate.1 +0 -56
@@ -1,1688 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>JSON Object: JSON-GLib Reference Manual</title>
6
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7
- <link rel="home" href="index.html" title="JSON-GLib Reference Manual">
8
- <link rel="up" href="ch01.html" title="Data Types">
9
- <link rel="prev" href="json-glib-JSON-Array.html" title="JSON Array">
10
- <link rel="next" href="json-streams.html" title="Part III. Reading and writing">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12
- <link rel="stylesheet" href="style.css" type="text/css">
13
- </head>
14
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
- <td width="100%" align="left" class="shortcuts">
17
- <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
- <a href="#json-glib-JSON-Object.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
- <a href="#json-glib-JSON-Object.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
- </td>
21
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
- <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
- <td><a accesskey="p" href="json-glib-JSON-Array.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
- <td><a accesskey="n" href="json-streams.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
- </tr></table>
26
- <div class="refentry">
27
- <a name="json-glib-JSON-Object"></a><div class="titlepage"></div>
28
- <div class="refnamediv"><table width="100%"><tr>
29
- <td valign="top">
30
- <h2><span class="refentrytitle"><a name="json-glib-JSON-Object.top_of_page"></a>JSON Object</span></h2>
31
- <p>JSON Object — a JSON object representation</p>
32
- </td>
33
- <td class="gallery_image" valign="top" align="right"></td>
34
- </tr></table></div>
35
- <div class="refsect1">
36
- <a name="json-glib-JSON-Object.functions"></a><h2>Functions</h2>
37
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
38
- <colgroup>
39
- <col width="150px" class="functions_return">
40
- <col class="functions_name">
41
- </colgroup>
42
- <tbody>
43
- <tr>
44
- <td class="function_type">
45
- <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
46
- </td>
47
- <td class="function_name">
48
- <a class="link" href="json-glib-JSON-Object.html#json-object-new" title="json_object_new ()">json_object_new</a> <span class="c_punctuation">()</span>
49
- </td>
50
- </tr>
51
- <tr>
52
- <td class="function_type">
53
- <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
54
- </td>
55
- <td class="function_name">
56
- <a class="link" href="json-glib-JSON-Object.html#json-object-ref" title="json_object_ref ()">json_object_ref</a> <span class="c_punctuation">()</span>
57
- </td>
58
- </tr>
59
- <tr>
60
- <td class="function_type">
61
- <span class="returnvalue">void</span>
62
- </td>
63
- <td class="function_name">
64
- <a class="link" href="json-glib-JSON-Object.html#json-object-unref" title="json_object_unref ()">json_object_unref</a> <span class="c_punctuation">()</span>
65
- </td>
66
- </tr>
67
- <tr>
68
- <td class="function_type">
69
- <span class="returnvalue">void</span>
70
- </td>
71
- <td class="function_name">
72
- <a class="link" href="json-glib-JSON-Object.html#json-object-seal" title="json_object_seal ()">json_object_seal</a> <span class="c_punctuation">()</span>
73
- </td>
74
- </tr>
75
- <tr>
76
- <td class="function_type">
77
- <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>
78
- </td>
79
- <td class="function_name">
80
- <a class="link" href="json-glib-JSON-Object.html#json-object-is-immutable" title="json_object_is_immutable ()">json_object_is_immutable</a> <span class="c_punctuation">()</span>
81
- </td>
82
- </tr>
83
- <tr>
84
- <td class="function_type">
85
- <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>
86
- </td>
87
- <td class="function_name">
88
- <a class="link" href="json-glib-JSON-Object.html#json-object-hash" title="json_object_hash ()">json_object_hash</a> <span class="c_punctuation">()</span>
89
- </td>
90
- </tr>
91
- <tr>
92
- <td class="function_type">
93
- <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>
94
- </td>
95
- <td class="function_name">
96
- <a class="link" href="json-glib-JSON-Object.html#json-object-equal" title="json_object_equal ()">json_object_equal</a> <span class="c_punctuation">()</span>
97
- </td>
98
- </tr>
99
- <tr>
100
- <td class="function_type">
101
- <span class="returnvalue">void</span>
102
- </td>
103
- <td class="function_name">
104
- <a class="link" href="json-glib-JSON-Object.html#json-object-add-member" title="json_object_add_member ()">json_object_add_member</a> <span class="c_punctuation">()</span>
105
- </td>
106
- </tr>
107
- <tr>
108
- <td class="function_type">
109
- <span class="returnvalue">void</span>
110
- </td>
111
- <td class="function_name">
112
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()">json_object_set_member</a> <span class="c_punctuation">()</span>
113
- </td>
114
- </tr>
115
- <tr>
116
- <td class="function_type">
117
- <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>
118
- </td>
119
- <td class="function_name">
120
- <a class="link" href="json-glib-JSON-Object.html#json-object-has-member" title="json_object_has_member ()">json_object_has_member</a> <span class="c_punctuation">()</span>
121
- </td>
122
- </tr>
123
- <tr>
124
- <td class="function_type">
125
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
126
- </td>
127
- <td class="function_name">
128
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()">json_object_get_member</a> <span class="c_punctuation">()</span>
129
- </td>
130
- </tr>
131
- <tr>
132
- <td class="function_type">
133
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
134
- </td>
135
- <td class="function_name">
136
- <a class="link" href="json-glib-JSON-Object.html#json-object-dup-member" title="json_object_dup_member ()">json_object_dup_member</a> <span class="c_punctuation">()</span>
137
- </td>
138
- </tr>
139
- <tr>
140
- <td class="function_type">
141
- <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> *
142
- </td>
143
- <td class="function_name">
144
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-members" title="json_object_get_members ()">json_object_get_members</a> <span class="c_punctuation">()</span>
145
- </td>
146
- </tr>
147
- <tr>
148
- <td class="function_type">
149
- <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> *
150
- </td>
151
- <td class="function_name">
152
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-values" title="json_object_get_values ()">json_object_get_values</a> <span class="c_punctuation">()</span>
153
- </td>
154
- </tr>
155
- <tr>
156
- <td class="function_type">
157
- <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>
158
- </td>
159
- <td class="function_name">
160
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-size" title="json_object_get_size ()">json_object_get_size</a> <span class="c_punctuation">()</span>
161
- </td>
162
- </tr>
163
- <tr>
164
- <td class="function_type">
165
- <span class="returnvalue">void</span>
166
- </td>
167
- <td class="function_name">
168
- <a class="link" href="json-glib-JSON-Object.html#json-object-remove-member" title="json_object_remove_member ()">json_object_remove_member</a> <span class="c_punctuation">()</span>
169
- </td>
170
- </tr>
171
- <tr>
172
- <td class="function_type">
173
- <span class="returnvalue">void</span>
174
- </td>
175
- <td class="function_name">
176
- <span class="c_punctuation">(</span><a class="link" href="json-glib-JSON-Object.html#JsonObjectForeach" title="JsonObjectForeach ()">*JsonObjectForeach</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
177
- </td>
178
- </tr>
179
- <tr>
180
- <td class="function_type">
181
- <span class="returnvalue">void</span>
182
- </td>
183
- <td class="function_name">
184
- <a class="link" href="json-glib-JSON-Object.html#json-object-foreach-member" title="json_object_foreach_member ()">json_object_foreach_member</a> <span class="c_punctuation">()</span>
185
- </td>
186
- </tr>
187
- <tr>
188
- <td class="function_type">
189
- <span class="returnvalue">void</span>
190
- </td>
191
- <td class="function_name">
192
- <a class="link" href="json-glib-JSON-Object.html#json-object-iter-init" title="json_object_iter_init ()">json_object_iter_init</a> <span class="c_punctuation">()</span>
193
- </td>
194
- </tr>
195
- <tr>
196
- <td class="function_type">
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
- </td>
199
- <td class="function_name">
200
- <a class="link" href="json-glib-JSON-Object.html#json-object-iter-next" title="json_object_iter_next ()">json_object_iter_next</a> <span class="c_punctuation">()</span>
201
- </td>
202
- </tr>
203
- <tr>
204
- <td class="function_type">
205
- <span class="returnvalue">void</span>
206
- </td>
207
- <td class="function_name">
208
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-array-member" title="json_object_set_array_member ()">json_object_set_array_member</a> <span class="c_punctuation">()</span>
209
- </td>
210
- </tr>
211
- <tr>
212
- <td class="function_type">
213
- <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
214
- </td>
215
- <td class="function_name">
216
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-array-member" title="json_object_get_array_member ()">json_object_get_array_member</a> <span class="c_punctuation">()</span>
217
- </td>
218
- </tr>
219
- <tr>
220
- <td class="function_type">
221
- <span class="returnvalue">void</span>
222
- </td>
223
- <td class="function_name">
224
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-boolean-member" title="json_object_set_boolean_member ()">json_object_set_boolean_member</a> <span class="c_punctuation">()</span>
225
- </td>
226
- </tr>
227
- <tr>
228
- <td class="function_type">
229
- <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>
230
- </td>
231
- <td class="function_name">
232
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-boolean-member" title="json_object_get_boolean_member ()">json_object_get_boolean_member</a> <span class="c_punctuation">()</span>
233
- </td>
234
- </tr>
235
- <tr>
236
- <td class="function_type">
237
- <span class="returnvalue">void</span>
238
- </td>
239
- <td class="function_name">
240
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-double-member" title="json_object_set_double_member ()">json_object_set_double_member</a> <span class="c_punctuation">()</span>
241
- </td>
242
- </tr>
243
- <tr>
244
- <td class="function_type">
245
- <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>
246
- </td>
247
- <td class="function_name">
248
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-double-member" title="json_object_get_double_member ()">json_object_get_double_member</a> <span class="c_punctuation">()</span>
249
- </td>
250
- </tr>
251
- <tr>
252
- <td class="function_type">
253
- <span class="returnvalue">void</span>
254
- </td>
255
- <td class="function_name">
256
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-int-member" title="json_object_set_int_member ()">json_object_set_int_member</a> <span class="c_punctuation">()</span>
257
- </td>
258
- </tr>
259
- <tr>
260
- <td class="function_type">
261
- <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>
262
- </td>
263
- <td class="function_name">
264
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-int-member" title="json_object_get_int_member ()">json_object_get_int_member</a> <span class="c_punctuation">()</span>
265
- </td>
266
- </tr>
267
- <tr>
268
- <td class="function_type">
269
- <span class="returnvalue">void</span>
270
- </td>
271
- <td class="function_name">
272
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-null-member" title="json_object_set_null_member ()">json_object_set_null_member</a> <span class="c_punctuation">()</span>
273
- </td>
274
- </tr>
275
- <tr>
276
- <td class="function_type">
277
- <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>
278
- </td>
279
- <td class="function_name">
280
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-null-member" title="json_object_get_null_member ()">json_object_get_null_member</a> <span class="c_punctuation">()</span>
281
- </td>
282
- </tr>
283
- <tr>
284
- <td class="function_type">
285
- <span class="returnvalue">void</span>
286
- </td>
287
- <td class="function_name">
288
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-object-member" title="json_object_set_object_member ()">json_object_set_object_member</a> <span class="c_punctuation">()</span>
289
- </td>
290
- </tr>
291
- <tr>
292
- <td class="function_type">
293
- <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
294
- </td>
295
- <td class="function_name">
296
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-object-member" title="json_object_get_object_member ()">json_object_get_object_member</a> <span class="c_punctuation">()</span>
297
- </td>
298
- </tr>
299
- <tr>
300
- <td class="function_type">
301
- <span class="returnvalue">void</span>
302
- </td>
303
- <td class="function_name">
304
- <a class="link" href="json-glib-JSON-Object.html#json-object-set-string-member" title="json_object_set_string_member ()">json_object_set_string_member</a> <span class="c_punctuation">()</span>
305
- </td>
306
- </tr>
307
- <tr>
308
- <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> *
309
- </td>
310
- <td class="function_name">
311
- <a class="link" href="json-glib-JSON-Object.html#json-object-get-string-member" title="json_object_get_string_member ()">json_object_get_string_member</a> <span class="c_punctuation">()</span>
312
- </td>
313
- </tr>
314
- </tbody>
315
- </table></div>
316
- </div>
317
- <a name="JsonObject"></a><div class="refsect1">
318
- <a name="json-glib-JSON-Object.other"></a><h2>Types and Values</h2>
319
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
320
- <colgroup>
321
- <col width="150px" class="name">
322
- <col class="description">
323
- </colgroup>
324
- <tbody>
325
- <tr>
326
- <td class="datatype_keyword"> </td>
327
- <td class="function_name"><a class="link" href="json-glib-JSON-Object.html#JsonObject-struct" title="JsonObject">JsonObject</a></td>
328
- </tr>
329
- <tr>
330
- <td class="datatype_keyword"> </td>
331
- <td class="function_name"><a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter">JsonObjectIter</a></td>
332
- </tr>
333
- </tbody>
334
- </table></div>
335
- </div>
336
- <div class="refsect1">
337
- <a name="json-glib-JSON-Object.object-hierarchy"></a><h2>Object Hierarchy</h2>
338
- <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
339
- <span class="lineart">╰──</span> JsonObject
340
- </pre>
341
- </div>
342
- <div class="refsect1">
343
- <a name="json-glib-JSON-Object.includes"></a><h2>Includes</h2>
344
- <pre class="synopsis">#include &lt;json-glib/json-glib.h&gt;
345
- </pre>
346
- </div>
347
- <div class="refsect1">
348
- <a name="json-glib-JSON-Object.description"></a><h2>Description</h2>
349
- <p><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> is the representation of the object type inside JSON. It
350
- contains <a href="json-glib-JSON-Node.html#JsonNode-struct"><span class="type">JsonNodes</span></a>, which may contain fundamental types, arrays or other
351
- objects; each node inside an object, or "member", is accessed using a
352
- unique string, or "name".</p>
353
- <p>Since objects can be expensive, they are reference counted. You can control
354
- the lifetime of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> using <a class="link" href="json-glib-JSON-Object.html#json-object-ref" title="json_object_ref ()"><code class="function">json_object_ref()</code></a> and <a class="link" href="json-glib-JSON-Object.html#json-object-unref" title="json_object_unref ()"><code class="function">json_object_unref()</code></a>.</p>
355
- <p>To add or overwrite a member with a given name, use <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a>.
356
- To extract a member with a given name, use <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a>.
357
- To retrieve the list of members, use <a class="link" href="json-glib-JSON-Object.html#json-object-get-members" title="json_object_get_members ()"><code class="function">json_object_get_members()</code></a>.
358
- To retrieve the size of the object (that is, the number of members it has),
359
- use <a class="link" href="json-glib-JSON-Object.html#json-object-get-size" title="json_object_get_size ()"><code class="function">json_object_get_size()</code></a>.</p>
360
- </div>
361
- <div class="refsect1">
362
- <a name="json-glib-JSON-Object.functions_details"></a><h2>Functions</h2>
363
- <div class="refsect2">
364
- <a name="json-object-new"></a><h3>json_object_new ()</h3>
365
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
366
- json_object_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
367
- <p>Creates a new <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>, an JSON object type representation.</p>
368
- <p><span class="annotation">[<acronym title="This symbol is a constructor, not a static method."><span class="acronym">constructor</span></acronym>]</span></p>
369
- <div class="refsect3">
370
- <a name="json-object-new.returns"></a><h4>Returns</h4>
371
- <p> the newly created <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. </p>
372
- <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
373
- </div>
374
- </div>
375
- <hr>
376
- <div class="refsect2">
377
- <a name="json-object-ref"></a><h3>json_object_ref ()</h3>
378
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
379
- json_object_ref (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
380
- <p>Increase by one the reference count of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
381
- <div class="refsect3">
382
- <a name="json-object-ref.parameters"></a><h4>Parameters</h4>
383
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
384
- <colgroup>
385
- <col width="150px" class="parameters_name">
386
- <col class="parameters_description">
387
- <col width="200px" class="parameters_annotations">
388
- </colgroup>
389
- <tbody><tr>
390
- <td class="parameter_name"><p>object</p></td>
391
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
392
- <td class="parameter_annotations"> </td>
393
- </tr></tbody>
394
- </table></div>
395
- </div>
396
- <div class="refsect3">
397
- <a name="json-object-ref.returns"></a><h4>Returns</h4>
398
- <p> the passed <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>, with the reference count
399
- increased by one. </p>
400
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
401
- </div>
402
- </div>
403
- <hr>
404
- <div class="refsect2">
405
- <a name="json-object-unref"></a><h3>json_object_unref ()</h3>
406
- <pre class="programlisting"><span class="returnvalue">void</span>
407
- json_object_unref (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
408
- <p>Decreases by one the reference count of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. If the
409
- reference count reaches zero, the object is destroyed and all
410
- its allocated resources are freed.</p>
411
- <div class="refsect3">
412
- <a name="json-object-unref.parameters"></a><h4>Parameters</h4>
413
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
414
- <colgroup>
415
- <col width="150px" class="parameters_name">
416
- <col class="parameters_description">
417
- <col width="200px" class="parameters_annotations">
418
- </colgroup>
419
- <tbody><tr>
420
- <td class="parameter_name"><p>object</p></td>
421
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
422
- <td class="parameter_annotations"> </td>
423
- </tr></tbody>
424
- </table></div>
425
- </div>
426
- </div>
427
- <hr>
428
- <div class="refsect2">
429
- <a name="json-object-seal"></a><h3>json_object_seal ()</h3>
430
- <pre class="programlisting"><span class="returnvalue">void</span>
431
- json_object_seal (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
432
- <p>Seals the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>, making it immutable to further changes. This will
433
- recursively seal all members of the object too.</p>
434
- <p>If the <em class="parameter"><code>object</code></em>
435
- is already immutable, this is a no-op.</p>
436
- <div class="refsect3">
437
- <a name="json-object-seal.parameters"></a><h4>Parameters</h4>
438
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
439
- <colgroup>
440
- <col width="150px" class="parameters_name">
441
- <col class="parameters_description">
442
- <col width="200px" class="parameters_annotations">
443
- </colgroup>
444
- <tbody><tr>
445
- <td class="parameter_name"><p>object</p></td>
446
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
447
- <td class="parameter_annotations"> </td>
448
- </tr></tbody>
449
- </table></div>
450
- </div>
451
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
452
- </div>
453
- <hr>
454
- <div class="refsect2">
455
- <a name="json-object-is-immutable"></a><h3>json_object_is_immutable ()</h3>
456
- <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>
457
- json_object_is_immutable (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
458
- <p>Check whether the given <em class="parameter"><code>object</code></em>
459
- has been marked as immutable by calling
460
- <a class="link" href="json-glib-JSON-Object.html#json-object-seal" title="json_object_seal ()"><code class="function">json_object_seal()</code></a> on it.</p>
461
- <div class="refsect3">
462
- <a name="json-object-is-immutable.parameters"></a><h4>Parameters</h4>
463
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
464
- <colgroup>
465
- <col width="150px" class="parameters_name">
466
- <col class="parameters_description">
467
- <col width="200px" class="parameters_annotations">
468
- </colgroup>
469
- <tbody><tr>
470
- <td class="parameter_name"><p>object</p></td>
471
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
472
- <td class="parameter_annotations"> </td>
473
- </tr></tbody>
474
- </table></div>
475
- </div>
476
- <div class="refsect3">
477
- <a name="json-object-is-immutable.returns"></a><h4>Returns</h4>
478
- <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>object</code></em>
479
- is immutable</p>
480
- </div>
481
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
482
- </div>
483
- <hr>
484
- <div class="refsect2">
485
- <a name="json-object-hash"></a><h3>json_object_hash ()</h3>
486
- <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>
487
- json_object_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>
488
- <p>Calculate a hash value for the given <em class="parameter"><code>key</code></em>
489
- (a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>).</p>
490
- <p>The hash is calculated over the object and all its members, recursively. If
491
- the object is immutable, this is a fast operation; otherwise, it scales
492
- proportionally with the number of members in the object.</p>
493
- <div class="refsect3">
494
- <a name="json-object-hash.parameters"></a><h4>Parameters</h4>
495
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
496
- <colgroup>
497
- <col width="150px" class="parameters_name">
498
- <col class="parameters_description">
499
- <col width="200px" class="parameters_annotations">
500
- </colgroup>
501
- <tbody><tr>
502
- <td class="parameter_name"><p>key</p></td>
503
- <td class="parameter_description"><p> a JSON object to hash. </p></td>
504
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> JsonObject]</span></td>
505
- </tr></tbody>
506
- </table></div>
507
- </div>
508
- <div class="refsect3">
509
- <a name="json-object-hash.returns"></a><h4>Returns</h4>
510
- <p> hash value for <em class="parameter"><code>key</code></em>
511
- </p>
512
- </div>
513
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
514
- </div>
515
- <hr>
516
- <div class="refsect2">
517
- <a name="json-object-equal"></a><h3>json_object_equal ()</h3>
518
- <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>
519
- json_object_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>,
520
- <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>
521
- <p>Check whether <em class="parameter"><code>a</code></em>
522
- and <em class="parameter"><code>b</code></em>
523
- are equal <a href="json-glib-JSON-Object.html#JsonObject-struct"><span class="type">JsonObjects</span></a>, meaning they have the same
524
- set of members, and the values of corresponding members are equal.</p>
525
- <div class="refsect3">
526
- <a name="json-object-equal.parameters"></a><h4>Parameters</h4>
527
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
528
- <colgroup>
529
- <col width="150px" class="parameters_name">
530
- <col class="parameters_description">
531
- <col width="200px" class="parameters_annotations">
532
- </colgroup>
533
- <tbody>
534
- <tr>
535
- <td class="parameter_name"><p>a</p></td>
536
- <td class="parameter_description"><p> a JSON object. </p></td>
537
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> JsonObject]</span></td>
538
- </tr>
539
- <tr>
540
- <td class="parameter_name"><p>b</p></td>
541
- <td class="parameter_description"><p> another JSON object. </p></td>
542
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> JsonObject]</span></td>
543
- </tr>
544
- </tbody>
545
- </table></div>
546
- </div>
547
- <div class="refsect3">
548
- <a name="json-object-equal.returns"></a><h4>Returns</h4>
549
- <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>
550
- and <em class="parameter"><code>b</code></em>
551
- 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>
552
- </div>
553
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
554
- </div>
555
- <hr>
556
- <div class="refsect2">
557
- <a name="json-object-add-member"></a><h3>json_object_add_member ()</h3>
558
- <pre class="programlisting"><span class="returnvalue">void</span>
559
- json_object_add_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
560
- <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> *member_name</code></em>,
561
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
562
- <div class="warning">
563
- <p><code class="literal">json_object_add_member</code> has been deprecated since version 0.8 and should not be used in newly-written code.</p>
564
- <p>Use <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a> instead</p>
565
- </div>
566
- <p>Adds a member named <em class="parameter"><code>member_name</code></em>
567
- and containing <em class="parameter"><code>node</code></em>
568
- into a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.
569
- The object will take ownership of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
570
- <p>This function will return if the <em class="parameter"><code>object</code></em>
571
- already contains a member
572
- <em class="parameter"><code>member_name</code></em>
573
- .</p>
574
- <div class="refsect3">
575
- <a name="json-object-add-member.parameters"></a><h4>Parameters</h4>
576
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
577
- <colgroup>
578
- <col width="150px" class="parameters_name">
579
- <col class="parameters_description">
580
- <col width="200px" class="parameters_annotations">
581
- </colgroup>
582
- <tbody>
583
- <tr>
584
- <td class="parameter_name"><p>object</p></td>
585
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
586
- <td class="parameter_annotations"> </td>
587
- </tr>
588
- <tr>
589
- <td class="parameter_name"><p>member_name</p></td>
590
- <td class="parameter_description"><p>the name of the member</p></td>
591
- <td class="parameter_annotations"> </td>
592
- </tr>
593
- <tr>
594
- <td class="parameter_name"><p>node</p></td>
595
- <td class="parameter_description"><p> the value of the member. </p></td>
596
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
597
- </tr>
598
- </tbody>
599
- </table></div>
600
- </div>
601
- </div>
602
- <hr>
603
- <div class="refsect2">
604
- <a name="json-object-set-member"></a><h3>json_object_set_member ()</h3>
605
- <pre class="programlisting"><span class="returnvalue">void</span>
606
- json_object_set_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
607
- <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> *member_name</code></em>,
608
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
609
- <p>Sets <em class="parameter"><code>node</code></em>
610
- as the value of <em class="parameter"><code>member_name</code></em>
611
- inside <em class="parameter"><code>object</code></em>
612
- .</p>
613
- <p>If <em class="parameter"><code>object</code></em>
614
- already contains a member called <em class="parameter"><code>member_name</code></em>
615
- then
616
- the member's current value is overwritten. Otherwise, a new
617
- member is added to <em class="parameter"><code>object</code></em>
618
- .</p>
619
- <div class="refsect3">
620
- <a name="json-object-set-member.parameters"></a><h4>Parameters</h4>
621
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
622
- <colgroup>
623
- <col width="150px" class="parameters_name">
624
- <col class="parameters_description">
625
- <col width="200px" class="parameters_annotations">
626
- </colgroup>
627
- <tbody>
628
- <tr>
629
- <td class="parameter_name"><p>object</p></td>
630
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
631
- <td class="parameter_annotations"> </td>
632
- </tr>
633
- <tr>
634
- <td class="parameter_name"><p>member_name</p></td>
635
- <td class="parameter_description"><p>the name of the member</p></td>
636
- <td class="parameter_annotations"> </td>
637
- </tr>
638
- <tr>
639
- <td class="parameter_name"><p>node</p></td>
640
- <td class="parameter_description"><p> the value of the member. </p></td>
641
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
642
- </tr>
643
- </tbody>
644
- </table></div>
645
- </div>
646
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
647
- </div>
648
- <hr>
649
- <div class="refsect2">
650
- <a name="json-object-has-member"></a><h3>json_object_has_member ()</h3>
651
- <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>
652
- json_object_has_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
653
- <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> *member_name</code></em>);</pre>
654
- <p>Checks whether <em class="parameter"><code>object</code></em>
655
- has a member named <em class="parameter"><code>member_name</code></em>
656
- .</p>
657
- <div class="refsect3">
658
- <a name="json-object-has-member.parameters"></a><h4>Parameters</h4>
659
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
660
- <colgroup>
661
- <col width="150px" class="parameters_name">
662
- <col class="parameters_description">
663
- <col width="200px" class="parameters_annotations">
664
- </colgroup>
665
- <tbody>
666
- <tr>
667
- <td class="parameter_name"><p>object</p></td>
668
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
669
- <td class="parameter_annotations"> </td>
670
- </tr>
671
- <tr>
672
- <td class="parameter_name"><p>member_name</p></td>
673
- <td class="parameter_description"><p>the name of a JSON object member</p></td>
674
- <td class="parameter_annotations"> </td>
675
- </tr>
676
- </tbody>
677
- </table></div>
678
- </div>
679
- <div class="refsect3">
680
- <a name="json-object-has-member.returns"></a><h4>Returns</h4>
681
- <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 JSON object has the requested member</p>
682
- </div>
683
- </div>
684
- <hr>
685
- <div class="refsect2">
686
- <a name="json-object-get-member"></a><h3>json_object_get_member ()</h3>
687
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
688
- json_object_get_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
689
- <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> *member_name</code></em>);</pre>
690
- <p>Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the value of <em class="parameter"><code>member_name</code></em>
691
- inside
692
- a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
693
- <div class="refsect3">
694
- <a name="json-object-get-member.parameters"></a><h4>Parameters</h4>
695
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
696
- <colgroup>
697
- <col width="150px" class="parameters_name">
698
- <col class="parameters_description">
699
- <col width="200px" class="parameters_annotations">
700
- </colgroup>
701
- <tbody>
702
- <tr>
703
- <td class="parameter_name"><p>object</p></td>
704
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
705
- <td class="parameter_annotations"> </td>
706
- </tr>
707
- <tr>
708
- <td class="parameter_name"><p>member_name</p></td>
709
- <td class="parameter_description"><p>the name of the JSON object member to access</p></td>
710
- <td class="parameter_annotations"> </td>
711
- </tr>
712
- </tbody>
713
- </table></div>
714
- </div>
715
- <div class="refsect3">
716
- <a name="json-object-get-member.returns"></a><h4>Returns</h4>
717
- <p> a pointer to the node for the requested object
718
- member, 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>
719
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
720
- </div>
721
- </div>
722
- <hr>
723
- <div class="refsect2">
724
- <a name="json-object-dup-member"></a><h3>json_object_dup_member ()</h3>
725
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
726
- json_object_dup_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
727
- <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> *member_name</code></em>);</pre>
728
- <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 <em class="parameter"><code>member_name</code></em>
729
-
730
- inside a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p>
731
- <div class="refsect3">
732
- <a name="json-object-dup-member.parameters"></a><h4>Parameters</h4>
733
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
734
- <colgroup>
735
- <col width="150px" class="parameters_name">
736
- <col class="parameters_description">
737
- <col width="200px" class="parameters_annotations">
738
- </colgroup>
739
- <tbody>
740
- <tr>
741
- <td class="parameter_name"><p>object</p></td>
742
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
743
- <td class="parameter_annotations"> </td>
744
- </tr>
745
- <tr>
746
- <td class="parameter_name"><p>member_name</p></td>
747
- <td class="parameter_description"><p>the name of the JSON object member to access</p></td>
748
- <td class="parameter_annotations"> </td>
749
- </tr>
750
- </tbody>
751
- </table></div>
752
- </div>
753
- <div class="refsect3">
754
- <a name="json-object-dup-member.returns"></a><h4>Returns</h4>
755
- <p> a copy of the node for the requested
756
- object member 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>. Use <a class="link" href="json-glib-JSON-Node.html#json-node-unref" title="json_node_unref ()"><code class="function">json_node_unref()</code></a> when done. </p>
757
- <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
758
- </div>
759
- <p class="since">Since: <a class="link" href="ix04.html#api-index-0.6">0.6</a></p>
760
- </div>
761
- <hr>
762
- <div class="refsect2">
763
- <a name="json-object-get-members"></a><h3>json_object_get_members ()</h3>
764
- <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> *
765
- json_object_get_members (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
766
- <p>Retrieves all the names of the members of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. You can
767
- obtain the value for each member using <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a>.</p>
768
- <div class="refsect3">
769
- <a name="json-object-get-members.parameters"></a><h4>Parameters</h4>
770
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
771
- <colgroup>
772
- <col width="150px" class="parameters_name">
773
- <col class="parameters_description">
774
- <col width="200px" class="parameters_annotations">
775
- </colgroup>
776
- <tbody><tr>
777
- <td class="parameter_name"><p>object</p></td>
778
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
779
- <td class="parameter_annotations"> </td>
780
- </tr></tbody>
781
- </table></div>
782
- </div>
783
- <div class="refsect3">
784
- <a name="json-object-get-members.returns"></a><h4>Returns</h4>
785
- <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>
786
- of member names. The content of the list is owned by the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>
787
- and should never be modified or freed. When you have finished using
788
- the returned list, use <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> to free the resources it has
789
- allocated. </p>
790
- <p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
791
- </div>
792
- </div>
793
- <hr>
794
- <div class="refsect2">
795
- <a name="json-object-get-values"></a><h3>json_object_get_values ()</h3>
796
- <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> *
797
- json_object_get_values (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
798
- <p>Retrieves all the values of the members of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
799
- <div class="refsect3">
800
- <a name="json-object-get-values.parameters"></a><h4>Parameters</h4>
801
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
802
- <colgroup>
803
- <col width="150px" class="parameters_name">
804
- <col class="parameters_description">
805
- <col width="200px" class="parameters_annotations">
806
- </colgroup>
807
- <tbody><tr>
808
- <td class="parameter_name"><p>object</p></td>
809
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
810
- <td class="parameter_annotations"> </td>
811
- </tr></tbody>
812
- </table></div>
813
- </div>
814
- <div class="refsect3">
815
- <a name="json-object-get-values.returns"></a><h4>Returns</h4>
816
- <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> of
817
- <a href="json-glib-JSON-Node.html#JsonNode-struct"><span class="type">JsonNodes</span></a>. The content of the list is owned by the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>
818
- and should never be modified or freed. When you have finished using the
819
- returned list, use <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> to free the resources it has allocated. </p>
820
- <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>
821
- </div>
822
- </div>
823
- <hr>
824
- <div class="refsect2">
825
- <a name="json-object-get-size"></a><h3>json_object_get_size ()</h3>
826
- <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>
827
- json_object_get_size (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
828
- <p>Retrieves the number of members of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
829
- <div class="refsect3">
830
- <a name="json-object-get-size.parameters"></a><h4>Parameters</h4>
831
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
832
- <colgroup>
833
- <col width="150px" class="parameters_name">
834
- <col class="parameters_description">
835
- <col width="200px" class="parameters_annotations">
836
- </colgroup>
837
- <tbody><tr>
838
- <td class="parameter_name"><p>object</p></td>
839
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
840
- <td class="parameter_annotations"> </td>
841
- </tr></tbody>
842
- </table></div>
843
- </div>
844
- <div class="refsect3">
845
- <a name="json-object-get-size.returns"></a><h4>Returns</h4>
846
- <p> the number of members</p>
847
- </div>
848
- </div>
849
- <hr>
850
- <div class="refsect2">
851
- <a name="json-object-remove-member"></a><h3>json_object_remove_member ()</h3>
852
- <pre class="programlisting"><span class="returnvalue">void</span>
853
- json_object_remove_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
854
- <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> *member_name</code></em>);</pre>
855
- <p>Removes <em class="parameter"><code>member_name</code></em>
856
- from <em class="parameter"><code>object</code></em>
857
- , freeing its allocated resources.</p>
858
- <div class="refsect3">
859
- <a name="json-object-remove-member.parameters"></a><h4>Parameters</h4>
860
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
861
- <colgroup>
862
- <col width="150px" class="parameters_name">
863
- <col class="parameters_description">
864
- <col width="200px" class="parameters_annotations">
865
- </colgroup>
866
- <tbody>
867
- <tr>
868
- <td class="parameter_name"><p>object</p></td>
869
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
870
- <td class="parameter_annotations"> </td>
871
- </tr>
872
- <tr>
873
- <td class="parameter_name"><p>member_name</p></td>
874
- <td class="parameter_description"><p>the name of the member to remove</p></td>
875
- <td class="parameter_annotations"> </td>
876
- </tr>
877
- </tbody>
878
- </table></div>
879
- </div>
880
- </div>
881
- <hr>
882
- <div class="refsect2">
883
- <a name="JsonObjectForeach"></a><h3>JsonObjectForeach ()</h3>
884
- <pre class="programlisting"><span class="returnvalue">void</span>
885
- <span class="c_punctuation">(</span>*JsonObjectForeach<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
886
- <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> *member_name</code></em>,
887
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *member_node</code></em>,
888
- <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>
889
- <p>The function to be passed to <a class="link" href="json-glib-JSON-Object.html#json-object-foreach-member" title="json_object_foreach_member ()"><code class="function">json_object_foreach_member()</code></a>. You
890
- should not add or remove members to and from <em class="parameter"><code>object</code></em>
891
- within
892
- this function. It is safe to change the value of <em class="parameter"><code>member_node</code></em>
893
- .</p>
894
- <div class="refsect3">
895
- <a name="JsonObjectForeach.parameters"></a><h4>Parameters</h4>
896
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
897
- <colgroup>
898
- <col width="150px" class="parameters_name">
899
- <col class="parameters_description">
900
- <col width="200px" class="parameters_annotations">
901
- </colgroup>
902
- <tbody>
903
- <tr>
904
- <td class="parameter_name"><p>object</p></td>
905
- <td class="parameter_description"><p>the iterated <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
906
- <td class="parameter_annotations"> </td>
907
- </tr>
908
- <tr>
909
- <td class="parameter_name"><p>member_name</p></td>
910
- <td class="parameter_description"><p>the name of the member</p></td>
911
- <td class="parameter_annotations"> </td>
912
- </tr>
913
- <tr>
914
- <td class="parameter_name"><p>member_node</p></td>
915
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the <em class="parameter"><code>member_name</code></em>
916
- value</p></td>
917
- <td class="parameter_annotations"> </td>
918
- </tr>
919
- <tr>
920
- <td class="parameter_name"><p>user_data</p></td>
921
- <td class="parameter_description"><p>data passed to the function</p></td>
922
- <td class="parameter_annotations"> </td>
923
- </tr>
924
- </tbody>
925
- </table></div>
926
- </div>
927
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
928
- </div>
929
- <hr>
930
- <div class="refsect2">
931
- <a name="json-object-foreach-member"></a><h3>json_object_foreach_member ()</h3>
932
- <pre class="programlisting"><span class="returnvalue">void</span>
933
- json_object_foreach_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
934
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObjectForeach" title="JsonObjectForeach ()"><span class="type">JsonObjectForeach</span></a> func</code></em>,
935
- <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>
936
- <p>Iterates over all members of <em class="parameter"><code>object</code></em>
937
- and calls <em class="parameter"><code>func</code></em>
938
- on
939
- each one of them.</p>
940
- <p>It is safe to change the value of a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of the <em class="parameter"><code>object</code></em>
941
-
942
- from within the iterator <em class="parameter"><code>func</code></em>
943
- , but it is not safe to add or
944
- remove members from the <em class="parameter"><code>object</code></em>
945
- .</p>
946
- <div class="refsect3">
947
- <a name="json-object-foreach-member.parameters"></a><h4>Parameters</h4>
948
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
949
- <colgroup>
950
- <col width="150px" class="parameters_name">
951
- <col class="parameters_description">
952
- <col width="200px" class="parameters_annotations">
953
- </colgroup>
954
- <tbody>
955
- <tr>
956
- <td class="parameter_name"><p>object</p></td>
957
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
958
- <td class="parameter_annotations"> </td>
959
- </tr>
960
- <tr>
961
- <td class="parameter_name"><p>func</p></td>
962
- <td class="parameter_description"><p> the function to be called on each member. </p></td>
963
- <td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span></td>
964
- </tr>
965
- <tr>
966
- <td class="parameter_name"><p>data</p></td>
967
- <td class="parameter_description"><p> data to be passed to the function. </p></td>
968
- <td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
969
- </tr>
970
- </tbody>
971
- </table></div>
972
- </div>
973
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
974
- </div>
975
- <hr>
976
- <div class="refsect2">
977
- <a name="json-object-iter-init"></a><h3>json_object_iter_init ()</h3>
978
- <pre class="programlisting"><span class="returnvalue">void</span>
979
- json_object_iter_init (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter"><span class="type">JsonObjectIter</span></a> *iter</code></em>,
980
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
981
- <p>Initialise the <em class="parameter"><code>iter</code></em>
982
- and associate it with <em class="parameter"><code>object</code></em>
983
- .</p>
984
- <div class="informalexample">
985
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
986
- <tbody>
987
- <tr>
988
- <td class="listing_lines" align="right"><pre>1
989
- 2
990
- 3
991
- 4
992
- 5
993
- 6
994
- 7
995
- 8
996
- 9</pre></td>
997
- <td class="listing_code"><pre class="programlisting"><span class="usertype">JsonObjectIter</span><span class="normal"> iter</span><span class="symbol">;</span>
998
- <span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">member_name</span><span class="symbol">;</span>
999
- <span class="usertype">JsonNode</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">member_node</span><span class="symbol">;</span>
1000
-
1001
- <span class="function"><a href="json-glib-JSON-Object.html#json-object-iter-init">json_object_iter_init</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> some_object</span><span class="symbol">);</span>
1002
- <span class="keyword">while</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="json-glib-JSON-Object.html#json-object-iter-next">json_object_iter_next</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">member_name</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">member_node</span><span class="symbol">))</span>
1003
- <span class="normal"> </span><span class="cbracket">{</span>
1004
- <span class="normal"> </span><span class="comment">// Do something with @member_name and @member_node.</span>
1005
- <span class="normal"> </span><span class="cbracket">}</span></pre></td>
1006
- </tr>
1007
- </tbody>
1008
- </table>
1009
- </div>
1010
-
1011
- <p></p>
1012
- <div class="refsect3">
1013
- <a name="json-object-iter-init.parameters"></a><h4>Parameters</h4>
1014
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1015
- <colgroup>
1016
- <col width="150px" class="parameters_name">
1017
- <col class="parameters_description">
1018
- <col width="200px" class="parameters_annotations">
1019
- </colgroup>
1020
- <tbody>
1021
- <tr>
1022
- <td class="parameter_name"><p>iter</p></td>
1023
- <td class="parameter_description"><p>an uninitialised <a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter"><span class="type">JsonObjectIter</span></a></p></td>
1024
- <td class="parameter_annotations"> </td>
1025
- </tr>
1026
- <tr>
1027
- <td class="parameter_name"><p>object</p></td>
1028
- <td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> to iterate over</p></td>
1029
- <td class="parameter_annotations"> </td>
1030
- </tr>
1031
- </tbody>
1032
- </table></div>
1033
- </div>
1034
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
1035
- </div>
1036
- <hr>
1037
- <div class="refsect2">
1038
- <a name="json-object-iter-next"></a><h3>json_object_iter_next ()</h3>
1039
- <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>
1040
- json_object_iter_next (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter"><span class="type">JsonObjectIter</span></a> *iter</code></em>,
1041
- <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> **member_name</code></em>,
1042
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> **member_node</code></em>);</pre>
1043
- <p>Advance <em class="parameter"><code>iter</code></em>
1044
- and retrieve the next member in the object. If the end of the
1045
- object is reached, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>member_name</code></em>
1046
- and <em class="parameter"><code>member_node</code></em>
1047
- are
1048
- set to invalid values. After that point, the <em class="parameter"><code>iter</code></em>
1049
- is invalid.</p>
1050
- <p>The order in which members are returned by the iterator is undefined. The
1051
- iterator is invalidated if its <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> is modified during iteration.</p>
1052
- <div class="refsect3">
1053
- <a name="json-object-iter-next.parameters"></a><h4>Parameters</h4>
1054
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1055
- <colgroup>
1056
- <col width="150px" class="parameters_name">
1057
- <col class="parameters_description">
1058
- <col width="200px" class="parameters_annotations">
1059
- </colgroup>
1060
- <tbody>
1061
- <tr>
1062
- <td class="parameter_name"><p>iter</p></td>
1063
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter"><span class="type">JsonObjectIter</span></a></p></td>
1064
- <td class="parameter_annotations"> </td>
1065
- </tr>
1066
- <tr>
1067
- <td class="parameter_name"><p>member_name</p></td>
1068
- <td class="parameter_description"><p> return
1069
- location for the member name, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
1070
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out callee-allocates</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1071
- </tr>
1072
- <tr>
1073
- <td class="parameter_name"><p>member_node</p></td>
1074
- <td class="parameter_description"><p> return
1075
- location for the member value, 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> to ignore. </p></td>
1076
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out callee-allocates</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed instead of a pointer to a location."><span class="acronym">optional</span></acronym>]</span></td>
1077
- </tr>
1078
- </tbody>
1079
- </table></div>
1080
- </div>
1081
- <div class="refsect3">
1082
- <a name="json-object-iter-next.returns"></a><h4>Returns</h4>
1083
- <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>member_name</code></em>
1084
- and <em class="parameter"><code>member_node</code></em>
1085
- are valid; <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> if the end
1086
- of the object has been reached</p>
1087
- </div>
1088
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
1089
- </div>
1090
- <hr>
1091
- <div class="refsect2">
1092
- <a name="json-object-set-array-member"></a><h3>json_object_set_array_member ()</h3>
1093
- <pre class="programlisting"><span class="returnvalue">void</span>
1094
- json_object_set_array_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1095
- <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> *member_name</code></em>,
1096
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *value</code></em>);</pre>
1097
- <p>Convenience function for setting an array <em class="parameter"><code>value</code></em>
1098
- of
1099
- <em class="parameter"><code>member_name</code></em>
1100
- inside <em class="parameter"><code>object</code></em>
1101
- .</p>
1102
- <p>The <em class="parameter"><code>object</code></em>
1103
- will take ownership of the passed <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
1104
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1105
- <div class="refsect3">
1106
- <a name="json-object-set-array-member.parameters"></a><h4>Parameters</h4>
1107
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1108
- <colgroup>
1109
- <col width="150px" class="parameters_name">
1110
- <col class="parameters_description">
1111
- <col width="200px" class="parameters_annotations">
1112
- </colgroup>
1113
- <tbody>
1114
- <tr>
1115
- <td class="parameter_name"><p>object</p></td>
1116
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1117
- <td class="parameter_annotations"> </td>
1118
- </tr>
1119
- <tr>
1120
- <td class="parameter_name"><p>member_name</p></td>
1121
- <td class="parameter_description"><p>the name of the member</p></td>
1122
- <td class="parameter_annotations"> </td>
1123
- </tr>
1124
- <tr>
1125
- <td class="parameter_name"><p>value</p></td>
1126
- <td class="parameter_description"><p> the value of the member. </p></td>
1127
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
1128
- </tr>
1129
- </tbody>
1130
- </table></div>
1131
- </div>
1132
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1133
- </div>
1134
- <hr>
1135
- <div class="refsect2">
1136
- <a name="json-object-get-array-member"></a><h3>json_object_get_array_member ()</h3>
1137
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
1138
- json_object_get_array_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1139
- <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> *member_name</code></em>);</pre>
1140
- <p>Convenience function that retrieves the array
1141
- stored in <em class="parameter"><code>member_name</code></em>
1142
- of <em class="parameter"><code>object</code></em>
1143
- </p>
1144
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1145
- <div class="refsect3">
1146
- <a name="json-object-get-array-member.parameters"></a><h4>Parameters</h4>
1147
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1148
- <colgroup>
1149
- <col width="150px" class="parameters_name">
1150
- <col class="parameters_description">
1151
- <col width="200px" class="parameters_annotations">
1152
- </colgroup>
1153
- <tbody>
1154
- <tr>
1155
- <td class="parameter_name"><p>object</p></td>
1156
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1157
- <td class="parameter_annotations"> </td>
1158
- </tr>
1159
- <tr>
1160
- <td class="parameter_name"><p>member_name</p></td>
1161
- <td class="parameter_description"><p>the name of the member</p></td>
1162
- <td class="parameter_annotations"> </td>
1163
- </tr>
1164
- </tbody>
1165
- </table></div>
1166
- </div>
1167
- <div class="refsect3">
1168
- <a name="json-object-get-array-member.returns"></a><h4>Returns</h4>
1169
- <p> the array inside the object's member. </p>
1170
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
1171
- </div>
1172
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1173
- </div>
1174
- <hr>
1175
- <div class="refsect2">
1176
- <a name="json-object-set-boolean-member"></a><h3>json_object_set_boolean_member ()</h3>
1177
- <pre class="programlisting"><span class="returnvalue">void</span>
1178
- json_object_set_boolean_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1179
- <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> *member_name</code></em>,
1180
- <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>
1181
- <p>Convenience function for setting a boolean <em class="parameter"><code>value</code></em>
1182
- of
1183
- <em class="parameter"><code>member_name</code></em>
1184
- inside <em class="parameter"><code>object</code></em>
1185
- .</p>
1186
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1187
- <div class="refsect3">
1188
- <a name="json-object-set-boolean-member.parameters"></a><h4>Parameters</h4>
1189
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1190
- <colgroup>
1191
- <col width="150px" class="parameters_name">
1192
- <col class="parameters_description">
1193
- <col width="200px" class="parameters_annotations">
1194
- </colgroup>
1195
- <tbody>
1196
- <tr>
1197
- <td class="parameter_name"><p>object</p></td>
1198
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1199
- <td class="parameter_annotations"> </td>
1200
- </tr>
1201
- <tr>
1202
- <td class="parameter_name"><p>member_name</p></td>
1203
- <td class="parameter_description"><p>the name of the member</p></td>
1204
- <td class="parameter_annotations"> </td>
1205
- </tr>
1206
- <tr>
1207
- <td class="parameter_name"><p>value</p></td>
1208
- <td class="parameter_description"><p>the value of the member</p></td>
1209
- <td class="parameter_annotations"> </td>
1210
- </tr>
1211
- </tbody>
1212
- </table></div>
1213
- </div>
1214
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1215
- </div>
1216
- <hr>
1217
- <div class="refsect2">
1218
- <a name="json-object-get-boolean-member"></a><h3>json_object_get_boolean_member ()</h3>
1219
- <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>
1220
- json_object_get_boolean_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1221
- <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> *member_name</code></em>);</pre>
1222
- <p>Convenience function that retrieves the boolean value
1223
- stored in <em class="parameter"><code>member_name</code></em>
1224
- of <em class="parameter"><code>object</code></em>
1225
- </p>
1226
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1227
- <div class="refsect3">
1228
- <a name="json-object-get-boolean-member.parameters"></a><h4>Parameters</h4>
1229
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1230
- <colgroup>
1231
- <col width="150px" class="parameters_name">
1232
- <col class="parameters_description">
1233
- <col width="200px" class="parameters_annotations">
1234
- </colgroup>
1235
- <tbody>
1236
- <tr>
1237
- <td class="parameter_name"><p>object</p></td>
1238
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1239
- <td class="parameter_annotations"> </td>
1240
- </tr>
1241
- <tr>
1242
- <td class="parameter_name"><p>member_name</p></td>
1243
- <td class="parameter_description"><p>the name of the member</p></td>
1244
- <td class="parameter_annotations"> </td>
1245
- </tr>
1246
- </tbody>
1247
- </table></div>
1248
- </div>
1249
- <div class="refsect3">
1250
- <a name="json-object-get-boolean-member.returns"></a><h4>Returns</h4>
1251
- <p> the boolean value of the object's member</p>
1252
- </div>
1253
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1254
- </div>
1255
- <hr>
1256
- <div class="refsect2">
1257
- <a name="json-object-set-double-member"></a><h3>json_object_set_double_member ()</h3>
1258
- <pre class="programlisting"><span class="returnvalue">void</span>
1259
- json_object_set_double_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1260
- <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> *member_name</code></em>,
1261
- <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>
1262
- <p>Convenience function for setting a floating point <em class="parameter"><code>value</code></em>
1263
-
1264
- of <em class="parameter"><code>member_name</code></em>
1265
- inside <em class="parameter"><code>object</code></em>
1266
- .</p>
1267
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1268
- <div class="refsect3">
1269
- <a name="json-object-set-double-member.parameters"></a><h4>Parameters</h4>
1270
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1271
- <colgroup>
1272
- <col width="150px" class="parameters_name">
1273
- <col class="parameters_description">
1274
- <col width="200px" class="parameters_annotations">
1275
- </colgroup>
1276
- <tbody>
1277
- <tr>
1278
- <td class="parameter_name"><p>object</p></td>
1279
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1280
- <td class="parameter_annotations"> </td>
1281
- </tr>
1282
- <tr>
1283
- <td class="parameter_name"><p>member_name</p></td>
1284
- <td class="parameter_description"><p>the name of the member</p></td>
1285
- <td class="parameter_annotations"> </td>
1286
- </tr>
1287
- <tr>
1288
- <td class="parameter_name"><p>value</p></td>
1289
- <td class="parameter_description"><p>the value of the member</p></td>
1290
- <td class="parameter_annotations"> </td>
1291
- </tr>
1292
- </tbody>
1293
- </table></div>
1294
- </div>
1295
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1296
- </div>
1297
- <hr>
1298
- <div class="refsect2">
1299
- <a name="json-object-get-double-member"></a><h3>json_object_get_double_member ()</h3>
1300
- <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>
1301
- json_object_get_double_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1302
- <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> *member_name</code></em>);</pre>
1303
- <p>Convenience function that retrieves the floating point value
1304
- stored in <em class="parameter"><code>member_name</code></em>
1305
- of <em class="parameter"><code>object</code></em>
1306
- </p>
1307
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1308
- <div class="refsect3">
1309
- <a name="json-object-get-double-member.parameters"></a><h4>Parameters</h4>
1310
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1311
- <colgroup>
1312
- <col width="150px" class="parameters_name">
1313
- <col class="parameters_description">
1314
- <col width="200px" class="parameters_annotations">
1315
- </colgroup>
1316
- <tbody>
1317
- <tr>
1318
- <td class="parameter_name"><p>object</p></td>
1319
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1320
- <td class="parameter_annotations"> </td>
1321
- </tr>
1322
- <tr>
1323
- <td class="parameter_name"><p>member_name</p></td>
1324
- <td class="parameter_description"><p>the name of the member</p></td>
1325
- <td class="parameter_annotations"> </td>
1326
- </tr>
1327
- </tbody>
1328
- </table></div>
1329
- </div>
1330
- <div class="refsect3">
1331
- <a name="json-object-get-double-member.returns"></a><h4>Returns</h4>
1332
- <p> the floating point value of the object's member</p>
1333
- </div>
1334
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1335
- </div>
1336
- <hr>
1337
- <div class="refsect2">
1338
- <a name="json-object-set-int-member"></a><h3>json_object_set_int_member ()</h3>
1339
- <pre class="programlisting"><span class="returnvalue">void</span>
1340
- json_object_set_int_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1341
- <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> *member_name</code></em>,
1342
- <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>
1343
- <p>Convenience function for setting an integer <em class="parameter"><code>value</code></em>
1344
- of
1345
- <em class="parameter"><code>member_name</code></em>
1346
- inside <em class="parameter"><code>object</code></em>
1347
- .</p>
1348
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1349
- <div class="refsect3">
1350
- <a name="json-object-set-int-member.parameters"></a><h4>Parameters</h4>
1351
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1352
- <colgroup>
1353
- <col width="150px" class="parameters_name">
1354
- <col class="parameters_description">
1355
- <col width="200px" class="parameters_annotations">
1356
- </colgroup>
1357
- <tbody>
1358
- <tr>
1359
- <td class="parameter_name"><p>object</p></td>
1360
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1361
- <td class="parameter_annotations"> </td>
1362
- </tr>
1363
- <tr>
1364
- <td class="parameter_name"><p>member_name</p></td>
1365
- <td class="parameter_description"><p>the name of the member</p></td>
1366
- <td class="parameter_annotations"> </td>
1367
- </tr>
1368
- <tr>
1369
- <td class="parameter_name"><p>value</p></td>
1370
- <td class="parameter_description"><p>the value of the member</p></td>
1371
- <td class="parameter_annotations"> </td>
1372
- </tr>
1373
- </tbody>
1374
- </table></div>
1375
- </div>
1376
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1377
- </div>
1378
- <hr>
1379
- <div class="refsect2">
1380
- <a name="json-object-get-int-member"></a><h3>json_object_get_int_member ()</h3>
1381
- <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>
1382
- json_object_get_int_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1383
- <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> *member_name</code></em>);</pre>
1384
- <p>Convenience function that retrieves the integer value
1385
- stored in <em class="parameter"><code>member_name</code></em>
1386
- of <em class="parameter"><code>object</code></em>
1387
- </p>
1388
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1389
- <div class="refsect3">
1390
- <a name="json-object-get-int-member.parameters"></a><h4>Parameters</h4>
1391
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1392
- <colgroup>
1393
- <col width="150px" class="parameters_name">
1394
- <col class="parameters_description">
1395
- <col width="200px" class="parameters_annotations">
1396
- </colgroup>
1397
- <tbody>
1398
- <tr>
1399
- <td class="parameter_name"><p>object</p></td>
1400
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1401
- <td class="parameter_annotations"> </td>
1402
- </tr>
1403
- <tr>
1404
- <td class="parameter_name"><p>member_name</p></td>
1405
- <td class="parameter_description"><p>the name of the member</p></td>
1406
- <td class="parameter_annotations"> </td>
1407
- </tr>
1408
- </tbody>
1409
- </table></div>
1410
- </div>
1411
- <div class="refsect3">
1412
- <a name="json-object-get-int-member.returns"></a><h4>Returns</h4>
1413
- <p> the integer value of the object's member</p>
1414
- </div>
1415
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1416
- </div>
1417
- <hr>
1418
- <div class="refsect2">
1419
- <a name="json-object-set-null-member"></a><h3>json_object_set_null_member ()</h3>
1420
- <pre class="programlisting"><span class="returnvalue">void</span>
1421
- json_object_set_null_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1422
- <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> *member_name</code></em>);</pre>
1423
- <p>Convenience function for setting a null <em class="parameter"><code>value</code></em>
1424
- of
1425
- <em class="parameter"><code>member_name</code></em>
1426
- inside <em class="parameter"><code>object</code></em>
1427
- .</p>
1428
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1429
- <div class="refsect3">
1430
- <a name="json-object-set-null-member.parameters"></a><h4>Parameters</h4>
1431
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1432
- <colgroup>
1433
- <col width="150px" class="parameters_name">
1434
- <col class="parameters_description">
1435
- <col width="200px" class="parameters_annotations">
1436
- </colgroup>
1437
- <tbody>
1438
- <tr>
1439
- <td class="parameter_name"><p>object</p></td>
1440
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1441
- <td class="parameter_annotations"> </td>
1442
- </tr>
1443
- <tr>
1444
- <td class="parameter_name"><p>member_name</p></td>
1445
- <td class="parameter_description"><p>the name of the member</p></td>
1446
- <td class="parameter_annotations"> </td>
1447
- </tr>
1448
- </tbody>
1449
- </table></div>
1450
- </div>
1451
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1452
- </div>
1453
- <hr>
1454
- <div class="refsect2">
1455
- <a name="json-object-get-null-member"></a><h3>json_object_get_null_member ()</h3>
1456
- <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>
1457
- json_object_get_null_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1458
- <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> *member_name</code></em>);</pre>
1459
- <p>Convenience function that checks whether the value
1460
- stored in <em class="parameter"><code>member_name</code></em>
1461
- of <em class="parameter"><code>object</code></em>
1462
- is null</p>
1463
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1464
- <div class="refsect3">
1465
- <a name="json-object-get-null-member.parameters"></a><h4>Parameters</h4>
1466
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1467
- <colgroup>
1468
- <col width="150px" class="parameters_name">
1469
- <col class="parameters_description">
1470
- <col width="200px" class="parameters_annotations">
1471
- </colgroup>
1472
- <tbody>
1473
- <tr>
1474
- <td class="parameter_name"><p>object</p></td>
1475
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1476
- <td class="parameter_annotations"> </td>
1477
- </tr>
1478
- <tr>
1479
- <td class="parameter_name"><p>member_name</p></td>
1480
- <td class="parameter_description"><p>the name of the member</p></td>
1481
- <td class="parameter_annotations"> </td>
1482
- </tr>
1483
- </tbody>
1484
- </table></div>
1485
- </div>
1486
- <div class="refsect3">
1487
- <a name="json-object-get-null-member.returns"></a><h4>Returns</h4>
1488
- <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 value is null</p>
1489
- </div>
1490
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1491
- </div>
1492
- <hr>
1493
- <div class="refsect2">
1494
- <a name="json-object-set-object-member"></a><h3>json_object_set_object_member ()</h3>
1495
- <pre class="programlisting"><span class="returnvalue">void</span>
1496
- json_object_set_object_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1497
- <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> *member_name</code></em>,
1498
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *value</code></em>);</pre>
1499
- <p>Convenience function for setting an object <em class="parameter"><code>value</code></em>
1500
- of
1501
- <em class="parameter"><code>member_name</code></em>
1502
- inside <em class="parameter"><code>object</code></em>
1503
- .</p>
1504
- <p>The <em class="parameter"><code>object</code></em>
1505
- will take ownership of the passed <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p>
1506
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1507
- <div class="refsect3">
1508
- <a name="json-object-set-object-member.parameters"></a><h4>Parameters</h4>
1509
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1510
- <colgroup>
1511
- <col width="150px" class="parameters_name">
1512
- <col class="parameters_description">
1513
- <col width="200px" class="parameters_annotations">
1514
- </colgroup>
1515
- <tbody>
1516
- <tr>
1517
- <td class="parameter_name"><p>object</p></td>
1518
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1519
- <td class="parameter_annotations"> </td>
1520
- </tr>
1521
- <tr>
1522
- <td class="parameter_name"><p>member_name</p></td>
1523
- <td class="parameter_description"><p>the name of the member</p></td>
1524
- <td class="parameter_annotations"> </td>
1525
- </tr>
1526
- <tr>
1527
- <td class="parameter_name"><p>value</p></td>
1528
- <td class="parameter_description"><p> the value of the member. </p></td>
1529
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
1530
- </tr>
1531
- </tbody>
1532
- </table></div>
1533
- </div>
1534
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1535
- </div>
1536
- <hr>
1537
- <div class="refsect2">
1538
- <a name="json-object-get-object-member"></a><h3>json_object_get_object_member ()</h3>
1539
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
1540
- json_object_get_object_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1541
- <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> *member_name</code></em>);</pre>
1542
- <p>Convenience function that retrieves the object
1543
- stored in <em class="parameter"><code>member_name</code></em>
1544
- of <em class="parameter"><code>object</code></em>
1545
- . It is an error to specify a <em class="parameter"><code>member_name</code></em>
1546
-
1547
- which does not exist.</p>
1548
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1549
- <div class="refsect3">
1550
- <a name="json-object-get-object-member.parameters"></a><h4>Parameters</h4>
1551
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1552
- <colgroup>
1553
- <col width="150px" class="parameters_name">
1554
- <col class="parameters_description">
1555
- <col width="200px" class="parameters_annotations">
1556
- </colgroup>
1557
- <tbody>
1558
- <tr>
1559
- <td class="parameter_name"><p>object</p></td>
1560
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1561
- <td class="parameter_annotations"> </td>
1562
- </tr>
1563
- <tr>
1564
- <td class="parameter_name"><p>member_name</p></td>
1565
- <td class="parameter_description"><p>the name of the member</p></td>
1566
- <td class="parameter_annotations"> </td>
1567
- </tr>
1568
- </tbody>
1569
- </table></div>
1570
- </div>
1571
- <div class="refsect3">
1572
- <a name="json-object-get-object-member.returns"></a><h4>Returns</h4>
1573
- <p> the object inside the object’s
1574
- member, 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> if the value for the member is <code class="literal">null</code>. </p>
1575
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
1576
- </div>
1577
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1578
- </div>
1579
- <hr>
1580
- <div class="refsect2">
1581
- <a name="json-object-set-string-member"></a><h3>json_object_set_string_member ()</h3>
1582
- <pre class="programlisting"><span class="returnvalue">void</span>
1583
- json_object_set_string_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1584
- <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> *member_name</code></em>,
1585
- <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>
1586
- <p>Convenience function for setting a string <em class="parameter"><code>value</code></em>
1587
- of
1588
- <em class="parameter"><code>member_name</code></em>
1589
- inside <em class="parameter"><code>object</code></em>
1590
- .</p>
1591
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-set-member" title="json_object_set_member ()"><code class="function">json_object_set_member()</code></a></p>
1592
- <div class="refsect3">
1593
- <a name="json-object-set-string-member.parameters"></a><h4>Parameters</h4>
1594
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1595
- <colgroup>
1596
- <col width="150px" class="parameters_name">
1597
- <col class="parameters_description">
1598
- <col width="200px" class="parameters_annotations">
1599
- </colgroup>
1600
- <tbody>
1601
- <tr>
1602
- <td class="parameter_name"><p>object</p></td>
1603
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1604
- <td class="parameter_annotations"> </td>
1605
- </tr>
1606
- <tr>
1607
- <td class="parameter_name"><p>member_name</p></td>
1608
- <td class="parameter_description"><p>the name of the member</p></td>
1609
- <td class="parameter_annotations"> </td>
1610
- </tr>
1611
- <tr>
1612
- <td class="parameter_name"><p>value</p></td>
1613
- <td class="parameter_description"><p>the value of the member</p></td>
1614
- <td class="parameter_annotations"> </td>
1615
- </tr>
1616
- </tbody>
1617
- </table></div>
1618
- </div>
1619
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1620
- </div>
1621
- <hr>
1622
- <div class="refsect2">
1623
- <a name="json-object-get-string-member"></a><h3>json_object_get_string_member ()</h3>
1624
- <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> *
1625
- json_object_get_string_member (<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>,
1626
- <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> *member_name</code></em>);</pre>
1627
- <p>Convenience function that retrieves the string value
1628
- stored in <em class="parameter"><code>member_name</code></em>
1629
- of <em class="parameter"><code>object</code></em>
1630
- </p>
1631
- <p>See also: <a class="link" href="json-glib-JSON-Object.html#json-object-get-member" title="json_object_get_member ()"><code class="function">json_object_get_member()</code></a></p>
1632
- <div class="refsect3">
1633
- <a name="json-object-get-string-member.parameters"></a><h4>Parameters</h4>
1634
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1635
- <colgroup>
1636
- <col width="150px" class="parameters_name">
1637
- <col class="parameters_description">
1638
- <col width="200px" class="parameters_annotations">
1639
- </colgroup>
1640
- <tbody>
1641
- <tr>
1642
- <td class="parameter_name"><p>object</p></td>
1643
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1644
- <td class="parameter_annotations"> </td>
1645
- </tr>
1646
- <tr>
1647
- <td class="parameter_name"><p>member_name</p></td>
1648
- <td class="parameter_description"><p>the name of the member</p></td>
1649
- <td class="parameter_annotations"> </td>
1650
- </tr>
1651
- </tbody>
1652
- </table></div>
1653
- </div>
1654
- <div class="refsect3">
1655
- <a name="json-object-get-string-member.returns"></a><h4>Returns</h4>
1656
- <p> the string value of the object's member</p>
1657
- </div>
1658
- <p class="since">Since: <a class="link" href="ix05.html#api-index-0.8">0.8</a></p>
1659
- </div>
1660
- </div>
1661
- <div class="refsect1">
1662
- <a name="json-glib-JSON-Object.other_details"></a><h2>Types and Values</h2>
1663
- <div class="refsect2">
1664
- <a name="JsonObject-struct"></a><h3>JsonObject</h3>
1665
- <pre class="programlisting">typedef struct _JsonObject JsonObject;</pre>
1666
- <p>A JSON object type. The contents of the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> structure are private
1667
- and should only be accessed by the provided API</p>
1668
- </div>
1669
- <hr>
1670
- <div class="refsect2">
1671
- <a name="JsonObjectIter"></a><h3>JsonObjectIter</h3>
1672
- <pre class="programlisting">typedef struct {
1673
- } JsonObjectIter;
1674
- </pre>
1675
- <p>An iterator used to iterate over the members of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. This must
1676
- be allocated on the stack and initialised using <a class="link" href="json-glib-JSON-Object.html#json-object-iter-init" title="json_object_iter_init ()"><code class="function">json_object_iter_init()</code></a>.
1677
- The order in which members are returned by the iterator is undefined. The
1678
- iterator is invalidated if its <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> is modified during iteration.</p>
1679
- <p>All the fields in the <a class="link" href="json-glib-JSON-Object.html#JsonObjectIter" title="JsonObjectIter"><span class="type">JsonObjectIter</span></a> structure are private and should
1680
- never be accessed directly.</p>
1681
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
1682
- </div>
1683
- </div>
1684
- </div>
1685
- <div class="footer">
1686
- <hr>Generated by GTK-Doc V1.25</div>
1687
- </body>
1688
- </html>