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,49 +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>Part IV. JSON-GLib Advanced API: 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="index.html" title="JSON-GLib Reference Manual">
9
- <link rel="prev" href="json-glib-Utility-API.html" title="Utility API">
10
- <link rel="next" href="json-glib-GObject-Serialization.html" title="GObject Serialization">
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"></td>
17
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
- <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
19
- <td><a accesskey="p" href="json-glib-Utility-API.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
- <td><a accesskey="n" href="json-glib-GObject-Serialization.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
- </tr></table>
22
- <div class="part">
23
- <div class="titlepage"><div><div><h1 class="title">
24
- <a name="json-advanced"></a>Part IV. JSON-GLib Advanced API</h1></div></div></div>
25
- <div class="toc">
26
- <p><b>Table of Contents</b></p>
27
- <dl class="toc">
28
- <dt>
29
- <span class="refentrytitle"><a href="json-glib-GObject-Serialization.html">GObject Serialization</a></span><span class="refpurpose"> — Serialize and deserialize GObjects</span>
30
- </dt>
31
- <dt>
32
- <span class="refentrytitle"><a href="json-glib-Serializable-Interface.html">Serializable Interface</a></span><span class="refpurpose"> — Interface for serialize and deserialize special GObjects</span>
33
- </dt>
34
- <dt>
35
- <span class="refentrytitle"><a href="json-glib-Boxed-Types-Serialization.html">Boxed Types Serialization</a></span><span class="refpurpose"> — Serialize and deserialize GBoxed types</span>
36
- </dt>
37
- <dt>
38
- <span class="refentrytitle"><a href="json-glib-JSON-GVariant-Integration.html">JSON GVariant Integration</a></span><span class="refpurpose"> — Serialize and deserialize GVariant types</span>
39
- </dt>
40
- <dt>
41
- <span class="refentrytitle"><a href="json-glib-Versioning-information.html">Versioning information</a></span><span class="refpurpose"> — JSON-GLib version checking</span>
42
- </dt>
43
- </dl>
44
- </div>
45
- </div>
46
- <div class="footer">
47
- <hr>Generated by GTK-Doc V1.25</div>
48
- </body>
49
- </html>
@@ -1,60 +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>Part II. JSON-GLib Reference: 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="index.html" title="JSON-GLib Reference Manual">
9
- <link rel="prev" href="json-overview.html" title="Part I. JSON-GLib Overview">
10
- <link rel="next" href="ch01.html" title="Data Types">
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"></td>
17
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
- <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
19
- <td><a accesskey="p" href="json-overview.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
- <td><a accesskey="n" href="ch01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
- </tr></table>
22
- <div class="part">
23
- <div class="titlepage"><div><div><h1 class="title">
24
- <a name="json-base"></a>Part II. JSON-GLib Reference</h1></div></div></div>
25
- <div class="partintro">
26
- <div></div>
27
- <p>
28
- JSON-GLib provides wrappers around the complex data types defined
29
- by the JSON specification. The fundamental types are handled using
30
- the Generic Value container (GValue) provided by GLib.
31
- </p>
32
- <p>
33
- JSON complex data types are either arrays (a n-tuple of items)
34
- or objects (a mapping between a string and a value); arrays and
35
- objects can contain multiple values, including other arrays and
36
- objects.
37
- </p>
38
- <div class="toc">
39
- <p><b>Table of Contents</b></p>
40
- <dl class="toc">
41
- <dt><span class="chapter"><a href="ch01.html">Data Types</a></span></dt>
42
- <dd><dl>
43
- <dt>
44
- <span class="refentrytitle"><a href="json-glib-JSON-Node.html">JSON Node</a></span><span class="refpurpose"> — Node in a JSON object model</span>
45
- </dt>
46
- <dt>
47
- <span class="refentrytitle"><a href="json-glib-JSON-Array.html">JSON Array</a></span><span class="refpurpose"> — a JSON array representation</span>
48
- </dt>
49
- <dt>
50
- <span class="refentrytitle"><a href="json-glib-JSON-Object.html">JSON Object</a></span><span class="refpurpose"> — a JSON object representation</span>
51
- </dt>
52
- </dl></dd>
53
- </dl>
54
- </div>
55
- </div>
56
- </div>
57
- <div class="footer">
58
- <hr>Generated by GTK-Doc V1.25</div>
59
- </body>
60
- </html>
@@ -1,83 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <title>json-glib-format: 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="tools.html" title="JSON-GLib Tools">
9
- <link rel="prev" href="tools.html" title="JSON-GLib Tools">
10
- <link rel="next" href="json-validate-tool.html" title="json-glib-validate">
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"></td>
17
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
- <td><a accesskey="u" href="tools.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19
- <td><a accesskey="p" href="tools.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
- <td><a accesskey="n" href="json-validate-tool.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
- </tr></table>
22
- <div lang="en" class="refentry">
23
- <a name="json-format-tool"></a><div class="titlepage"></div>
24
- <div class="refnamediv"><table width="100%"><tr>
25
- <td valign="top">
26
- <h2><span class="refentrytitle">json-glib-format</span></h2>
27
- <p>json-glib-format — JSON-GLib formatting tool</p>
28
- </td>
29
- <td class="gallery_image" valign="top" align="right"></td>
30
- </tr></table></div>
31
- <div class="refsynopsisdiv">
32
- <h2>Synopsis</h2>
33
- <div class="cmdsynopsis"><p><code class="command">json-glib-format</code> [<code class="option">-h</code>, <code class="option">--help</code>] [<code class="option">--prettify</code>] [<code class="option">--indent-spaces</code> <em class="replaceable"><code>SPACES</code></em>] URI [
34
- URI...
35
- ]</p></div>
36
- </div>
37
- <div class="refsect1">
38
- <a name="id-1.6.2.2.5"></a><h2>Description</h2>
39
- <p><span class="command"><strong>json-glib-format</strong></span> offers a simple command line
40
- interface to format JSON data. It reads a list or URIs, applies the
41
- spacified formatting rules on the JSON data, and outputs the formatted
42
- JSON to the standard output.</p>
43
- <p>
44
- The resources to operate on are specified by the <em class="replaceable"><code>URI</code></em>
45
- argument.
46
- </p>
47
- </div>
48
- <div class="refsect1">
49
- <a name="id-1.6.2.2.6"></a><h2>Commands</h2>
50
- <div class="variablelist"><table border="0" class="variablelist">
51
- <colgroup>
52
- <col align="left" valign="top">
53
- <col>
54
- </colgroup>
55
- <tbody>
56
- <tr>
57
- <td><p><span class="term"><code class="option">-h</code>, <code class="option">--help</code></span></p></td>
58
- <td><p>
59
- Prints help and exits.
60
- </p></td>
61
- </tr>
62
- <tr>
63
- <td><p><span class="term"><code class="option">-p</code>, <code class="option">--prettify</code></span></p></td>
64
- <td><p>
65
- Prettifies the output, by adding spaces and indentation. This argument is
66
- useful to improve the readability of JSON data, at the expense of its size.
67
- </p></td>
68
- </tr>
69
- <tr>
70
- <td><p><span class="term"><code class="option">--indent-spaces</code> <em class="replaceable"><code>SPACES</code></em></span></p></td>
71
- <td><p>
72
- Changes the number of spaces using to indent the JSON data from the default of 2.
73
- This argument is only considered if <code class="option">--prettify</code> is used.
74
- </p></td>
75
- </tr>
76
- </tbody>
77
- </table></div>
78
- </div>
79
- </div>
80
- <div class="footer">
81
- <hr>Generated by GTK-Doc V1.25</div>
82
- </body>
83
- </html>
@@ -1,493 +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>Boxed Types Serialization: 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="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
9
- <link rel="prev" href="json-glib-Serializable-Interface.html" title="Serializable Interface">
10
- <link rel="next" href="json-glib-JSON-GVariant-Integration.html" title="JSON GVariant Integration">
11
- <meta name="generator" content="GTK-Doc V1.25 (XML mode)">
12
- <link rel="stylesheet" href="style.css" type="text/css">
13
- </head>
14
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
- <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
- <td width="100%" align="left" class="shortcuts">
17
- <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18
- <a href="#json-glib-Boxed-Types-Serialization.description" class="shortcut">Description</a></span>
19
- </td>
20
- <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
21
- <td><a accesskey="u" href="json-advanced.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
22
- <td><a accesskey="p" href="json-glib-Serializable-Interface.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
23
- <td><a accesskey="n" href="json-glib-JSON-GVariant-Integration.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
24
- </tr></table>
25
- <div class="refentry">
26
- <a name="json-glib-Boxed-Types-Serialization"></a><div class="titlepage"></div>
27
- <div class="refnamediv"><table width="100%"><tr>
28
- <td valign="top">
29
- <h2><span class="refentrytitle"><a name="json-glib-Boxed-Types-Serialization.top_of_page"></a>Boxed Types Serialization</span></h2>
30
- <p>Boxed Types Serialization — Serialize and deserialize GBoxed types</p>
31
- </td>
32
- <td class="gallery_image" valign="top" align="right"></td>
33
- </tr></table></div>
34
- <div class="refsect1">
35
- <a name="json-glib-Boxed-Types-Serialization.functions"></a><h2>Functions</h2>
36
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
37
- <colgroup>
38
- <col width="150px" class="functions_return">
39
- <col class="functions_name">
40
- </colgroup>
41
- <tbody>
42
- <tr>
43
- <td class="function_type">
44
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
45
- </td>
46
- <td class="function_name">
47
- <span class="c_punctuation">(</span><a class="link" href="json-glib-Boxed-Types-Serialization.html#JsonBoxedSerializeFunc" title="JsonBoxedSerializeFunc ()">*JsonBoxedSerializeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
48
- </td>
49
- </tr>
50
- <tr>
51
- <td class="function_type">
52
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
53
- </td>
54
- <td class="function_name">
55
- <span class="c_punctuation">(</span><a class="link" href="json-glib-Boxed-Types-Serialization.html#JsonBoxedDeserializeFunc" title="JsonBoxedDeserializeFunc ()">*JsonBoxedDeserializeFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
56
- </td>
57
- </tr>
58
- <tr>
59
- <td class="function_type">
60
- <span class="returnvalue">void</span>
61
- </td>
62
- <td class="function_name">
63
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-register-serialize-func" title="json_boxed_register_serialize_func ()">json_boxed_register_serialize_func</a> <span class="c_punctuation">()</span>
64
- </td>
65
- </tr>
66
- <tr>
67
- <td class="function_type">
68
- <span class="returnvalue">void</span>
69
- </td>
70
- <td class="function_name">
71
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-register-deserialize-func" title="json_boxed_register_deserialize_func ()">json_boxed_register_deserialize_func</a> <span class="c_punctuation">()</span>
72
- </td>
73
- </tr>
74
- <tr>
75
- <td class="function_type">
76
- <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>
77
- </td>
78
- <td class="function_name">
79
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-can-serialize" title="json_boxed_can_serialize ()">json_boxed_can_serialize</a> <span class="c_punctuation">()</span>
80
- </td>
81
- </tr>
82
- <tr>
83
- <td class="function_type">
84
- <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>
85
- </td>
86
- <td class="function_name">
87
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-can-deserialize" title="json_boxed_can_deserialize ()">json_boxed_can_deserialize</a> <span class="c_punctuation">()</span>
88
- </td>
89
- </tr>
90
- <tr>
91
- <td class="function_type">
92
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
93
- </td>
94
- <td class="function_name">
95
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-serialize" title="json_boxed_serialize ()">json_boxed_serialize</a> <span class="c_punctuation">()</span>
96
- </td>
97
- </tr>
98
- <tr>
99
- <td class="function_type">
100
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
101
- </td>
102
- <td class="function_name">
103
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-deserialize" title="json_boxed_deserialize ()">json_boxed_deserialize</a> <span class="c_punctuation">()</span>
104
- </td>
105
- </tr>
106
- </tbody>
107
- </table></div>
108
- </div>
109
- <div class="refsect1">
110
- <a name="json-glib-Boxed-Types-Serialization.includes"></a><h2>Includes</h2>
111
- <pre class="synopsis">#include &lt;json-glib/json-glib.h&gt;
112
- </pre>
113
- </div>
114
- <div class="refsect1">
115
- <a name="json-glib-Boxed-Types-Serialization.description"></a><h2>Description</h2>
116
- <p>GLib's <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> type is a generic wrapper for arbitrary C structures.</p>
117
- <p>JSON-GLib allows serialization and deserialization of a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> type
118
- by registering functions mapping a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> to a specific
119
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</p>
120
- <p>When registering a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> type you should also register the
121
- corresponding transformation functions, e.g.:</p>
122
- <div class="informalexample">
123
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
124
- <tbody>
125
- <tr>
126
- <td class="listing_lines" align="right"><pre>1
127
- 2
128
- 3
129
- 4
130
- 5
131
- 6
132
- 7
133
- 8
134
- 9
135
- 10
136
- 11
137
- 12
138
- 13
139
- 14
140
- 15
141
- 16
142
- 17
143
- 18
144
- 19
145
- 20</pre></td>
146
- <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType">GType</a></span>
147
- <span class="function">my_struct_get_type</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
148
- <span class="cbracket">{</span>
149
- <span class="normal"> </span><span class="keyword">static</span><span class="normal"> </span><span class="usertype">GType</span><span class="normal"> boxed_type </span><span class="symbol">=</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
150
-
151
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">boxed_type </span><span class="symbol">==</span><span class="normal"> </span><span class="number">0</span><span class="symbol">)</span>
152
- <span class="normal"> </span><span class="cbracket">{</span>
153
- <span class="normal"> boxed_type </span><span class="symbol">=</span>
154
- <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html#g-boxed-type-register-static">g_boxed_type_register_static</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html#g-intern-static-string">g_intern_static_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"MyStruct"</span><span class="symbol">),</span>
155
- <span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html#GBoxedCopyFunc">GBoxedCopyFunc</a></span><span class="symbol">)</span><span class="normal"> my_struct_copy</span><span class="symbol">,</span>
156
- <span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html#GBoxedFreeFunc">GBoxedFreeFunc</a></span><span class="symbol">)</span><span class="normal"> my_struct_free</span><span class="symbol">);</span>
157
-
158
- <span class="normal"> </span><span class="function"><a href="json-glib-Boxed-Types-Serialization.html#json-boxed-register-serialize-func">json_boxed_register_serialize_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">boxed_type</span><span class="symbol">,</span><span class="normal"> <a href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS">JSON_NODE_OBJECT</a></span><span class="symbol">,</span>
159
- <span class="normal"> my_struct_serialize</span><span class="symbol">);</span>
160
- <span class="normal"> </span><span class="function"><a href="json-glib-Boxed-Types-Serialization.html#json-boxed-register-deserialize-func">json_boxed_register_deserialize_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">boxed_type</span><span class="symbol">,</span><span class="normal"> <a href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS">JSON_NODE_OBJECT</a></span><span class="symbol">,</span>
161
- <span class="normal"> my_struct_deserialize</span><span class="symbol">);</span>
162
- <span class="normal"> </span><span class="cbracket">}</span>
163
-
164
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> boxed_type</span><span class="symbol">;</span>
165
- <span class="cbracket">}</span></pre></td>
166
- </tr>
167
- </tbody>
168
- </table>
169
- </div>
170
-
171
- <p></p>
172
- <p>The serialization function will be invoked by <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-serialize" title="json_boxed_serialize ()"><code class="function">json_boxed_serialize()</code></a>:
173
- it will be passed a pointer to the C structure and it must return a
174
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. The deserialization function will be invoked by
175
- <a class="link" href="json-glib-Boxed-Types-Serialization.html#json-boxed-deserialize" title="json_boxed_deserialize ()"><code class="function">json_boxed_deserialize()</code></a>: it will be passed a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> for the
176
- declared type and it must return a newly allocated C structure.</p>
177
- <p>It is possible to check whether a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> type can be deserialized
178
- from a specific <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a>, and whether a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> can be serialized
179
- and to which specific <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a>.</p>
180
- </div>
181
- <div class="refsect1">
182
- <a name="json-glib-Boxed-Types-Serialization.functions_details"></a><h2>Functions</h2>
183
- <div class="refsect2">
184
- <a name="JsonBoxedSerializeFunc"></a><h3>JsonBoxedSerializeFunc ()</h3>
185
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
186
- <span class="c_punctuation">(</span>*JsonBoxedSerializeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> boxed</code></em>);</pre>
187
- <p>Serializes the passed <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> and stores it inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
188
- <div class="refsect3">
189
- <a name="JsonBoxedSerializeFunc.parameters"></a><h4>Parameters</h4>
190
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
191
- <colgroup>
192
- <col width="150px" class="parameters_name">
193
- <col class="parameters_description">
194
- <col width="200px" class="parameters_annotations">
195
- </colgroup>
196
- <tbody><tr>
197
- <td class="parameter_name"><p>boxed</p></td>
198
- <td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a></p></td>
199
- <td class="parameter_annotations"> </td>
200
- </tr></tbody>
201
- </table></div>
202
- </div>
203
- <div class="refsect3">
204
- <a name="JsonBoxedSerializeFunc.returns"></a><h4>Returns</h4>
205
- <p> the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
206
- </div>
207
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
208
- </div>
209
- <hr>
210
- <div class="refsect2">
211
- <a name="JsonBoxedDeserializeFunc"></a><h3>JsonBoxedDeserializeFunc ()</h3>
212
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
213
- <span class="c_punctuation">(</span>*JsonBoxedDeserializeFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
214
- <p>Deserializes the contents of the passed <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> into a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a></p>
215
- <div class="refsect3">
216
- <a name="JsonBoxedDeserializeFunc.parameters"></a><h4>Parameters</h4>
217
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
218
- <colgroup>
219
- <col width="150px" class="parameters_name">
220
- <col class="parameters_description">
221
- <col width="200px" class="parameters_annotations">
222
- </colgroup>
223
- <tbody><tr>
224
- <td class="parameter_name"><p>node</p></td>
225
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
226
- <td class="parameter_annotations"> </td>
227
- </tr></tbody>
228
- </table></div>
229
- </div>
230
- <div class="refsect3">
231
- <a name="JsonBoxedDeserializeFunc.returns"></a><h4>Returns</h4>
232
- <p> the newly created boxed type</p>
233
- </div>
234
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
235
- </div>
236
- <hr>
237
- <div class="refsect2">
238
- <a name="json-boxed-register-serialize-func"></a><h3>json_boxed_register_serialize_func ()</h3>
239
- <pre class="programlisting"><span class="returnvalue">void</span>
240
- json_boxed_register_serialize_func (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
241
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> node_type</code></em>,
242
- <em class="parameter"><code><a class="link" href="json-glib-Boxed-Types-Serialization.html#JsonBoxedSerializeFunc" title="JsonBoxedSerializeFunc ()"><span class="type">JsonBoxedSerializeFunc</span></a> serialize_func</code></em>);</pre>
243
- <p>Registers a serialization function for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of type <em class="parameter"><code>gboxed_type</code></em>
244
-
245
- to a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <em class="parameter"><code>node_type</code></em>
246
- </p>
247
- <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
248
- <div class="refsect3">
249
- <a name="json-boxed-register-serialize-func.parameters"></a><h4>Parameters</h4>
250
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
251
- <colgroup>
252
- <col width="150px" class="parameters_name">
253
- <col class="parameters_description">
254
- <col width="200px" class="parameters_annotations">
255
- </colgroup>
256
- <tbody>
257
- <tr>
258
- <td class="parameter_name"><p>gboxed_type</p></td>
259
- <td class="parameter_description"><p>a boxed type</p></td>
260
- <td class="parameter_annotations"> </td>
261
- </tr>
262
- <tr>
263
- <td class="parameter_name"><p>node_type</p></td>
264
- <td class="parameter_description"><p>a node type</p></td>
265
- <td class="parameter_annotations"> </td>
266
- </tr>
267
- <tr>
268
- <td class="parameter_name"><p>serialize_func</p></td>
269
- <td class="parameter_description"><p>serialization function for <em class="parameter"><code>boxed_type</code></em>
270
- into
271
- a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <em class="parameter"><code>node_type</code></em>
272
- </p></td>
273
- <td class="parameter_annotations"> </td>
274
- </tr>
275
- </tbody>
276
- </table></div>
277
- </div>
278
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
279
- </div>
280
- <hr>
281
- <div class="refsect2">
282
- <a name="json-boxed-register-deserialize-func"></a><h3>json_boxed_register_deserialize_func ()</h3>
283
- <pre class="programlisting"><span class="returnvalue">void</span>
284
- json_boxed_register_deserialize_func (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
285
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> node_type</code></em>,
286
- <em class="parameter"><code><a class="link" href="json-glib-Boxed-Types-Serialization.html#JsonBoxedDeserializeFunc" title="JsonBoxedDeserializeFunc ()"><span class="type">JsonBoxedDeserializeFunc</span></a> deserialize_func</code></em>);</pre>
287
- <p>Registers a deserialization function for a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of type <em class="parameter"><code>gboxed_type</code></em>
288
-
289
- from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <em class="parameter"><code>node_type</code></em>
290
- </p>
291
- <p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
292
- <div class="refsect3">
293
- <a name="json-boxed-register-deserialize-func.parameters"></a><h4>Parameters</h4>
294
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
295
- <colgroup>
296
- <col width="150px" class="parameters_name">
297
- <col class="parameters_description">
298
- <col width="200px" class="parameters_annotations">
299
- </colgroup>
300
- <tbody>
301
- <tr>
302
- <td class="parameter_name"><p>gboxed_type</p></td>
303
- <td class="parameter_description"><p>a boxed type</p></td>
304
- <td class="parameter_annotations"> </td>
305
- </tr>
306
- <tr>
307
- <td class="parameter_name"><p>node_type</p></td>
308
- <td class="parameter_description"><p>a node type</p></td>
309
- <td class="parameter_annotations"> </td>
310
- </tr>
311
- <tr>
312
- <td class="parameter_name"><p>deserialize_func</p></td>
313
- <td class="parameter_description"><p>deserialization function for <em class="parameter"><code>boxed_type</code></em>
314
- from
315
- a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <em class="parameter"><code>node_type</code></em>
316
- </p></td>
317
- <td class="parameter_annotations"> </td>
318
- </tr>
319
- </tbody>
320
- </table></div>
321
- </div>
322
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
323
- </div>
324
- <hr>
325
- <div class="refsect2">
326
- <a name="json-boxed-can-serialize"></a><h3>json_boxed_can_serialize ()</h3>
327
- <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>
328
- json_boxed_can_serialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
329
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> *node_type</code></em>);</pre>
330
- <p>Checks whether it is possible to serialize a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of
331
- type <em class="parameter"><code>gboxed_type</code></em>
332
- into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. The type of the
333
- <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> is placed inside <em class="parameter"><code>node_type</code></em>
334
- if the function
335
- returns <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> and it's undefined otherwise.</p>
336
- <div class="refsect3">
337
- <a name="json-boxed-can-serialize.parameters"></a><h4>Parameters</h4>
338
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
339
- <colgroup>
340
- <col width="150px" class="parameters_name">
341
- <col class="parameters_description">
342
- <col width="200px" class="parameters_annotations">
343
- </colgroup>
344
- <tbody>
345
- <tr>
346
- <td class="parameter_name"><p>gboxed_type</p></td>
347
- <td class="parameter_description"><p>a boxed type</p></td>
348
- <td class="parameter_annotations"> </td>
349
- </tr>
350
- <tr>
351
- <td class="parameter_name"><p>node_type</p></td>
352
- <td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> type to which the boxed type can be
353
- serialized into. </p></td>
354
- <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>
355
- </tr>
356
- </tbody>
357
- </table></div>
358
- </div>
359
- <div class="refsect3">
360
- <a name="json-boxed-can-serialize.returns"></a><h4>Returns</h4>
361
- <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 type can be serialized,
362
- 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>
363
- </div>
364
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
365
- </div>
366
- <hr>
367
- <div class="refsect2">
368
- <a name="json-boxed-can-deserialize"></a><h3>json_boxed_can_deserialize ()</h3>
369
- <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>
370
- json_boxed_can_deserialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
371
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> node_type</code></em>);</pre>
372
- <p>Checks whether it is possible to deserialize a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of
373
- type <em class="parameter"><code>gboxed_type</code></em>
374
- from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <em class="parameter"><code>node_type</code></em>
375
- </p>
376
- <div class="refsect3">
377
- <a name="json-boxed-can-deserialize.parameters"></a><h4>Parameters</h4>
378
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
379
- <colgroup>
380
- <col width="150px" class="parameters_name">
381
- <col class="parameters_description">
382
- <col width="200px" class="parameters_annotations">
383
- </colgroup>
384
- <tbody>
385
- <tr>
386
- <td class="parameter_name"><p>gboxed_type</p></td>
387
- <td class="parameter_description"><p>a boxed type</p></td>
388
- <td class="parameter_annotations"> </td>
389
- </tr>
390
- <tr>
391
- <td class="parameter_name"><p>node_type</p></td>
392
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> type</p></td>
393
- <td class="parameter_annotations"> </td>
394
- </tr>
395
- </tbody>
396
- </table></div>
397
- </div>
398
- <div class="refsect3">
399
- <a name="json-boxed-can-deserialize.returns"></a><h4>Returns</h4>
400
- <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 type can be deserialized, <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>
401
- </div>
402
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
403
- </div>
404
- <hr>
405
- <div class="refsect2">
406
- <a name="json-boxed-serialize"></a><h3>json_boxed_serialize ()</h3>
407
- <pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
408
- json_boxed_serialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
409
- <em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="type">gconstpointer</span></a> boxed</code></em>);</pre>
410
- <p>Serializes <em class="parameter"><code>boxed</code></em>
411
- , a pointer to a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of type <em class="parameter"><code>gboxed_type</code></em>
412
- ,
413
- into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
414
- <div class="refsect3">
415
- <a name="json-boxed-serialize.parameters"></a><h4>Parameters</h4>
416
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
417
- <colgroup>
418
- <col width="150px" class="parameters_name">
419
- <col class="parameters_description">
420
- <col width="200px" class="parameters_annotations">
421
- </colgroup>
422
- <tbody>
423
- <tr>
424
- <td class="parameter_name"><p>gboxed_type</p></td>
425
- <td class="parameter_description"><p>a boxed type</p></td>
426
- <td class="parameter_annotations"> </td>
427
- </tr>
428
- <tr>
429
- <td class="parameter_name"><p>boxed</p></td>
430
- <td class="parameter_description"><p>a pointer to a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of type <em class="parameter"><code>gboxed_type</code></em>
431
- </p></td>
432
- <td class="parameter_annotations"> </td>
433
- </tr>
434
- </tbody>
435
- </table></div>
436
- </div>
437
- <div class="refsect3">
438
- <a name="json-boxed-serialize.returns"></a><h4>Returns</h4>
439
- <p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> with the serialization of the
440
- boxed type, or <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if serialization either failed or was not possible. </p>
441
- <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
442
- </div>
443
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
444
- </div>
445
- <hr>
446
- <div class="refsect2">
447
- <a name="json-boxed-deserialize"></a><h3>json_boxed_deserialize ()</h3>
448
- <pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
449
- json_boxed_deserialize (<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> gboxed_type</code></em>,
450
- <em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
451
- <p>Deserializes <em class="parameter"><code>node</code></em>
452
- into a <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> of <em class="parameter"><code>gboxed_type</code></em>
453
- </p>
454
- <div class="refsect3">
455
- <a name="json-boxed-deserialize.parameters"></a><h4>Parameters</h4>
456
- <div class="informaltable"><table class="informaltable" width="100%" border="0">
457
- <colgroup>
458
- <col width="150px" class="parameters_name">
459
- <col class="parameters_description">
460
- <col width="200px" class="parameters_annotations">
461
- </colgroup>
462
- <tbody>
463
- <tr>
464
- <td class="parameter_name"><p>gboxed_type</p></td>
465
- <td class="parameter_description"><p>a boxed type</p></td>
466
- <td class="parameter_annotations"> </td>
467
- </tr>
468
- <tr>
469
- <td class="parameter_name"><p>node</p></td>
470
- <td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
471
- <td class="parameter_annotations"> </td>
472
- </tr>
473
- </tbody>
474
- </table></div>
475
- </div>
476
- <div class="refsect3">
477
- <a name="json-boxed-deserialize.returns"></a><h4>Returns</h4>
478
- <p> the newly allocated <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a>. Use
479
- <a href="/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html#g-boxed-free"><code class="function">g_boxed_free()</code></a> to release the resources allocated by this
480
- function. </p>
481
- <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
482
- </div>
483
- <p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
484
- </div>
485
- </div>
486
- <div class="refsect1">
487
- <a name="json-glib-Boxed-Types-Serialization.other_details"></a><h2>Types and Values</h2>
488
- </div>
489
- </div>
490
- <div class="footer">
491
- <hr>Generated by GTK-Doc V1.25</div>
492
- </body>
493
- </html>