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,1191 +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>JsonParser: 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="ch02.html" title="Parser">
9
- <link rel="prev" href="ch02.html" title="Parser">
10
- <link rel="next" href="JsonReader.html" title="JsonReader">
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="#JsonParser.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
- <a href="#JsonParser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
- <a href="#JsonParser.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
21
- <a href="#JsonParser.signals" class="shortcut">Signals</a></span>
22
- </td>
23
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24
- <td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25
- <td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26
- <td><a accesskey="n" href="JsonReader.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27
- </tr></table>
28
- <div class="refentry">
29
- <a name="JsonParser"></a><div class="titlepage"></div>
30
- <div class="refnamediv"><table width="100%"><tr>
31
- <td valign="top">
32
- <h2><span class="refentrytitle"><a name="JsonParser.top_of_page"></a>JsonParser</span></h2>
33
- <p>JsonParser — Parse JSON data streams</p>
34
- </td>
35
- <td class="gallery_image" valign="top" align="right"></td>
36
- </tr></table></div>
37
- <div class="refsect1">
38
- <a name="JsonParser.functions"></a><h2>Functions</h2>
39
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
40
- <colgroup>
41
- <col width="150px" class="functions_return">
42
- <col class="functions_name">
43
- </colgroup>
44
- <tbody>
45
- <tr>
46
- <td class="function_type">
47
- <a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
48
- </td>
49
- <td class="function_name">
50
- <a class="link" href="JsonParser.html#json-parser-new" title="json_parser_new ()">json_parser_new</a> <span class="c_punctuation">()</span>
51
- </td>
52
- </tr>
53
- <tr>
54
- <td class="function_type">
55
- <a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
56
- </td>
57
- <td class="function_name">
58
- <a class="link" href="JsonParser.html#json-parser-new-immutable" title="json_parser_new_immutable ()">json_parser_new_immutable</a> <span class="c_punctuation">()</span>
59
- </td>
60
- </tr>
61
- <tr>
62
- <td class="function_type">
63
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
64
- </td>
65
- <td class="function_name">
66
- <a class="link" href="JsonParser.html#json-parser-load-from-file" title="json_parser_load_from_file ()">json_parser_load_from_file</a> <span class="c_punctuation">()</span>
67
- </td>
68
- </tr>
69
- <tr>
70
- <td class="function_type">
71
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
72
- </td>
73
- <td class="function_name">
74
- <a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()">json_parser_load_from_data</a> <span class="c_punctuation">()</span>
75
- </td>
76
- </tr>
77
- <tr>
78
- <td class="function_type">
79
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
80
- </td>
81
- <td class="function_name">
82
- <a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()">json_parser_load_from_stream</a> <span class="c_punctuation">()</span>
83
- </td>
84
- </tr>
85
- <tr>
86
- <td class="function_type">
87
- <span class="returnvalue">void</span>
88
- </td>
89
- <td class="function_name">
90
- <a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()">json_parser_load_from_stream_async</a> <span class="c_punctuation">()</span>
91
- </td>
92
- </tr>
93
- <tr>
94
- <td class="function_type">
95
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
96
- </td>
97
- <td class="function_name">
98
- <a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()">json_parser_load_from_stream_finish</a> <span class="c_punctuation">()</span>
99
- </td>
100
- </tr>
101
- <tr>
102
- <td class="function_type">
103
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
104
- </td>
105
- <td class="function_name">
106
- <a class="link" href="JsonParser.html#json-parser-get-root" title="json_parser_get_root ()">json_parser_get_root</a> <span class="c_punctuation">()</span>
107
- </td>
108
- </tr>
109
- <tr>
110
- <td class="function_type">
111
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
112
- </td>
113
- <td class="function_name">
114
- <a class="link" href="JsonParser.html#json-parser-get-current-line" title="json_parser_get_current_line ()">json_parser_get_current_line</a> <span class="c_punctuation">()</span>
115
- </td>
116
- </tr>
117
- <tr>
118
- <td class="function_type">
119
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
120
- </td>
121
- <td class="function_name">
122
- <a class="link" href="JsonParser.html#json-parser-get-current-pos" title="json_parser_get_current_pos ()">json_parser_get_current_pos</a> <span class="c_punctuation">()</span>
123
- </td>
124
- </tr>
125
- <tr>
126
- <td class="function_type">
127
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
128
- </td>
129
- <td class="function_name">
130
- <a class="link" href="JsonParser.html#json-parser-has-assignment" title="json_parser_has_assignment ()">json_parser_has_assignment</a> <span class="c_punctuation">()</span>
131
- </td>
132
- </tr>
133
- </tbody>
134
- </table></div>
135
- </div>
136
- <div class="refsect1">
137
- <a name="JsonParser.properties"></a><h2>Properties</h2>
138
- <div class="informaltable"><table class="informaltable" border="0">
139
- <colgroup>
140
- <col width="150px" class="properties_type">
141
- <col width="300px" class="properties_name">
142
- <col width="200px" class="properties_flags">
143
- </colgroup>
144
- <tbody><tr>
145
- <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
146
- <td class="property_name"><a class="link" href="JsonParser.html#JsonParser--immutable" title="The “immutable” property">immutable</a></td>
147
- <td class="property_flags">Read / Write / Construct Only</td>
148
- </tr></tbody>
149
- </table></div>
150
- </div>
151
- <div class="refsect1">
152
- <a name="JsonParser.signals"></a><h2>Signals</h2>
153
- <div class="informaltable"><table class="informaltable" border="0">
154
- <colgroup>
155
- <col width="150px" class="signals_return">
156
- <col width="300px" class="signals_name">
157
- <col width="200px" class="signals_flags">
158
- </colgroup>
159
- <tbody>
160
- <tr>
161
- <td class="signal_type"><span class="returnvalue">void</span></td>
162
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-element" title="The “array-element” signal">array-element</a></td>
163
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
164
- </tr>
165
- <tr>
166
- <td class="signal_type"><span class="returnvalue">void</span></td>
167
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-end" title="The “array-end” signal">array-end</a></td>
168
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
169
- </tr>
170
- <tr>
171
- <td class="signal_type"><span class="returnvalue">void</span></td>
172
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-start" title="The “array-start” signal">array-start</a></td>
173
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
174
- </tr>
175
- <tr>
176
- <td class="signal_type"><span class="returnvalue">void</span></td>
177
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-error" title="The “error” signal">error</a></td>
178
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
179
- </tr>
180
- <tr>
181
- <td class="signal_type"><span class="returnvalue">void</span></td>
182
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-end" title="The “object-end” signal">object-end</a></td>
183
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
184
- </tr>
185
- <tr>
186
- <td class="signal_type"><span class="returnvalue">void</span></td>
187
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-member" title="The “object-member” signal">object-member</a></td>
188
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
189
- </tr>
190
- <tr>
191
- <td class="signal_type"><span class="returnvalue">void</span></td>
192
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-start" title="The “object-start” signal">object-start</a></td>
193
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
194
- </tr>
195
- <tr>
196
- <td class="signal_type"><span class="returnvalue">void</span></td>
197
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-end" title="The “parse-end” signal">parse-end</a></td>
198
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
199
- </tr>
200
- <tr>
201
- <td class="signal_type"><span class="returnvalue">void</span></td>
202
- <td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-start" title="The “parse-start” signal">parse-start</a></td>
203
- <td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
204
- </tr>
205
- </tbody>
206
- </table></div>
207
- </div>
208
- <div class="refsect1">
209
- <a name="JsonParser.other"></a><h2>Types and Values</h2>
210
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
211
- <colgroup>
212
- <col width="150px" class="name">
213
- <col class="description">
214
- </colgroup>
215
- <tbody>
216
- <tr>
217
- <td class="datatype_keyword">enum</td>
218
- <td class="function_name"><a class="link" href="JsonParser.html#JsonParserError" title="enum JsonParserError">JsonParserError</a></td>
219
- </tr>
220
- <tr>
221
- <td class="datatype_keyword">struct</td>
222
- <td class="function_name"><a class="link" href="JsonParser.html#JsonParser-struct" title="struct JsonParser">JsonParser</a></td>
223
- </tr>
224
- <tr>
225
- <td class="datatype_keyword">struct</td>
226
- <td class="function_name"><a class="link" href="JsonParser.html#JsonParserClass" title="struct JsonParserClass">JsonParserClass</a></td>
227
- </tr>
228
- </tbody>
229
- </table></div>
230
- </div>
231
- <div class="refsect1">
232
- <a name="JsonParser.object-hierarchy"></a><h2>Object Hierarchy</h2>
233
- <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
234
- <span class="lineart">╰──</span> JsonParser
235
- </pre>
236
- </div>
237
- <div class="refsect1">
238
- <a name="JsonParser.includes"></a><h2>Includes</h2>
239
- <pre class="synopsis">#include &lt;json-glib/json-glib.h&gt;
240
- </pre>
241
- </div>
242
- <div class="refsect1">
243
- <a name="JsonParser.description"></a><h2>Description</h2>
244
- <p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> provides an object for parsing a JSON data stream, either
245
- inside a file or inside a static buffer.</p>
246
- </div>
247
- <div class="refsect1">
248
- <a name="JsonParser.functions_details"></a><h2>Functions</h2>
249
- <div class="refsect2">
250
- <a name="json-parser-new"></a><h3>json_parser_new ()</h3>
251
- <pre class="programlisting"><a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
252
- json_parser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
253
- <p>Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> instance. You can use the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> to
254
- load a JSON stream from either a file or a buffer and then walk the
255
- hierarchy using the data types API.</p>
256
- <div class="refsect3">
257
- <a name="json-parser-new.returns"></a><h4>Returns</h4>
258
- <p> the newly created <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>
259
- to release all the memory it allocates.</p>
260
- </div>
261
- </div>
262
- <hr>
263
- <div class="refsect2">
264
- <a name="json-parser-new-immutable"></a><h3>json_parser_new_immutable ()</h3>
265
- <pre class="programlisting"><a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
266
- json_parser_new_immutable (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
267
- <p>Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> instance with its <a class="link" href="JsonParser.html#JsonParser--immutable" title="The “immutable” property"><span class="type">“immutable”</span></a> property
268
- set to <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to create immutable output trees.</p>
269
- <div class="refsect3">
270
- <a name="json-parser-new-immutable.returns"></a><h4>Returns</h4>
271
- <p> a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. </p>
272
- <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
273
- </div>
274
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
275
- </div>
276
- <hr>
277
- <div class="refsect2">
278
- <a name="json-parser-load-from-file"></a><h3>json_parser_load_from_file ()</h3>
279
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
280
- json_parser_load_from_file (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
281
- <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
282
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
283
- <p>Loads a JSON stream from the content of <em class="parameter"><code>filename</code></em>
284
- and parses it. See
285
- <a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()"><code class="function">json_parser_load_from_data()</code></a>.</p>
286
- <div class="refsect3">
287
- <a name="json-parser-load-from-file.parameters"></a><h4>Parameters</h4>
288
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
289
- <colgroup>
290
- <col width="150px" class="parameters_name">
291
- <col class="parameters_description">
292
- <col width="200px" class="parameters_annotations">
293
- </colgroup>
294
- <tbody>
295
- <tr>
296
- <td class="parameter_name"><p>parser</p></td>
297
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
298
- <td class="parameter_annotations"> </td>
299
- </tr>
300
- <tr>
301
- <td class="parameter_name"><p>filename</p></td>
302
- <td class="parameter_description"><p>the path for the file to parse</p></td>
303
- <td class="parameter_annotations"> </td>
304
- </tr>
305
- <tr>
306
- <td class="parameter_name"><p>error</p></td>
307
- <td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
308
- <td class="parameter_annotations"> </td>
309
- </tr>
310
- </tbody>
311
- </table></div>
312
- </div>
313
- <div class="refsect3">
314
- <a name="json-parser-load-from-file.returns"></a><h4>Returns</h4>
315
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file was successfully loaded and parsed.
316
- In case of error, <em class="parameter"><code>error</code></em>
317
- is set accordingly and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</p>
318
- </div>
319
- </div>
320
- <hr>
321
- <div class="refsect2">
322
- <a name="json-parser-load-from-data"></a><h3>json_parser_load_from_data ()</h3>
323
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
324
- json_parser_load_from_data (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
325
- <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *data</code></em>,
326
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gssize"><span class="type">gssize</span></a> length</code></em>,
327
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
328
- <p>Loads a JSON stream from a buffer and parses it. You can call this function
329
- multiple times with the same <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> object, but the contents of the
330
- parser will be destroyed each time.</p>
331
- <div class="refsect3">
332
- <a name="json-parser-load-from-data.parameters"></a><h4>Parameters</h4>
333
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
334
- <colgroup>
335
- <col width="150px" class="parameters_name">
336
- <col class="parameters_description">
337
- <col width="200px" class="parameters_annotations">
338
- </colgroup>
339
- <tbody>
340
- <tr>
341
- <td class="parameter_name"><p>parser</p></td>
342
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
343
- <td class="parameter_annotations"> </td>
344
- </tr>
345
- <tr>
346
- <td class="parameter_name"><p>data</p></td>
347
- <td class="parameter_description"><p>the buffer to parse</p></td>
348
- <td class="parameter_annotations"> </td>
349
- </tr>
350
- <tr>
351
- <td class="parameter_name"><p>length</p></td>
352
- <td class="parameter_description"><p>the length of the buffer, or -1</p></td>
353
- <td class="parameter_annotations"> </td>
354
- </tr>
355
- <tr>
356
- <td class="parameter_name"><p>error</p></td>
357
- <td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
358
- <td class="parameter_annotations"> </td>
359
- </tr>
360
- </tbody>
361
- </table></div>
362
- </div>
363
- <div class="refsect3">
364
- <a name="json-parser-load-from-data.returns"></a><h4>Returns</h4>
365
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the buffer was succesfully parser. In case
366
- of error, <em class="parameter"><code>error</code></em>
367
- is set accordingly and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned</p>
368
- </div>
369
- </div>
370
- <hr>
371
- <div class="refsect2">
372
- <a name="json-parser-load-from-stream"></a><h3>json_parser_load_from_stream ()</h3>
373
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
374
- json_parser_load_from_stream (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
375
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
376
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
377
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
378
- <p>Loads the contents of an input stream and parses them.</p>
379
- <p>If <em class="parameter"><code>cancellable</code></em>
380
- is not <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the operation can be cancelled by
381
- triggering the <em class="parameter"><code>cancellable</code></em>
382
- object from another thread. If the
383
- operation was cancelled, the error <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html#G-IO-ERROR-CANCELLED:CAPS"><code class="literal">G_IO_ERROR_CANCELLED</code></a> will be set
384
- on the passed <em class="parameter"><code>error</code></em>
385
- .</p>
386
- <div class="refsect3">
387
- <a name="json-parser-load-from-stream.parameters"></a><h4>Parameters</h4>
388
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
389
- <colgroup>
390
- <col width="150px" class="parameters_name">
391
- <col class="parameters_description">
392
- <col width="200px" class="parameters_annotations">
393
- </colgroup>
394
- <tbody>
395
- <tr>
396
- <td class="parameter_name"><p>parser</p></td>
397
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
398
- <td class="parameter_annotations"> </td>
399
- </tr>
400
- <tr>
401
- <td class="parameter_name"><p>stream</p></td>
402
- <td class="parameter_description"><p>an open <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a></p></td>
403
- <td class="parameter_annotations"> </td>
404
- </tr>
405
- <tr>
406
- <td class="parameter_name"><p>cancellable</p></td>
407
- <td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
408
- <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
409
- </tr>
410
- <tr>
411
- <td class="parameter_name"><p>error</p></td>
412
- <td class="parameter_description"><p>the return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
413
- <td class="parameter_annotations"> </td>
414
- </tr>
415
- </tbody>
416
- </table></div>
417
- </div>
418
- <div class="refsect3">
419
- <a name="json-parser-load-from-stream.returns"></a><h4>Returns</h4>
420
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the data stream was successfully read and
421
- parsed, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
422
- </div>
423
- <p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
424
- </div>
425
- <hr>
426
- <div class="refsect2">
427
- <a name="json-parser-load-from-stream-async"></a><h3>json_parser_load_from_stream_async ()</h3>
428
- <pre class="programlisting"><span class="returnvalue">void</span>
429
- json_parser_load_from_stream_async (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
430
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a> *stream</code></em>,
431
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
432
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
433
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
434
- <p>Asynchronously reads the contents of <em class="parameter"><code>stream</code></em>
435
- .</p>
436
- <p>For more details, see <a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()"><code class="function">json_parser_load_from_stream()</code></a> which is the
437
- synchronous version of this call.</p>
438
- <p>When the operation is finished, <em class="parameter"><code>callback</code></em>
439
- will be called. You should
440
- then call <a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()"><code class="function">json_parser_load_from_stream_finish()</code></a> to get the result
441
- of the operation.</p>
442
- <div class="refsect3">
443
- <a name="json-parser-load-from-stream-async.parameters"></a><h4>Parameters</h4>
444
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
445
- <colgroup>
446
- <col width="150px" class="parameters_name">
447
- <col class="parameters_description">
448
- <col width="200px" class="parameters_annotations">
449
- </colgroup>
450
- <tbody>
451
- <tr>
452
- <td class="parameter_name"><p>parser</p></td>
453
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
454
- <td class="parameter_annotations"> </td>
455
- </tr>
456
- <tr>
457
- <td class="parameter_name"><p>stream</p></td>
458
- <td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GInputStream.html#GInputStream-struct"><span class="type">GInputStream</span></a></p></td>
459
- <td class="parameter_annotations"> </td>
460
- </tr>
461
- <tr>
462
- <td class="parameter_name"><p>cancellable</p></td>
463
- <td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
464
- <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
465
- </tr>
466
- <tr>
467
- <td class="parameter_name"><p>callback</p></td>
468
- <td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> to call when the request is satisfied</p></td>
469
- <td class="parameter_annotations"> </td>
470
- </tr>
471
- <tr>
472
- <td class="parameter_name"><p>user_data</p></td>
473
- <td class="parameter_description"><p>the data to pass to <em class="parameter"><code>callback</code></em>
474
- </p></td>
475
- <td class="parameter_annotations"> </td>
476
- </tr>
477
- </tbody>
478
- </table></div>
479
- </div>
480
- <p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
481
- </div>
482
- <hr>
483
- <div class="refsect2">
484
- <a name="json-parser-load-from-stream-finish"></a><h3>json_parser_load_from_stream_finish ()</h3>
485
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
486
- json_parser_load_from_stream_finish (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
487
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a> *result</code></em>,
488
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
489
- <p>Finishes an asynchronous stream loading started with
490
- <a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()"><code class="function">json_parser_load_from_stream_async()</code></a>.</p>
491
- <div class="refsect3">
492
- <a name="json-parser-load-from-stream-finish.parameters"></a><h4>Parameters</h4>
493
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
494
- <colgroup>
495
- <col width="150px" class="parameters_name">
496
- <col class="parameters_description">
497
- <col width="200px" class="parameters_annotations">
498
- </colgroup>
499
- <tbody>
500
- <tr>
501
- <td class="parameter_name"><p>parser</p></td>
502
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
503
- <td class="parameter_annotations"> </td>
504
- </tr>
505
- <tr>
506
- <td class="parameter_name"><p>result</p></td>
507
- <td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html#GAsyncResult-struct"><span class="type">GAsyncResult</span></a></p></td>
508
- <td class="parameter_annotations"> </td>
509
- </tr>
510
- <tr>
511
- <td class="parameter_name"><p>error</p></td>
512
- <td class="parameter_description"><p>the return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
513
- <td class="parameter_annotations"> </td>
514
- </tr>
515
- </tbody>
516
- </table></div>
517
- </div>
518
- <div class="refsect3">
519
- <a name="json-parser-load-from-stream-finish.returns"></a><h4>Returns</h4>
520
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the content of the stream was successfully retrieves
521
- and parsed, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. In case of error, the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will be
522
- filled accordingly.</p>
523
- </div>
524
- <p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
525
- </div>
526
- <hr>
527
- <div class="refsect2">
528
- <a name="json-parser-get-root"></a><h3>json_parser_get_root ()</h3>
529
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
530
- json_parser_get_root (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
531
- <p>Retrieves the top level node from the parsed JSON stream.</p>
532
- <div class="refsect3">
533
- <a name="json-parser-get-root.parameters"></a><h4>Parameters</h4>
534
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
535
- <colgroup>
536
- <col width="150px" class="parameters_name">
537
- <col class="parameters_description">
538
- <col width="200px" class="parameters_annotations">
539
- </colgroup>
540
- <tbody><tr>
541
- <td class="parameter_name"><p>parser</p></td>
542
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
543
- <td class="parameter_annotations"> </td>
544
- </tr></tbody>
545
- </table></div>
546
- </div>
547
- <div class="refsect3">
548
- <a name="json-parser-get-root.returns"></a><h4>Returns</h4>
549
- <p> the root <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> . The returned
550
- node is owned by the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should never be modified
551
- or freed. </p>
552
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
553
- </div>
554
- </div>
555
- <hr>
556
- <div class="refsect2">
557
- <a name="json-parser-get-current-line"></a><h3>json_parser_get_current_line ()</h3>
558
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
559
- json_parser_get_current_line (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
560
- <p>Retrieves the line currently parsed, starting from 1.</p>
561
- <p>This function has defined behaviour only while parsing; calling this
562
- function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
563
- yield 0.</p>
564
- <div class="refsect3">
565
- <a name="json-parser-get-current-line.parameters"></a><h4>Parameters</h4>
566
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
567
- <colgroup>
568
- <col width="150px" class="parameters_name">
569
- <col class="parameters_description">
570
- <col width="200px" class="parameters_annotations">
571
- </colgroup>
572
- <tbody><tr>
573
- <td class="parameter_name"><p>parser</p></td>
574
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
575
- <td class="parameter_annotations"> </td>
576
- </tr></tbody>
577
- </table></div>
578
- </div>
579
- <div class="refsect3">
580
- <a name="json-parser-get-current-line.returns"></a><h4>Returns</h4>
581
- <p> the currently parsed line, or 0.</p>
582
- </div>
583
- </div>
584
- <hr>
585
- <div class="refsect2">
586
- <a name="json-parser-get-current-pos"></a><h3>json_parser_get_current_pos ()</h3>
587
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
588
- json_parser_get_current_pos (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
589
- <p>Retrieves the current position inside the current line, starting
590
- from 0.</p>
591
- <p>This function has defined behaviour only while parsing; calling this
592
- function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
593
- yield 0.</p>
594
- <div class="refsect3">
595
- <a name="json-parser-get-current-pos.parameters"></a><h4>Parameters</h4>
596
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
597
- <colgroup>
598
- <col width="150px" class="parameters_name">
599
- <col class="parameters_description">
600
- <col width="200px" class="parameters_annotations">
601
- </colgroup>
602
- <tbody><tr>
603
- <td class="parameter_name"><p>parser</p></td>
604
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
605
- <td class="parameter_annotations"> </td>
606
- </tr></tbody>
607
- </table></div>
608
- </div>
609
- <div class="refsect3">
610
- <a name="json-parser-get-current-pos.returns"></a><h4>Returns</h4>
611
- <p> the position in the current line, or 0.</p>
612
- </div>
613
- </div>
614
- <hr>
615
- <div class="refsect2">
616
- <a name="json-parser-has-assignment"></a><h3>json_parser_has_assignment ()</h3>
617
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
618
- json_parser_has_assignment (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
619
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **variable_name</code></em>);</pre>
620
- <p>A JSON data stream might sometimes contain an assignment, like:</p>
621
- <div class="informalexample">
622
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
623
- <tbody>
624
- <tr>
625
- <td class="listing_lines" align="right"><pre>1</pre></td>
626
- <td class="listing_code"><pre class="programlisting"><span class="usertype">var</span><span class="normal"> _json_data </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"member_name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span><span class="normal"> </span><span class="symbol">...</span></pre></td>
627
- </tr>
628
- </tbody>
629
- </table>
630
- </div>
631
-
632
- <p></p>
633
- <p>even though it would technically constitute a violation of the RFC.</p>
634
- <p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will ignore the left hand identifier and parse the right
635
- hand value of the assignment. <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will record, though, the
636
- existence of the assignment in the data stream and the variable name
637
- used.</p>
638
- <div class="refsect3">
639
- <a name="json-parser-has-assignment.parameters"></a><h4>Parameters</h4>
640
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
641
- <colgroup>
642
- <col width="150px" class="parameters_name">
643
- <col class="parameters_description">
644
- <col width="200px" class="parameters_annotations">
645
- </colgroup>
646
- <tbody>
647
- <tr>
648
- <td class="parameter_name"><p>parser</p></td>
649
- <td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
650
- <td class="parameter_annotations"> </td>
651
- </tr>
652
- <tr>
653
- <td class="parameter_name"><p>variable_name</p></td>
654
- <td class="parameter_description"><p> Return location for the variable
655
- name, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
656
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
657
- </tr>
658
- </tbody>
659
- </table></div>
660
- </div>
661
- <div class="refsect3">
662
- <a name="json-parser-has-assignment.returns"></a><h4>Returns</h4>
663
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there was an assignment, <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise. If
664
- <em class="parameter"><code>variable_name</code></em>
665
- is not <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it will be set to the name of the variable
666
- used in the assignment. The string is owned by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should
667
- never be modified or freed.</p>
668
- </div>
669
- <p class="since">Since: <a class="link" href="ix03.html#api-index-0.4">0.4</a></p>
670
- </div>
671
- </div>
672
- <div class="refsect1">
673
- <a name="JsonParser.other_details"></a><h2>Types and Values</h2>
674
- <div class="refsect2">
675
- <a name="JsonParserError"></a><h3>enum JsonParserError</h3>
676
- <p>Error enumeration for <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p>
677
- <p>This enumeration can be extended at later date</p>
678
- <div class="refsect3">
679
- <a name="JsonParserError.members"></a><h4>Members</h4>
680
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
681
- <colgroup>
682
- <col width="300px" class="enum_members_name">
683
- <col class="enum_members_description">
684
- <col width="200px" class="enum_members_annotations">
685
- </colgroup>
686
- <tbody>
687
- <tr>
688
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-PARSE:CAPS"></a>JSON_PARSER_ERROR_PARSE</p></td>
689
- <td class="enum_member_description">
690
- <p>parse error</p>
691
- </td>
692
- <td class="enum_member_annotations"> </td>
693
- </tr>
694
- <tr>
695
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-TRAILING-COMMA:CAPS"></a>JSON_PARSER_ERROR_TRAILING_COMMA</p></td>
696
- <td class="enum_member_description">
697
- <p>unexpected trailing comma</p>
698
- </td>
699
- <td class="enum_member_annotations"> </td>
700
- </tr>
701
- <tr>
702
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-MISSING-COMMA:CAPS"></a>JSON_PARSER_ERROR_MISSING_COMMA</p></td>
703
- <td class="enum_member_description">
704
- <p>expected comma</p>
705
- </td>
706
- <td class="enum_member_annotations"> </td>
707
- </tr>
708
- <tr>
709
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-MISSING-COLON:CAPS"></a>JSON_PARSER_ERROR_MISSING_COLON</p></td>
710
- <td class="enum_member_description">
711
- <p>expected colon</p>
712
- </td>
713
- <td class="enum_member_annotations"> </td>
714
- </tr>
715
- <tr>
716
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-INVALID-BAREWORD:CAPS"></a>JSON_PARSER_ERROR_INVALID_BAREWORD</p></td>
717
- <td class="enum_member_description">
718
- <p>invalid bareword</p>
719
- </td>
720
- <td class="enum_member_annotations"> </td>
721
- </tr>
722
- <tr>
723
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-EMPTY-MEMBER-NAME:CAPS"></a>JSON_PARSER_ERROR_EMPTY_MEMBER_NAME</p></td>
724
- <td class="enum_member_description">
725
- <p>empty member name (Since: 0.16)</p>
726
- </td>
727
- <td class="enum_member_annotations"> </td>
728
- </tr>
729
- <tr>
730
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-INVALID-DATA:CAPS"></a>JSON_PARSER_ERROR_INVALID_DATA</p></td>
731
- <td class="enum_member_description">
732
- <p>invalid data (Since: 0.18)</p>
733
- </td>
734
- <td class="enum_member_annotations"> </td>
735
- </tr>
736
- <tr>
737
- <td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-UNKNOWN:CAPS"></a>JSON_PARSER_ERROR_UNKNOWN</p></td>
738
- <td class="enum_member_description">
739
- <p>unknown error</p>
740
- </td>
741
- <td class="enum_member_annotations"> </td>
742
- </tr>
743
- </tbody>
744
- </table></div>
745
- </div>
746
- </div>
747
- <hr>
748
- <div class="refsect2">
749
- <a name="JsonParser-struct"></a><h3>struct JsonParser</h3>
750
- <pre class="programlisting">struct JsonParser;</pre>
751
- <p>JSON data streams parser. The contents of the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> structure are
752
- private and should only be accessed via the provided API.</p>
753
- </div>
754
- <hr>
755
- <div class="refsect2">
756
- <a name="JsonParserClass"></a><h3>struct JsonParserClass</h3>
757
- <pre class="programlisting">struct JsonParserClass {
758
- void (* parse_start) (JsonParser *parser);
759
-
760
- void (* object_start) (JsonParser *parser);
761
- void (* object_member) (JsonParser *parser,
762
- JsonObject *object,
763
- const gchar *member_name);
764
- void (* object_end) (JsonParser *parser,
765
- JsonObject *object);
766
-
767
- void (* array_start) (JsonParser *parser);
768
- void (* array_element) (JsonParser *parser,
769
- JsonArray *array,
770
- gint index_);
771
- void (* array_end) (JsonParser *parser,
772
- JsonArray *array);
773
-
774
- void (* parse_end) (JsonParser *parser);
775
-
776
- void (* error) (JsonParser *parser,
777
- const GError *error);
778
- };
779
- </pre>
780
- <p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> class.</p>
781
- <div class="refsect3">
782
- <a name="JsonParserClass.members"></a><h4>Members</h4>
783
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
784
- <colgroup>
785
- <col width="300px" class="struct_members_name">
786
- <col class="struct_members_description">
787
- <col width="200px" class="struct_members_annotations">
788
- </colgroup>
789
- <tbody>
790
- <tr>
791
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.parse-start"></a>parse_start</code></em> ()</p></td>
792
- <td class="struct_member_description"><p>class handler for the JsonParser::parse-start signal</p></td>
793
- <td class="struct_member_annotations"> </td>
794
- </tr>
795
- <tr>
796
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-start"></a>object_start</code></em> ()</p></td>
797
- <td class="struct_member_description"><p>class handler for the JsonParser::object-start signal</p></td>
798
- <td class="struct_member_annotations"> </td>
799
- </tr>
800
- <tr>
801
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-member"></a>object_member</code></em> ()</p></td>
802
- <td class="struct_member_description"><p>class handler for the JsonParser::object-member signal</p></td>
803
- <td class="struct_member_annotations"> </td>
804
- </tr>
805
- <tr>
806
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-end"></a>object_end</code></em> ()</p></td>
807
- <td class="struct_member_description"><p>class handler for the JsonParser::object-end signal</p></td>
808
- <td class="struct_member_annotations"> </td>
809
- </tr>
810
- <tr>
811
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-start"></a>array_start</code></em> ()</p></td>
812
- <td class="struct_member_description"><p>class handler for the JsonParser::array-start signal</p></td>
813
- <td class="struct_member_annotations"> </td>
814
- </tr>
815
- <tr>
816
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-element"></a>array_element</code></em> ()</p></td>
817
- <td class="struct_member_description"><p>class handler for the JsonParser::array-element signal</p></td>
818
- <td class="struct_member_annotations"> </td>
819
- </tr>
820
- <tr>
821
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-end"></a>array_end</code></em> ()</p></td>
822
- <td class="struct_member_description"><p>class handler for the JsonParser::array-end signal</p></td>
823
- <td class="struct_member_annotations"> </td>
824
- </tr>
825
- <tr>
826
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.parse-end"></a>parse_end</code></em> ()</p></td>
827
- <td class="struct_member_description"><p>class handler for the JsonParser::parse-end signal</p></td>
828
- <td class="struct_member_annotations"> </td>
829
- </tr>
830
- <tr>
831
- <td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.error"></a>error</code></em> ()</p></td>
832
- <td class="struct_member_description"><p>class handler for the JsonParser::error signal</p></td>
833
- <td class="struct_member_annotations"> </td>
834
- </tr>
835
- </tbody>
836
- </table></div>
837
- </div>
838
- </div>
839
- </div>
840
- <div class="refsect1">
841
- <a name="JsonParser.property-details"></a><h2>Property Details</h2>
842
- <div class="refsect2">
843
- <a name="JsonParser--immutable"></a><h3>The <code class="literal">“immutable”</code> property</h3>
844
- <pre class="programlisting"> “immutable” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
845
- <p>Whether the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> tree built by the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> should be immutable
846
- when created. Making the output immutable on creation avoids the expense
847
- of traversing it to make it immutable later.</p>
848
- <p>Flags: Read / Write / Construct Only</p>
849
- <p>Default value: FALSE</p>
850
- <p class="since">Since: <a class="link" href="ix11.html#api-index-1.2">1.2</a></p>
851
- </div>
852
- </div>
853
- <div class="refsect1">
854
- <a name="JsonParser.signal-details"></a><h2>Signal Details</h2>
855
- <div class="refsect2">
856
- <a name="JsonParser-array-element"></a><h3>The <code class="literal">“array-element”</code> signal</h3>
857
- <pre class="programlisting"><span class="returnvalue">void</span>
858
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
859
- <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array,
860
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_,
861
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
862
- <p>The ::array-element signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
863
- has successfully parsed a single element of a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>. The
864
- array and element index are passed to the signal handlers.</p>
865
- <div class="refsect3">
866
- <a name="JsonParser-array-element.parameters"></a><h4>Parameters</h4>
867
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
868
- <colgroup>
869
- <col width="150px" class="parameters_name">
870
- <col class="parameters_description">
871
- <col width="200px" class="parameters_annotations">
872
- </colgroup>
873
- <tbody>
874
- <tr>
875
- <td class="parameter_name"><p>parser</p></td>
876
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
877
- <td class="parameter_annotations"> </td>
878
- </tr>
879
- <tr>
880
- <td class="parameter_name"><p>array</p></td>
881
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p></td>
882
- <td class="parameter_annotations"> </td>
883
- </tr>
884
- <tr>
885
- <td class="parameter_name"><p>index_</p></td>
886
- <td class="parameter_description"><p>the index of the newly parsed element</p></td>
887
- <td class="parameter_annotations"> </td>
888
- </tr>
889
- <tr>
890
- <td class="parameter_name"><p>user_data</p></td>
891
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
892
- <td class="parameter_annotations"> </td>
893
- </tr>
894
- </tbody>
895
- </table></div>
896
- </div>
897
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
898
- </div>
899
- <hr>
900
- <div class="refsect2">
901
- <a name="JsonParser-array-end"></a><h3>The <code class="literal">“array-end”</code> signal</h3>
902
- <pre class="programlisting"><span class="returnvalue">void</span>
903
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
904
- <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array,
905
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
906
- <p>The ::array-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
907
- has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
908
- <div class="refsect3">
909
- <a name="JsonParser-array-end.parameters"></a><h4>Parameters</h4>
910
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
911
- <colgroup>
912
- <col width="150px" class="parameters_name">
913
- <col class="parameters_description">
914
- <col width="200px" class="parameters_annotations">
915
- </colgroup>
916
- <tbody>
917
- <tr>
918
- <td class="parameter_name"><p>parser</p></td>
919
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
920
- <td class="parameter_annotations"> </td>
921
- </tr>
922
- <tr>
923
- <td class="parameter_name"><p>array</p></td>
924
- <td class="parameter_description"><p>the parsed <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p></td>
925
- <td class="parameter_annotations"> </td>
926
- </tr>
927
- <tr>
928
- <td class="parameter_name"><p>user_data</p></td>
929
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
930
- <td class="parameter_annotations"> </td>
931
- </tr>
932
- </tbody>
933
- </table></div>
934
- </div>
935
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
936
- </div>
937
- <hr>
938
- <div class="refsect2">
939
- <a name="JsonParser-array-start"></a><h3>The <code class="literal">“array-start”</code> signal</h3>
940
- <pre class="programlisting"><span class="returnvalue">void</span>
941
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
942
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
943
- <p>The ::array-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
944
- starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
945
- <div class="refsect3">
946
- <a name="JsonParser-array-start.parameters"></a><h4>Parameters</h4>
947
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
948
- <colgroup>
949
- <col width="150px" class="parameters_name">
950
- <col class="parameters_description">
951
- <col width="200px" class="parameters_annotations">
952
- </colgroup>
953
- <tbody>
954
- <tr>
955
- <td class="parameter_name"><p>parser</p></td>
956
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
957
- <td class="parameter_annotations"> </td>
958
- </tr>
959
- <tr>
960
- <td class="parameter_name"><p>user_data</p></td>
961
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
962
- <td class="parameter_annotations"> </td>
963
- </tr>
964
- </tbody>
965
- </table></div>
966
- </div>
967
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
968
- </div>
969
- <hr>
970
- <div class="refsect2">
971
- <a name="JsonParser-error"></a><h3>The <code class="literal">“error”</code> signal</h3>
972
- <pre class="programlisting"><span class="returnvalue">void</span>
973
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
974
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> error,
975
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
976
- <p>The ::error signal is emitted each time a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> encounters
977
- an error in a JSON stream.</p>
978
- <div class="refsect3">
979
- <a name="JsonParser-error.parameters"></a><h4>Parameters</h4>
980
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
981
- <colgroup>
982
- <col width="150px" class="parameters_name">
983
- <col class="parameters_description">
984
- <col width="200px" class="parameters_annotations">
985
- </colgroup>
986
- <tbody>
987
- <tr>
988
- <td class="parameter_name"><p>parser</p></td>
989
- <td class="parameter_description"><p>the parser instance that received the signal</p></td>
990
- <td class="parameter_annotations"> </td>
991
- </tr>
992
- <tr>
993
- <td class="parameter_name"><p>error</p></td>
994
- <td class="parameter_description"><p>a pointer to the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
995
- <td class="parameter_annotations"> </td>
996
- </tr>
997
- <tr>
998
- <td class="parameter_name"><p>user_data</p></td>
999
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1000
- <td class="parameter_annotations"> </td>
1001
- </tr>
1002
- </tbody>
1003
- </table></div>
1004
- </div>
1005
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1006
- </div>
1007
- <hr>
1008
- <div class="refsect2">
1009
- <a name="JsonParser-object-end"></a><h3>The <code class="literal">“object-end”</code> signal</h3>
1010
- <pre class="programlisting"><span class="returnvalue">void</span>
1011
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
1012
- <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object,
1013
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1014
- <p>The ::object-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
1015
- has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
1016
- <div class="refsect3">
1017
- <a name="JsonParser-object-end.parameters"></a><h4>Parameters</h4>
1018
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1019
- <colgroup>
1020
- <col width="150px" class="parameters_name">
1021
- <col class="parameters_description">
1022
- <col width="200px" class="parameters_annotations">
1023
- </colgroup>
1024
- <tbody>
1025
- <tr>
1026
- <td class="parameter_name"><p>parser</p></td>
1027
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
1028
- <td class="parameter_annotations"> </td>
1029
- </tr>
1030
- <tr>
1031
- <td class="parameter_name"><p>object</p></td>
1032
- <td class="parameter_description"><p>the parsed <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1033
- <td class="parameter_annotations"> </td>
1034
- </tr>
1035
- <tr>
1036
- <td class="parameter_name"><p>user_data</p></td>
1037
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1038
- <td class="parameter_annotations"> </td>
1039
- </tr>
1040
- </tbody>
1041
- </table></div>
1042
- </div>
1043
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1044
- </div>
1045
- <hr>
1046
- <div class="refsect2">
1047
- <a name="JsonParser-object-member"></a><h3>The <code class="literal">“object-member”</code> signal</h3>
1048
- <pre class="programlisting"><span class="returnvalue">void</span>
1049
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
1050
- <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object,
1051
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *member_name,
1052
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1053
- <p>The ::object-member signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
1054
- has successfully parsed a single member of a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. The
1055
- object and member are passed to the signal handlers.</p>
1056
- <div class="refsect3">
1057
- <a name="JsonParser-object-member.parameters"></a><h4>Parameters</h4>
1058
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1059
- <colgroup>
1060
- <col width="150px" class="parameters_name">
1061
- <col class="parameters_description">
1062
- <col width="200px" class="parameters_annotations">
1063
- </colgroup>
1064
- <tbody>
1065
- <tr>
1066
- <td class="parameter_name"><p>parser</p></td>
1067
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
1068
- <td class="parameter_annotations"> </td>
1069
- </tr>
1070
- <tr>
1071
- <td class="parameter_name"><p>object</p></td>
1072
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
1073
- <td class="parameter_annotations"> </td>
1074
- </tr>
1075
- <tr>
1076
- <td class="parameter_name"><p>member_name</p></td>
1077
- <td class="parameter_description"><p>the name of the newly parsed member</p></td>
1078
- <td class="parameter_annotations"> </td>
1079
- </tr>
1080
- <tr>
1081
- <td class="parameter_name"><p>user_data</p></td>
1082
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1083
- <td class="parameter_annotations"> </td>
1084
- </tr>
1085
- </tbody>
1086
- </table></div>
1087
- </div>
1088
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1089
- </div>
1090
- <hr>
1091
- <div class="refsect2">
1092
- <a name="JsonParser-object-start"></a><h3>The <code class="literal">“object-start”</code> signal</h3>
1093
- <pre class="programlisting"><span class="returnvalue">void</span>
1094
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
1095
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1096
- <p>The ::object-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
1097
- starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>.</p>
1098
- <div class="refsect3">
1099
- <a name="JsonParser-object-start.parameters"></a><h4>Parameters</h4>
1100
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1101
- <colgroup>
1102
- <col width="150px" class="parameters_name">
1103
- <col class="parameters_description">
1104
- <col width="200px" class="parameters_annotations">
1105
- </colgroup>
1106
- <tbody>
1107
- <tr>
1108
- <td class="parameter_name"><p>parser</p></td>
1109
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
1110
- <td class="parameter_annotations"> </td>
1111
- </tr>
1112
- <tr>
1113
- <td class="parameter_name"><p>user_data</p></td>
1114
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1115
- <td class="parameter_annotations"> </td>
1116
- </tr>
1117
- </tbody>
1118
- </table></div>
1119
- </div>
1120
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1121
- </div>
1122
- <hr>
1123
- <div class="refsect2">
1124
- <a name="JsonParser-parse-end"></a><h3>The <code class="literal">“parse-end”</code> signal</h3>
1125
- <pre class="programlisting"><span class="returnvalue">void</span>
1126
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
1127
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1128
- <p>The ::parse-end signal is emitted when the parser successfully
1129
- finished parsing a JSON data stream</p>
1130
- <div class="refsect3">
1131
- <a name="JsonParser-parse-end.parameters"></a><h4>Parameters</h4>
1132
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1133
- <colgroup>
1134
- <col width="150px" class="parameters_name">
1135
- <col class="parameters_description">
1136
- <col width="200px" class="parameters_annotations">
1137
- </colgroup>
1138
- <tbody>
1139
- <tr>
1140
- <td class="parameter_name"><p>parser</p></td>
1141
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
1142
- <td class="parameter_annotations"> </td>
1143
- </tr>
1144
- <tr>
1145
- <td class="parameter_name"><p>user_data</p></td>
1146
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1147
- <td class="parameter_annotations"> </td>
1148
- </tr>
1149
- </tbody>
1150
- </table></div>
1151
- </div>
1152
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1153
- </div>
1154
- <hr>
1155
- <div class="refsect2">
1156
- <a name="JsonParser-parse-start"></a><h3>The <code class="literal">“parse-start”</code> signal</h3>
1157
- <pre class="programlisting"><span class="returnvalue">void</span>
1158
- user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
1159
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
1160
- <p>The ::parse-start signal is emitted when the parser began parsing
1161
- a JSON data stream.</p>
1162
- <div class="refsect3">
1163
- <a name="JsonParser-parse-start.parameters"></a><h4>Parameters</h4>
1164
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
1165
- <colgroup>
1166
- <col width="150px" class="parameters_name">
1167
- <col class="parameters_description">
1168
- <col width="200px" class="parameters_annotations">
1169
- </colgroup>
1170
- <tbody>
1171
- <tr>
1172
- <td class="parameter_name"><p>parser</p></td>
1173
- <td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
1174
- <td class="parameter_annotations"> </td>
1175
- </tr>
1176
- <tr>
1177
- <td class="parameter_name"><p>user_data</p></td>
1178
- <td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
1179
- <td class="parameter_annotations"> </td>
1180
- </tr>
1181
- </tbody>
1182
- </table></div>
1183
- </div>
1184
- <p>Flags: <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
1185
- </div>
1186
- </div>
1187
- </div>
1188
- <div class="footer">
1189
- <hr>Generated by GTK-Doc V1.25</div>
1190
- </body>
1191
- </html>