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,657 +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>JsonGenerator: 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="ch03.html" title="Generator">
9
- <link rel="prev" href="ch03.html" title="Generator">
10
- <link rel="next" href="JsonBuilder.html" title="JsonBuilder">
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="#JsonGenerator.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19
- <a href="#JsonGenerator.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
20
- <a href="#JsonGenerator.properties" class="shortcut">Properties</a></span>
21
- </td>
22
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
- <td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
- <td><a accesskey="p" href="ch03.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
- <td><a accesskey="n" href="JsonBuilder.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
- </tr></table>
27
- <div class="refentry">
28
- <a name="JsonGenerator"></a><div class="titlepage"></div>
29
- <div class="refnamediv"><table width="100%"><tr>
30
- <td valign="top">
31
- <h2><span class="refentrytitle"><a name="JsonGenerator.top_of_page"></a>JsonGenerator</span></h2>
32
- <p>JsonGenerator — Generates JSON data streams</p>
33
- </td>
34
- <td class="gallery_image" valign="top" align="right"></td>
35
- </tr></table></div>
36
- <div class="refsect1">
37
- <a name="JsonGenerator.functions"></a><h2>Functions</h2>
38
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
39
- <colgroup>
40
- <col width="150px" class="functions_return">
41
- <col class="functions_name">
42
- </colgroup>
43
- <tbody>
44
- <tr>
45
- <td class="function_type">
46
- <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="returnvalue">JsonGenerator</span></a> *
47
- </td>
48
- <td class="function_name">
49
- <a class="link" href="JsonGenerator.html#json-generator-new" title="json_generator_new ()">json_generator_new</a> <span class="c_punctuation">()</span>
50
- </td>
51
- </tr>
52
- <tr>
53
- <td class="function_type">
54
- <span class="returnvalue">void</span>
55
- </td>
56
- <td class="function_name">
57
- <a class="link" href="JsonGenerator.html#json-generator-set-root" title="json_generator_set_root ()">json_generator_set_root</a> <span class="c_punctuation">()</span>
58
- </td>
59
- </tr>
60
- <tr>
61
- <td class="function_type">
62
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
63
- </td>
64
- <td class="function_name">
65
- <a class="link" href="JsonGenerator.html#json-generator-get-root" title="json_generator_get_root ()">json_generator_get_root</a> <span class="c_punctuation">()</span>
66
- </td>
67
- </tr>
68
- <tr>
69
- <td class="function_type">
70
- <span class="returnvalue">void</span>
71
- </td>
72
- <td class="function_name">
73
- <a class="link" href="JsonGenerator.html#json-generator-set-pretty" title="json_generator_set_pretty ()">json_generator_set_pretty</a> <span class="c_punctuation">()</span>
74
- </td>
75
- </tr>
76
- <tr>
77
- <td class="function_type">
78
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
79
- </td>
80
- <td class="function_name">
81
- <a class="link" href="JsonGenerator.html#json-generator-get-pretty" title="json_generator_get_pretty ()">json_generator_get_pretty</a> <span class="c_punctuation">()</span>
82
- </td>
83
- </tr>
84
- <tr>
85
- <td class="function_type">
86
- <span class="returnvalue">void</span>
87
- </td>
88
- <td class="function_name">
89
- <a class="link" href="JsonGenerator.html#json-generator-set-indent" title="json_generator_set_indent ()">json_generator_set_indent</a> <span class="c_punctuation">()</span>
90
- </td>
91
- </tr>
92
- <tr>
93
- <td class="function_type">
94
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
95
- </td>
96
- <td class="function_name">
97
- <a class="link" href="JsonGenerator.html#json-generator-get-indent" title="json_generator_get_indent ()">json_generator_get_indent</a> <span class="c_punctuation">()</span>
98
- </td>
99
- </tr>
100
- <tr>
101
- <td class="function_type">
102
- <span class="returnvalue">void</span>
103
- </td>
104
- <td class="function_name">
105
- <a class="link" href="JsonGenerator.html#json-generator-set-indent-char" title="json_generator_set_indent_char ()">json_generator_set_indent_char</a> <span class="c_punctuation">()</span>
106
- </td>
107
- </tr>
108
- <tr>
109
- <td class="function_type">
110
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a>
111
- </td>
112
- <td class="function_name">
113
- <a class="link" href="JsonGenerator.html#json-generator-get-indent-char" title="json_generator_get_indent_char ()">json_generator_get_indent_char</a> <span class="c_punctuation">()</span>
114
- </td>
115
- </tr>
116
- <tr>
117
- <td class="function_type">
118
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
119
- </td>
120
- <td class="function_name">
121
- <a class="link" href="JsonGenerator.html#json-generator-to-file" title="json_generator_to_file ()">json_generator_to_file</a> <span class="c_punctuation">()</span>
122
- </td>
123
- </tr>
124
- <tr>
125
- <td class="function_type">
126
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
127
- </td>
128
- <td class="function_name">
129
- <a class="link" href="JsonGenerator.html#json-generator-to-data" title="json_generator_to_data ()">json_generator_to_data</a> <span class="c_punctuation">()</span>
130
- </td>
131
- </tr>
132
- <tr>
133
- <td class="function_type">
134
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
135
- </td>
136
- <td class="function_name">
137
- <a class="link" href="JsonGenerator.html#json-generator-to-stream" title="json_generator_to_stream ()">json_generator_to_stream</a> <span class="c_punctuation">()</span>
138
- </td>
139
- </tr>
140
- </tbody>
141
- </table></div>
142
- </div>
143
- <div class="refsect1">
144
- <a name="JsonGenerator.properties"></a><h2>Properties</h2>
145
- <div class="informaltable"><table class="informaltable" border="0">
146
- <colgroup>
147
- <col width="150px" class="properties_type">
148
- <col width="300px" class="properties_name">
149
- <col width="200px" class="properties_flags">
150
- </colgroup>
151
- <tbody>
152
- <tr>
153
- <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
154
- <td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--indent" title="The “indent” property">indent</a></td>
155
- <td class="property_flags">Read / Write</td>
156
- </tr>
157
- <tr>
158
- <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
159
- <td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--indent-char" title="The “indent-char” property">indent-char</a></td>
160
- <td class="property_flags">Read / Write</td>
161
- </tr>
162
- <tr>
163
- <td class="property_type"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
164
- <td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--pretty" title="The “pretty” property">pretty</a></td>
165
- <td class="property_flags">Read / Write</td>
166
- </tr>
167
- <tr>
168
- <td class="property_type">
169
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *</td>
170
- <td class="property_name"><a class="link" href="JsonGenerator.html#JsonGenerator--root" title="The “root” property">root</a></td>
171
- <td class="property_flags">Read / Write</td>
172
- </tr>
173
- </tbody>
174
- </table></div>
175
- </div>
176
- <div class="refsect1">
177
- <a name="JsonGenerator.other"></a><h2>Types and Values</h2>
178
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
179
- <colgroup>
180
- <col width="150px" class="name">
181
- <col class="description">
182
- </colgroup>
183
- <tbody>
184
- <tr>
185
- <td class="datatype_keyword">struct</td>
186
- <td class="function_name"><a class="link" href="JsonGenerator.html#JsonGenerator-struct" title="struct JsonGenerator">JsonGenerator</a></td>
187
- </tr>
188
- <tr>
189
- <td class="datatype_keyword">struct</td>
190
- <td class="function_name"><a class="link" href="JsonGenerator.html#JsonGeneratorClass" title="struct JsonGeneratorClass">JsonGeneratorClass</a></td>
191
- </tr>
192
- </tbody>
193
- </table></div>
194
- </div>
195
- <div class="refsect1">
196
- <a name="JsonGenerator.object-hierarchy"></a><h2>Object Hierarchy</h2>
197
- <pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
198
- <span class="lineart">╰──</span> JsonGenerator
199
- </pre>
200
- </div>
201
- <div class="refsect1">
202
- <a name="JsonGenerator.includes"></a><h2>Includes</h2>
203
- <pre class="synopsis">#include &lt;json-glib/json-glib.h&gt;
204
- </pre>
205
- </div>
206
- <div class="refsect1">
207
- <a name="JsonGenerator.description"></a><h2>Description</h2>
208
- <p><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> provides an object for generating a JSON data stream and
209
- put it into a buffer or a file.</p>
210
- </div>
211
- <div class="refsect1">
212
- <a name="JsonGenerator.functions_details"></a><h2>Functions</h2>
213
- <div class="refsect2">
214
- <a name="json-generator-new"></a><h3>json_generator_new ()</h3>
215
- <pre class="programlisting"><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="returnvalue">JsonGenerator</span></a> *
216
- json_generator_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
217
- <p>Creates a new <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a>. You can use this object to generate a
218
- JSON data stream starting from a data object model composed by
219
- <a href="json-glib-JSON-Node.html#JsonNode-struct"><span class="type">JsonNodes</span></a>.</p>
220
- <div class="refsect3">
221
- <a name="json-generator-new.returns"></a><h4>Returns</h4>
222
- <p> the newly created <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> instance</p>
223
- </div>
224
- </div>
225
- <hr>
226
- <div class="refsect2">
227
- <a name="json-generator-set-root"></a><h3>json_generator_set_root ()</h3>
228
- <pre class="programlisting"><span class="returnvalue">void</span>
229
- json_generator_set_root (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
230
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
231
- <p>Sets <em class="parameter"><code>node</code></em>
232
- as the root of the JSON data stream to be serialized by
233
- the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a>.</p>
234
- <p>The passed <em class="parameter"><code>node</code></em>
235
- is copied by the generator object, so it can be
236
- safely freed after calling this function.</p>
237
- <div class="refsect3">
238
- <a name="json-generator-set-root.parameters"></a><h4>Parameters</h4>
239
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
240
- <colgroup>
241
- <col width="150px" class="parameters_name">
242
- <col class="parameters_description">
243
- <col width="200px" class="parameters_annotations">
244
- </colgroup>
245
- <tbody>
246
- <tr>
247
- <td class="parameter_name"><p>generator</p></td>
248
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
249
- <td class="parameter_annotations"> </td>
250
- </tr>
251
- <tr>
252
- <td class="parameter_name"><p>node</p></td>
253
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
254
- <td class="parameter_annotations"> </td>
255
- </tr>
256
- </tbody>
257
- </table></div>
258
- </div>
259
- </div>
260
- <hr>
261
- <div class="refsect2">
262
- <a name="json-generator-get-root"></a><h3>json_generator_get_root ()</h3>
263
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
264
- json_generator_get_root (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
265
- <p>Retrieves a pointer to the root <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> set using
266
- <a class="link" href="JsonGenerator.html#json-generator-set-root" title="json_generator_set_root ()"><code class="function">json_generator_set_root()</code></a>.</p>
267
- <div class="refsect3">
268
- <a name="json-generator-get-root.parameters"></a><h4>Parameters</h4>
269
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
270
- <colgroup>
271
- <col width="150px" class="parameters_name">
272
- <col class="parameters_description">
273
- <col width="200px" class="parameters_annotations">
274
- </colgroup>
275
- <tbody><tr>
276
- <td class="parameter_name"><p>generator</p></td>
277
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
278
- <td class="parameter_annotations"> </td>
279
- </tr></tbody>
280
- </table></div>
281
- </div>
282
- <div class="refsect3">
283
- <a name="json-generator-get-root.returns"></a><h4>Returns</h4>
284
- <p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. The returned node
285
- is owned by the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> and it should not be freed. </p>
286
- <p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
287
- </div>
288
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
289
- </div>
290
- <hr>
291
- <div class="refsect2">
292
- <a name="json-generator-set-pretty"></a><h3>json_generator_set_pretty ()</h3>
293
- <pre class="programlisting"><span class="returnvalue">void</span>
294
- json_generator_set_pretty (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
295
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_pretty</code></em>);</pre>
296
- <p>Sets whether the generated JSON should be pretty printed, using the
297
- indentation character specified in the <a class="link" href="JsonGenerator.html#JsonGenerator--indent-char" title="The “indent-char” property"><span class="type">“indent-char”</span></a>
298
- property and the spacing specified in <a class="link" href="JsonGenerator.html#JsonGenerator--indent" title="The “indent” property"><span class="type">“indent”</span></a> property.</p>
299
- <div class="refsect3">
300
- <a name="json-generator-set-pretty.parameters"></a><h4>Parameters</h4>
301
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
302
- <colgroup>
303
- <col width="150px" class="parameters_name">
304
- <col class="parameters_description">
305
- <col width="200px" class="parameters_annotations">
306
- </colgroup>
307
- <tbody>
308
- <tr>
309
- <td class="parameter_name"><p>generator</p></td>
310
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
311
- <td class="parameter_annotations"> </td>
312
- </tr>
313
- <tr>
314
- <td class="parameter_name"><p>is_pretty</p></td>
315
- <td class="parameter_description"><p>whether the generated string should be pretty printed</p></td>
316
- <td class="parameter_annotations"> </td>
317
- </tr>
318
- </tbody>
319
- </table></div>
320
- </div>
321
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
322
- </div>
323
- <hr>
324
- <div class="refsect2">
325
- <a name="json-generator-get-pretty"></a><h3>json_generator_get_pretty ()</h3>
326
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
327
- json_generator_get_pretty (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
328
- <p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-pretty" title="json_generator_set_pretty ()"><code class="function">json_generator_set_pretty()</code></a>.</p>
329
- <div class="refsect3">
330
- <a name="json-generator-get-pretty.parameters"></a><h4>Parameters</h4>
331
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
332
- <colgroup>
333
- <col width="150px" class="parameters_name">
334
- <col class="parameters_description">
335
- <col width="200px" class="parameters_annotations">
336
- </colgroup>
337
- <tbody><tr>
338
- <td class="parameter_name"><p>generator</p></td>
339
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
340
- <td class="parameter_annotations"> </td>
341
- </tr></tbody>
342
- </table></div>
343
- </div>
344
- <div class="refsect3">
345
- <a name="json-generator-get-pretty.returns"></a><h4>Returns</h4>
346
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the generated JSON should be pretty-printed, and
347
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
348
- </div>
349
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
350
- </div>
351
- <hr>
352
- <div class="refsect2">
353
- <a name="json-generator-set-indent"></a><h3>json_generator_set_indent ()</h3>
354
- <pre class="programlisting"><span class="returnvalue">void</span>
355
- json_generator_set_indent (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
356
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> indent_level</code></em>);</pre>
357
- <p>Sets the number of repetitions for each indentation level.</p>
358
- <div class="refsect3">
359
- <a name="json-generator-set-indent.parameters"></a><h4>Parameters</h4>
360
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
361
- <colgroup>
362
- <col width="150px" class="parameters_name">
363
- <col class="parameters_description">
364
- <col width="200px" class="parameters_annotations">
365
- </colgroup>
366
- <tbody>
367
- <tr>
368
- <td class="parameter_name"><p>generator</p></td>
369
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
370
- <td class="parameter_annotations"> </td>
371
- </tr>
372
- <tr>
373
- <td class="parameter_name"><p>indent_level</p></td>
374
- <td class="parameter_description"><p>the number of repetitions of the indentation character
375
- that should be applied when pretty printing</p></td>
376
- <td class="parameter_annotations"> </td>
377
- </tr>
378
- </tbody>
379
- </table></div>
380
- </div>
381
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
382
- </div>
383
- <hr>
384
- <div class="refsect2">
385
- <a name="json-generator-get-indent"></a><h3>json_generator_get_indent ()</h3>
386
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
387
- json_generator_get_indent (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
388
- <p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent" title="json_generator_set_indent ()"><code class="function">json_generator_set_indent()</code></a>.</p>
389
- <div class="refsect3">
390
- <a name="json-generator-get-indent.parameters"></a><h4>Parameters</h4>
391
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
392
- <colgroup>
393
- <col width="150px" class="parameters_name">
394
- <col class="parameters_description">
395
- <col width="200px" class="parameters_annotations">
396
- </colgroup>
397
- <tbody><tr>
398
- <td class="parameter_name"><p>generator</p></td>
399
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
400
- <td class="parameter_annotations"> </td>
401
- </tr></tbody>
402
- </table></div>
403
- </div>
404
- <div class="refsect3">
405
- <a name="json-generator-get-indent.returns"></a><h4>Returns</h4>
406
- <p> the number of repetitions per indentation level</p>
407
- </div>
408
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
409
- </div>
410
- <hr>
411
- <div class="refsect2">
412
- <a name="json-generator-set-indent-char"></a><h3>json_generator_set_indent_char ()</h3>
413
- <pre class="programlisting"><span class="returnvalue">void</span>
414
- json_generator_set_indent_char (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
415
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="type">gunichar</span></a> indent_char</code></em>);</pre>
416
- <p>Sets the character to be used when indenting</p>
417
- <div class="refsect3">
418
- <a name="json-generator-set-indent-char.parameters"></a><h4>Parameters</h4>
419
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
420
- <colgroup>
421
- <col width="150px" class="parameters_name">
422
- <col class="parameters_description">
423
- <col width="200px" class="parameters_annotations">
424
- </colgroup>
425
- <tbody>
426
- <tr>
427
- <td class="parameter_name"><p>generator</p></td>
428
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
429
- <td class="parameter_annotations"> </td>
430
- </tr>
431
- <tr>
432
- <td class="parameter_name"><p>indent_char</p></td>
433
- <td class="parameter_description"><p>a Unicode character to be used when indenting</p></td>
434
- <td class="parameter_annotations"> </td>
435
- </tr>
436
- </tbody>
437
- </table></div>
438
- </div>
439
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
440
- </div>
441
- <hr>
442
- <div class="refsect2">
443
- <a name="json-generator-get-indent-char"></a><h3>json_generator_get_indent_char ()</h3>
444
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html#gunichar"><span class="returnvalue">gunichar</span></a>
445
- json_generator_get_indent_char (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>);</pre>
446
- <p>Retrieves the value set using <a class="link" href="JsonGenerator.html#json-generator-set-indent-char" title="json_generator_set_indent_char ()"><code class="function">json_generator_set_indent_char()</code></a>.</p>
447
- <div class="refsect3">
448
- <a name="json-generator-get-indent-char.parameters"></a><h4>Parameters</h4>
449
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
450
- <colgroup>
451
- <col width="150px" class="parameters_name">
452
- <col class="parameters_description">
453
- <col width="200px" class="parameters_annotations">
454
- </colgroup>
455
- <tbody><tr>
456
- <td class="parameter_name"><p>generator</p></td>
457
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
458
- <td class="parameter_annotations"> </td>
459
- </tr></tbody>
460
- </table></div>
461
- </div>
462
- <div class="refsect3">
463
- <a name="json-generator-get-indent-char.returns"></a><h4>Returns</h4>
464
- <p> the character to be used when indenting</p>
465
- </div>
466
- <p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
467
- </div>
468
- <hr>
469
- <div class="refsect2">
470
- <a name="json-generator-to-file"></a><h3>json_generator_to_file ()</h3>
471
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
472
- json_generator_to_file (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
473
- <em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
474
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
475
- <p>Creates a JSON data stream and puts it inside <em class="parameter"><code>filename</code></em>
476
- , overwriting the
477
- current file contents. This operation is atomic.</p>
478
- <div class="refsect3">
479
- <a name="json-generator-to-file.parameters"></a><h4>Parameters</h4>
480
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
481
- <colgroup>
482
- <col width="150px" class="parameters_name">
483
- <col class="parameters_description">
484
- <col width="200px" class="parameters_annotations">
485
- </colgroup>
486
- <tbody>
487
- <tr>
488
- <td class="parameter_name"><p>generator</p></td>
489
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
490
- <td class="parameter_annotations"> </td>
491
- </tr>
492
- <tr>
493
- <td class="parameter_name"><p>filename</p></td>
494
- <td class="parameter_description"><p>path to the target file</p></td>
495
- <td class="parameter_annotations"> </td>
496
- </tr>
497
- <tr>
498
- <td class="parameter_name"><p>error</p></td>
499
- <td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
500
- <td class="parameter_annotations"> </td>
501
- </tr>
502
- </tbody>
503
- </table></div>
504
- </div>
505
- <div class="refsect3">
506
- <a name="json-generator-to-file.returns"></a><h4>Returns</h4>
507
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if saving was successful.</p>
508
- </div>
509
- </div>
510
- <hr>
511
- <div class="refsect2">
512
- <a name="json-generator-to-data"></a><h3>json_generator_to_data ()</h3>
513
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
514
- json_generator_to_data (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
515
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *length</code></em>);</pre>
516
- <p>Generates a JSON data stream from <em class="parameter"><code>generator</code></em>
517
- and returns it as a
518
- buffer.</p>
519
- <div class="refsect3">
520
- <a name="json-generator-to-data.parameters"></a><h4>Parameters</h4>
521
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
522
- <colgroup>
523
- <col width="150px" class="parameters_name">
524
- <col class="parameters_description">
525
- <col width="200px" class="parameters_annotations">
526
- </colgroup>
527
- <tbody>
528
- <tr>
529
- <td class="parameter_name"><p>generator</p></td>
530
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
531
- <td class="parameter_annotations"> </td>
532
- </tr>
533
- <tr>
534
- <td class="parameter_name"><p>length</p></td>
535
- <td class="parameter_description"><p> return location for the length of the returned
536
- buffer, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
537
- <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
538
- </tr>
539
- </tbody>
540
- </table></div>
541
- </div>
542
- <div class="refsect3">
543
- <a name="json-generator-to-data.returns"></a><h4>Returns</h4>
544
- <p> a newly allocated buffer holding a JSON data stream.
545
- Use <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the allocated resources.</p>
546
- </div>
547
- </div>
548
- <hr>
549
- <div class="refsect2">
550
- <a name="json-generator-to-stream"></a><h3>json_generator_to_stream ()</h3>
551
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
552
- json_generator_to_stream (<em class="parameter"><code><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> *generator</code></em>,
553
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a> *stream</code></em>,
554
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
555
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
556
- <p>Outputs JSON data and streams it (synchronously) to <em class="parameter"><code>stream</code></em>
557
- .</p>
558
- <div class="refsect3">
559
- <a name="json-generator-to-stream.parameters"></a><h4>Parameters</h4>
560
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
561
- <colgroup>
562
- <col width="150px" class="parameters_name">
563
- <col class="parameters_description">
564
- <col width="200px" class="parameters_annotations">
565
- </colgroup>
566
- <tbody>
567
- <tr>
568
- <td class="parameter_name"><p>generator</p></td>
569
- <td class="parameter_description"><p>a <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a></p></td>
570
- <td class="parameter_annotations"> </td>
571
- </tr>
572
- <tr>
573
- <td class="parameter_name"><p>stream</p></td>
574
- <td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GOutputStream.html#GOutputStream-struct"><span class="type">GOutputStream</span></a></p></td>
575
- <td class="parameter_annotations"> </td>
576
- </tr>
577
- <tr>
578
- <td class="parameter_name"><p>cancellable</p></td>
579
- <td class="parameter_description"><p> a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
580
- <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
581
- </tr>
582
- <tr>
583
- <td class="parameter_name"><p>error</p></td>
584
- <td class="parameter_description"><p>return location for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
585
- <td class="parameter_annotations"> </td>
586
- </tr>
587
- </tbody>
588
- </table></div>
589
- </div>
590
- <div class="refsect3">
591
- <a name="json-generator-to-stream.returns"></a><h4>Returns</h4>
592
- <p> <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write operation was successful, and <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
593
- on failure. In case of error, the <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> will be filled accordingly</p>
594
- </div>
595
- <p class="since">Since: <a class="link" href="ix07.html#api-index-0.12">0.12</a></p>
596
- </div>
597
- </div>
598
- <div class="refsect1">
599
- <a name="JsonGenerator.other_details"></a><h2>Types and Values</h2>
600
- <div class="refsect2">
601
- <a name="JsonGenerator-struct"></a><h3>struct JsonGenerator</h3>
602
- <pre class="programlisting">struct JsonGenerator;</pre>
603
- <p>JSON data streams generator. The contents of the <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> structure
604
- are private and should only be accessed via the provided API.</p>
605
- </div>
606
- <hr>
607
- <div class="refsect2">
608
- <a name="JsonGeneratorClass"></a><h3>struct JsonGeneratorClass</h3>
609
- <pre class="programlisting">struct JsonGeneratorClass {
610
- };
611
- </pre>
612
- <p><a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> class</p>
613
- </div>
614
- </div>
615
- <div class="refsect1">
616
- <a name="JsonGenerator.property-details"></a><h2>Property Details</h2>
617
- <div class="refsect2">
618
- <a name="JsonGenerator--indent"></a><h3>The <code class="literal">“indent”</code> property</h3>
619
- <pre class="programlisting"> “indent” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
620
- <p>Number of spaces to be used to indent when pretty printing.</p>
621
- <p>Flags: Read / Write</p>
622
- <p>Default value: 2</p>
623
- </div>
624
- <hr>
625
- <div class="refsect2">
626
- <a name="JsonGenerator--indent-char"></a><h3>The <code class="literal">“indent-char”</code> property</h3>
627
- <pre class="programlisting"> “indent-char” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
628
- <p>The character that should be used when indenting in pretty print.</p>
629
- <p>Flags: Read / Write</p>
630
- <p>Default value: ' '</p>
631
- <p class="since">Since: <a class="link" href="ix04.html#api-index-0.6">0.6</a></p>
632
- </div>
633
- <hr>
634
- <div class="refsect2">
635
- <a name="JsonGenerator--pretty"></a><h3>The <code class="literal">“pretty”</code> property</h3>
636
- <pre class="programlisting"> “pretty” <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
637
- <p>Whether the output should be "pretty-printed", with indentation and
638
- newlines. The indentation level can be controlled by using the
639
- JsonGenerator:indent property</p>
640
- <p>Flags: Read / Write</p>
641
- <p>Default value: FALSE</p>
642
- </div>
643
- <hr>
644
- <div class="refsect2">
645
- <a name="JsonGenerator--root"></a><h3>The <code class="literal">“root”</code> property</h3>
646
- <pre class="programlisting"> “root” <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *</pre>
647
- <p>The root <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to be used when constructing a JSON data
648
- stream.</p>
649
- <p>Flags: Read / Write</p>
650
- <p class="since">Since: <a class="link" href="ix03.html#api-index-0.4">0.4</a></p>
651
- </div>
652
- </div>
653
- </div>
654
- <div class="footer">
655
- <hr>Generated by GTK-Doc V1.25</div>
656
- </body>
657
- </html>