clutter 3.2.1-x64-mingw32 → 3.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +1 -1
- data/dependency-check/Rakefile +1 -0
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +1 -61
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +212 -182
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +1 -3
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +13 -41
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +5 -10
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +4 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +2 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +16 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +4 -4
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +2 -2
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +2 -2
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +2 -2
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +2 -2
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-gdk-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +5 -6
- data/vendor/local/libexec/installed-tests/json-glib-1.0/array.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/boxed.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/builder.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/generator.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/gvariant.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/invalid.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/node.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/object.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/parser.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/path.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/reader.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-complex.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-full.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/serialize-simple.exe +0 -0
- data/vendor/local/libexec/installed-tests/json-glib-1.0/stream-load.json +1 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +108 -60
- data/vendor/local/share/installed-tests/json-glib-1.0/array.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/boxed.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/builder.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/generator.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/gvariant.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/invalid.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/node.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/object.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/parser.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/path.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/reader.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/serialize-complex.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/serialize-full.test +3 -0
- data/vendor/local/share/installed-tests/json-glib-1.0/serialize-simple.test +3 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +43 -66
- data/vendor/local/lib/libjson-glib-1.0.la +0 -41
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +0 -731
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +0 -657
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +0 -1191
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +0 -515
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +0 -1190
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +0 -80
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +0 -40
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +0 -40
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +0 -37
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -32
- data/vendor/local/share/gtk-doc/html/json-glib/ch06.html +0 -43
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +0 -158
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +0 -1074
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +0 -48
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +0 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +0 -48
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +0 -180
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +0 -115
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +0 -155
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +0 -139
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +0 -66
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +0 -38
- data/vendor/local/share/gtk-doc/html/json-glib/ix11.html +0 -155
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +0 -49
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +0 -60
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +0 -83
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +0 -493
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +0 -387
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +0 -1356
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +0 -322
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +0 -2240
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +0 -1688
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +0 -649
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Utility-API.html +0 -158
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +0 -217
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +0 -343
- data/vendor/local/share/gtk-doc/html/json-glib/json-overview.html +0 -41
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +0 -66
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +0 -44
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +0 -71
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +0 -57
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +0 -479
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +0 -37
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +0 -60
- data/vendor/local/share/man/man1/json-glib-validate.1 +0 -56
@@ -1,649 +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>Serializable Interface: 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-GObject-Serialization.html" title="GObject Serialization">
|
10
|
-
<link rel="next" href="json-glib-Boxed-Types-Serialization.html" title="Boxed Types 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">
|
17
|
-
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
-
<a href="#json-glib-Serializable-Interface.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
-
<a href="#json-glib-Serializable-Interface.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
-
</td>
|
21
|
-
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
-
<td><a accesskey="u" href="json-advanced.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
-
<td><a accesskey="p" href="json-glib-GObject-Serialization.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
-
<td><a accesskey="n" href="json-glib-Boxed-Types-Serialization.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
-
</tr></table>
|
26
|
-
<div class="refentry">
|
27
|
-
<a name="json-glib-Serializable-Interface"></a><div class="titlepage"></div>
|
28
|
-
<div class="refnamediv"><table width="100%"><tr>
|
29
|
-
<td valign="top">
|
30
|
-
<h2><span class="refentrytitle"><a name="json-glib-Serializable-Interface.top_of_page"></a>Serializable Interface</span></h2>
|
31
|
-
<p>Serializable Interface — Interface for serialize and deserialize special GObjects</p>
|
32
|
-
</td>
|
33
|
-
<td class="gallery_image" valign="top" align="right"></td>
|
34
|
-
</tr></table></div>
|
35
|
-
<div class="refsect1">
|
36
|
-
<a name="json-glib-Serializable-Interface.functions"></a><h2>Functions</h2>
|
37
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
38
|
-
<colgroup>
|
39
|
-
<col width="150px" class="functions_return">
|
40
|
-
<col class="functions_name">
|
41
|
-
</colgroup>
|
42
|
-
<tbody>
|
43
|
-
<tr>
|
44
|
-
<td class="function_type">
|
45
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
46
|
-
</td>
|
47
|
-
<td class="function_name">
|
48
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-serialize-property" title="json_serializable_serialize_property ()">json_serializable_serialize_property</a> <span class="c_punctuation">()</span>
|
49
|
-
</td>
|
50
|
-
</tr>
|
51
|
-
<tr>
|
52
|
-
<td class="function_type">
|
53
|
-
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
54
|
-
</td>
|
55
|
-
<td class="function_name">
|
56
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-deserialize-property" title="json_serializable_deserialize_property ()">json_serializable_deserialize_property</a> <span class="c_punctuation">()</span>
|
57
|
-
</td>
|
58
|
-
</tr>
|
59
|
-
<tr>
|
60
|
-
<td class="function_type">
|
61
|
-
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
62
|
-
</td>
|
63
|
-
<td class="function_name">
|
64
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-find-property" title="json_serializable_find_property ()">json_serializable_find_property</a> <span class="c_punctuation">()</span>
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
<tr>
|
68
|
-
<td class="function_type">
|
69
|
-
<span class="returnvalue">void</span>
|
70
|
-
</td>
|
71
|
-
<td class="function_name">
|
72
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-get-property" title="json_serializable_get_property ()">json_serializable_get_property</a> <span class="c_punctuation">()</span>
|
73
|
-
</td>
|
74
|
-
</tr>
|
75
|
-
<tr>
|
76
|
-
<td class="function_type">
|
77
|
-
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
78
|
-
</td>
|
79
|
-
<td class="function_name">
|
80
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-list-properties" title="json_serializable_list_properties ()">json_serializable_list_properties</a> <span class="c_punctuation">()</span>
|
81
|
-
</td>
|
82
|
-
</tr>
|
83
|
-
<tr>
|
84
|
-
<td class="function_type">
|
85
|
-
<span class="returnvalue">void</span>
|
86
|
-
</td>
|
87
|
-
<td class="function_name">
|
88
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-set-property" title="json_serializable_set_property ()">json_serializable_set_property</a> <span class="c_punctuation">()</span>
|
89
|
-
</td>
|
90
|
-
</tr>
|
91
|
-
<tr>
|
92
|
-
<td class="function_type">
|
93
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
94
|
-
</td>
|
95
|
-
<td class="function_name">
|
96
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-default-serialize-property" title="json_serializable_default_serialize_property ()">json_serializable_default_serialize_property</a> <span class="c_punctuation">()</span>
|
97
|
-
</td>
|
98
|
-
</tr>
|
99
|
-
<tr>
|
100
|
-
<td class="function_type">
|
101
|
-
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
102
|
-
</td>
|
103
|
-
<td class="function_name">
|
104
|
-
<a class="link" href="json-glib-Serializable-Interface.html#json-serializable-default-deserialize-property" title="json_serializable_default_deserialize_property ()">json_serializable_default_deserialize_property</a> <span class="c_punctuation">()</span>
|
105
|
-
</td>
|
106
|
-
</tr>
|
107
|
-
</tbody>
|
108
|
-
</table></div>
|
109
|
-
</div>
|
110
|
-
<a name="JsonSerializable"></a><div class="refsect1">
|
111
|
-
<a name="json-glib-Serializable-Interface.other"></a><h2>Types and Values</h2>
|
112
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
113
|
-
<colgroup>
|
114
|
-
<col width="150px" class="name">
|
115
|
-
<col class="description">
|
116
|
-
</colgroup>
|
117
|
-
<tbody><tr>
|
118
|
-
<td class="datatype_keyword">struct</td>
|
119
|
-
<td class="function_name"><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface" title="struct JsonSerializableIface">JsonSerializableIface</a></td>
|
120
|
-
</tr></tbody>
|
121
|
-
</table></div>
|
122
|
-
</div>
|
123
|
-
<div class="refsect1">
|
124
|
-
<a name="json-glib-Serializable-Interface.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
125
|
-
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
|
126
|
-
<span class="lineart">╰──</span> JsonSerializable
|
127
|
-
</pre>
|
128
|
-
</div>
|
129
|
-
<div class="refsect1">
|
130
|
-
<a name="json-glib-Serializable-Interface.includes"></a><h2>Includes</h2>
|
131
|
-
<pre class="synopsis">#include <json-glib/json-glib.h>
|
132
|
-
</pre>
|
133
|
-
</div>
|
134
|
-
<div class="refsect1">
|
135
|
-
<a name="json-glib-Serializable-Interface.description"></a><h2>Description</h2>
|
136
|
-
<p><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> is an interface for <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> classes that
|
137
|
-
allows controlling how the class is going to be serialized
|
138
|
-
or deserialized by <a class="link" href="json-glib-GObject-Serialization.html#json-construct-gobject" title="json_construct_gobject ()"><code class="function">json_construct_gobject()</code></a> and
|
139
|
-
<a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()"><code class="function">json_serialize_gobject()</code></a> respectively.</p>
|
140
|
-
</div>
|
141
|
-
<div class="refsect1">
|
142
|
-
<a name="json-glib-Serializable-Interface.functions_details"></a><h2>Functions</h2>
|
143
|
-
<div class="refsect2">
|
144
|
-
<a name="json-serializable-serialize-property"></a><h3>json_serializable_serialize_property ()</h3>
|
145
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
146
|
-
json_serializable_serialize_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
147
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
148
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
149
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
150
|
-
<p>Asks a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> implementation to serialize a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>
|
151
|
-
property into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> object.</p>
|
152
|
-
<div class="refsect3">
|
153
|
-
<a name="json-serializable-serialize-property.parameters"></a><h4>Parameters</h4>
|
154
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
155
|
-
<colgroup>
|
156
|
-
<col width="150px" class="parameters_name">
|
157
|
-
<col class="parameters_description">
|
158
|
-
<col width="200px" class="parameters_annotations">
|
159
|
-
</colgroup>
|
160
|
-
<tbody>
|
161
|
-
<tr>
|
162
|
-
<td class="parameter_name"><p>serializable</p></td>
|
163
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> object</p></td>
|
164
|
-
<td class="parameter_annotations"> </td>
|
165
|
-
</tr>
|
166
|
-
<tr>
|
167
|
-
<td class="parameter_name"><p>property_name</p></td>
|
168
|
-
<td class="parameter_description"><p>the name of the property</p></td>
|
169
|
-
<td class="parameter_annotations"> </td>
|
170
|
-
</tr>
|
171
|
-
<tr>
|
172
|
-
<td class="parameter_name"><p>value</p></td>
|
173
|
-
<td class="parameter_description"><p>the value of the property</p></td>
|
174
|
-
<td class="parameter_annotations"> </td>
|
175
|
-
</tr>
|
176
|
-
<tr>
|
177
|
-
<td class="parameter_name"><p>pspec</p></td>
|
178
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
179
|
-
<td class="parameter_annotations"> </td>
|
180
|
-
</tr>
|
181
|
-
</tbody>
|
182
|
-
</table></div>
|
183
|
-
</div>
|
184
|
-
<div class="refsect3">
|
185
|
-
<a name="json-serializable-serialize-property.returns"></a><h4>Returns</h4>
|
186
|
-
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the serialized property</p>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
<hr>
|
190
|
-
<div class="refsect2">
|
191
|
-
<a name="json-serializable-deserialize-property"></a><h3>json_serializable_deserialize_property ()</h3>
|
192
|
-
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
193
|
-
json_serializable_deserialize_property
|
194
|
-
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
195
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
196
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
197
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
198
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *property_node</code></em>);</pre>
|
199
|
-
<p>Asks a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> implementation to deserialize the
|
200
|
-
property contained inside <em class="parameter"><code>property_node</code></em>
|
201
|
-
into <em class="parameter"><code>value</code></em>
|
202
|
-
.</p>
|
203
|
-
<div class="refsect3">
|
204
|
-
<a name="json-serializable-deserialize-property.parameters"></a><h4>Parameters</h4>
|
205
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
206
|
-
<colgroup>
|
207
|
-
<col width="150px" class="parameters_name">
|
208
|
-
<col class="parameters_description">
|
209
|
-
<col width="200px" class="parameters_annotations">
|
210
|
-
</colgroup>
|
211
|
-
<tbody>
|
212
|
-
<tr>
|
213
|
-
<td class="parameter_name"><p>serializable</p></td>
|
214
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
215
|
-
<td class="parameter_annotations"> </td>
|
216
|
-
</tr>
|
217
|
-
<tr>
|
218
|
-
<td class="parameter_name"><p>property_name</p></td>
|
219
|
-
<td class="parameter_description"><p>the name of the property</p></td>
|
220
|
-
<td class="parameter_annotations"> </td>
|
221
|
-
</tr>
|
222
|
-
<tr>
|
223
|
-
<td class="parameter_name"><p>value</p></td>
|
224
|
-
<td class="parameter_description"><p> a pointer to an uninitialized <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. </p></td>
|
225
|
-
<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>
|
226
|
-
</tr>
|
227
|
-
<tr>
|
228
|
-
<td class="parameter_name"><p>pspec</p></td>
|
229
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
230
|
-
<td class="parameter_annotations"> </td>
|
231
|
-
</tr>
|
232
|
-
<tr>
|
233
|
-
<td class="parameter_name"><p>property_node</p></td>
|
234
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the serialized property</p></td>
|
235
|
-
<td class="parameter_annotations"> </td>
|
236
|
-
</tr>
|
237
|
-
</tbody>
|
238
|
-
</table></div>
|
239
|
-
</div>
|
240
|
-
<div class="refsect3">
|
241
|
-
<a name="json-serializable-deserialize-property.returns"></a><h4>Returns</h4>
|
242
|
-
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the property was successfully deserialized.</p>
|
243
|
-
</div>
|
244
|
-
</div>
|
245
|
-
<hr>
|
246
|
-
<div class="refsect2">
|
247
|
-
<a name="json-serializable-find-property"></a><h3>json_serializable_find_property ()</h3>
|
248
|
-
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
249
|
-
json_serializable_find_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
250
|
-
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
|
251
|
-
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.find-property"><code class="function">JsonSerializableIface.find_property()</code></a> implementation on
|
252
|
-
the <em class="parameter"><code>serializable</code></em>
|
253
|
-
instance. *</p>
|
254
|
-
<div class="refsect3">
|
255
|
-
<a name="json-serializable-find-property.parameters"></a><h4>Parameters</h4>
|
256
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
257
|
-
<colgroup>
|
258
|
-
<col width="150px" class="parameters_name">
|
259
|
-
<col class="parameters_description">
|
260
|
-
<col width="200px" class="parameters_annotations">
|
261
|
-
</colgroup>
|
262
|
-
<tbody>
|
263
|
-
<tr>
|
264
|
-
<td class="parameter_name"><p>serializable</p></td>
|
265
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
266
|
-
<td class="parameter_annotations"> </td>
|
267
|
-
</tr>
|
268
|
-
<tr>
|
269
|
-
<td class="parameter_name"><p>name</p></td>
|
270
|
-
<td class="parameter_description"><p>the name of the property</p></td>
|
271
|
-
<td class="parameter_annotations"> </td>
|
272
|
-
</tr>
|
273
|
-
</tbody>
|
274
|
-
</table></div>
|
275
|
-
</div>
|
276
|
-
<div class="refsect3">
|
277
|
-
<a name="json-serializable-find-property.returns"></a><h4>Returns</h4>
|
278
|
-
<p> the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for the property
|
279
|
-
or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no property was found. </p>
|
280
|
-
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
281
|
-
</div>
|
282
|
-
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
283
|
-
</div>
|
284
|
-
<hr>
|
285
|
-
<div class="refsect2">
|
286
|
-
<a name="json-serializable-get-property"></a><h3>json_serializable_get_property ()</h3>
|
287
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
288
|
-
json_serializable_get_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
289
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
290
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
291
|
-
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.get-property"><code class="function">JsonSerializableIface.get_property()</code></a> implementation
|
292
|
-
on the <em class="parameter"><code>serializable</code></em>
|
293
|
-
instance.</p>
|
294
|
-
<div class="refsect3">
|
295
|
-
<a name="json-serializable-get-property.parameters"></a><h4>Parameters</h4>
|
296
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
297
|
-
<colgroup>
|
298
|
-
<col width="150px" class="parameters_name">
|
299
|
-
<col class="parameters_description">
|
300
|
-
<col width="200px" class="parameters_annotations">
|
301
|
-
</colgroup>
|
302
|
-
<tbody>
|
303
|
-
<tr>
|
304
|
-
<td class="parameter_name"><p>serializable</p></td>
|
305
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
306
|
-
<td class="parameter_annotations"> </td>
|
307
|
-
</tr>
|
308
|
-
<tr>
|
309
|
-
<td class="parameter_name"><p>pspec</p></td>
|
310
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
311
|
-
<td class="parameter_annotations"> </td>
|
312
|
-
</tr>
|
313
|
-
<tr>
|
314
|
-
<td class="parameter_name"><p>value</p></td>
|
315
|
-
<td class="parameter_description"><p> return location for the property value. </p></td>
|
316
|
-
<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>
|
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-serializable-list-properties"></a><h3>json_serializable_list_properties ()</h3>
|
326
|
-
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
327
|
-
json_serializable_list_properties (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
328
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_pspecs</code></em>);</pre>
|
329
|
-
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.list-properties"><code class="function">JsonSerializableIface.list_properties()</code></a> implementation on
|
330
|
-
the <em class="parameter"><code>serializable</code></em>
|
331
|
-
instance.</p>
|
332
|
-
<div class="refsect3">
|
333
|
-
<a name="json-serializable-list-properties.parameters"></a><h4>Parameters</h4>
|
334
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
335
|
-
<colgroup>
|
336
|
-
<col width="150px" class="parameters_name">
|
337
|
-
<col class="parameters_description">
|
338
|
-
<col width="200px" class="parameters_annotations">
|
339
|
-
</colgroup>
|
340
|
-
<tbody>
|
341
|
-
<tr>
|
342
|
-
<td class="parameter_name"><p>serializable</p></td>
|
343
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
344
|
-
<td class="parameter_annotations"> </td>
|
345
|
-
</tr>
|
346
|
-
<tr>
|
347
|
-
<td class="parameter_name"><p>n_pspecs</p></td>
|
348
|
-
<td class="parameter_description"><p> return location for the length of the array
|
349
|
-
of <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> returned by the function. </p></td>
|
350
|
-
<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>
|
351
|
-
</tr>
|
352
|
-
</tbody>
|
353
|
-
</table></div>
|
354
|
-
</div>
|
355
|
-
<div class="refsect3">
|
356
|
-
<a name="json-serializable-list-properties.returns"></a><h4>Returns</h4>
|
357
|
-
<p> an array
|
358
|
-
of <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>. Use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> to free the array when done. </p>
|
359
|
-
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
360
|
-
</div>
|
361
|
-
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
362
|
-
</div>
|
363
|
-
<hr>
|
364
|
-
<div class="refsect2">
|
365
|
-
<a name="json-serializable-set-property"></a><h3>json_serializable_set_property ()</h3>
|
366
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
367
|
-
json_serializable_set_property (<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
368
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
369
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
370
|
-
<p>Calls the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.set-property"><code class="function">JsonSerializableIface.set_property()</code></a> implementation
|
371
|
-
on the <em class="parameter"><code>serializable</code></em>
|
372
|
-
instance.</p>
|
373
|
-
<div class="refsect3">
|
374
|
-
<a name="json-serializable-set-property.parameters"></a><h4>Parameters</h4>
|
375
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
376
|
-
<colgroup>
|
377
|
-
<col width="150px" class="parameters_name">
|
378
|
-
<col class="parameters_description">
|
379
|
-
<col width="200px" class="parameters_annotations">
|
380
|
-
</colgroup>
|
381
|
-
<tbody>
|
382
|
-
<tr>
|
383
|
-
<td class="parameter_name"><p>serializable</p></td>
|
384
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
385
|
-
<td class="parameter_annotations"> </td>
|
386
|
-
</tr>
|
387
|
-
<tr>
|
388
|
-
<td class="parameter_name"><p>pspec</p></td>
|
389
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
390
|
-
<td class="parameter_annotations"> </td>
|
391
|
-
</tr>
|
392
|
-
<tr>
|
393
|
-
<td class="parameter_name"><p>value</p></td>
|
394
|
-
<td class="parameter_description"><p>the property value to set</p></td>
|
395
|
-
<td class="parameter_annotations"> </td>
|
396
|
-
</tr>
|
397
|
-
</tbody>
|
398
|
-
</table></div>
|
399
|
-
</div>
|
400
|
-
<p class="since">Since: <a class="link" href="ix08.html#api-index-0.14">0.14</a></p>
|
401
|
-
</div>
|
402
|
-
<hr>
|
403
|
-
<div class="refsect2">
|
404
|
-
<a name="json-serializable-default-serialize-property"></a><h3>json_serializable_default_serialize_property ()</h3>
|
405
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
406
|
-
json_serializable_default_serialize_property
|
407
|
-
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
408
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
409
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
410
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
411
|
-
<p>Calls the default implementation of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a>
|
412
|
-
<a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.serialize-property"><code class="function">JsonSerializableIface.serialize_property()</code></a> virtual function.</p>
|
413
|
-
<p>This function can be used inside a custom implementation
|
414
|
-
of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializableIface.serialize-property"><code class="function">JsonSerializableIface.serialize_property()</code></a> virtual
|
415
|
-
function in lieu of calling the default implementation
|
416
|
-
through <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek"><code class="function">g_type_default_interface_peek()</code></a>:</p>
|
417
|
-
<div class="informalexample">
|
418
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
419
|
-
<tbody>
|
420
|
-
<tr>
|
421
|
-
<td class="listing_lines" align="right"><pre>1
|
422
|
-
2
|
423
|
-
3
|
424
|
-
4
|
425
|
-
5
|
426
|
-
6
|
427
|
-
7</pre></td>
|
428
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonSerializable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iface</span><span class="symbol">;</span>
|
429
|
-
<span class="usertype">JsonNode</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">node</span><span class="symbol">;</span>
|
430
|
-
|
431
|
-
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek">g_type_default_interface_peek</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
432
|
-
<span class="normal">node </span><span class="symbol">=</span><span class="normal"> iface</span><span class="symbol">-></span><span class="function">serialize_property</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">serializable</span><span class="symbol">,</span><span class="normal"> property_name</span><span class="symbol">,</span>
|
433
|
-
<span class="normal"> value</span><span class="symbol">,</span>
|
434
|
-
<span class="normal"> pspec</span><span class="symbol">);</span></pre></td>
|
435
|
-
</tr>
|
436
|
-
</tbody>
|
437
|
-
</table>
|
438
|
-
</div>
|
439
|
-
|
440
|
-
<p></p>
|
441
|
-
<div class="refsect3">
|
442
|
-
<a name="json-serializable-default-serialize-property.parameters"></a><h4>Parameters</h4>
|
443
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
444
|
-
<colgroup>
|
445
|
-
<col width="150px" class="parameters_name">
|
446
|
-
<col class="parameters_description">
|
447
|
-
<col width="200px" class="parameters_annotations">
|
448
|
-
</colgroup>
|
449
|
-
<tbody>
|
450
|
-
<tr>
|
451
|
-
<td class="parameter_name"><p>serializable</p></td>
|
452
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> object</p></td>
|
453
|
-
<td class="parameter_annotations"> </td>
|
454
|
-
</tr>
|
455
|
-
<tr>
|
456
|
-
<td class="parameter_name"><p>property_name</p></td>
|
457
|
-
<td class="parameter_description"><p>the name of the property</p></td>
|
458
|
-
<td class="parameter_annotations"> </td>
|
459
|
-
</tr>
|
460
|
-
<tr>
|
461
|
-
<td class="parameter_name"><p>value</p></td>
|
462
|
-
<td class="parameter_description"><p>the value of the property</p></td>
|
463
|
-
<td class="parameter_annotations"> </td>
|
464
|
-
</tr>
|
465
|
-
<tr>
|
466
|
-
<td class="parameter_name"><p>pspec</p></td>
|
467
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
468
|
-
<td class="parameter_annotations"> </td>
|
469
|
-
</tr>
|
470
|
-
</tbody>
|
471
|
-
</table></div>
|
472
|
-
</div>
|
473
|
-
<div class="refsect3">
|
474
|
-
<a name="json-serializable-default-serialize-property.returns"></a><h4>Returns</h4>
|
475
|
-
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the serialized
|
476
|
-
property. </p>
|
477
|
-
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
478
|
-
</div>
|
479
|
-
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
|
480
|
-
</div>
|
481
|
-
<hr>
|
482
|
-
<div class="refsect2">
|
483
|
-
<a name="json-serializable-default-deserialize-property"></a><h3>json_serializable_default_deserialize_property ()</h3>
|
484
|
-
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
485
|
-
json_serializable_default_deserialize_property
|
486
|
-
(<em class="parameter"><code><a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a> *serializable</code></em>,
|
487
|
-
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
488
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> *value</code></em>,
|
489
|
-
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>,
|
490
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *property_node</code></em>);</pre>
|
491
|
-
<p>Calls the default implementation of the <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a>
|
492
|
-
<code class="function">deserialize_property()</code> virtual function</p>
|
493
|
-
<p>This function can be used inside a custom implementation
|
494
|
-
of the <code class="function">deserialize_property()</code> virtual function in lieu of:</p>
|
495
|
-
<div class="informalexample">
|
496
|
-
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
497
|
-
<tbody>
|
498
|
-
<tr>
|
499
|
-
<td class="listing_lines" align="right"><pre>1
|
500
|
-
2
|
501
|
-
3
|
502
|
-
4
|
503
|
-
5
|
504
|
-
6
|
505
|
-
7
|
506
|
-
8</pre></td>
|
507
|
-
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonSerializable</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iface</span><span class="symbol">;</span>
|
508
|
-
<span class="usertype">gboolean</span><span class="normal"> res</span><span class="symbol">;</span>
|
509
|
-
|
510
|
-
<span class="normal">iface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#g-type-default-interface-peek">g_type_default_interface_peek</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">JSON_TYPE_SERIALIZABLE</span><span class="symbol">);</span>
|
511
|
-
<span class="normal">res </span><span class="symbol">=</span><span class="normal"> iface</span><span class="symbol">-></span><span class="function">deserialize_property</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">serializable</span><span class="symbol">,</span><span class="normal"> property_name</span><span class="symbol">,</span>
|
512
|
-
<span class="normal"> value</span><span class="symbol">,</span>
|
513
|
-
<span class="normal"> pspec</span><span class="symbol">,</span>
|
514
|
-
<span class="normal"> property_node</span><span class="symbol">);</span></pre></td>
|
515
|
-
</tr>
|
516
|
-
</tbody>
|
517
|
-
</table>
|
518
|
-
</div>
|
519
|
-
|
520
|
-
<p></p>
|
521
|
-
<div class="refsect3">
|
522
|
-
<a name="json-serializable-default-deserialize-property.parameters"></a><h4>Parameters</h4>
|
523
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
524
|
-
<colgroup>
|
525
|
-
<col width="150px" class="parameters_name">
|
526
|
-
<col class="parameters_description">
|
527
|
-
<col width="200px" class="parameters_annotations">
|
528
|
-
</colgroup>
|
529
|
-
<tbody>
|
530
|
-
<tr>
|
531
|
-
<td class="parameter_name"><p>serializable</p></td>
|
532
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-Serializable-Interface.html#JsonSerializable"><span class="type">JsonSerializable</span></a></p></td>
|
533
|
-
<td class="parameter_annotations"> </td>
|
534
|
-
</tr>
|
535
|
-
<tr>
|
536
|
-
<td class="parameter_name"><p>property_name</p></td>
|
537
|
-
<td class="parameter_description"><p>the name of the property</p></td>
|
538
|
-
<td class="parameter_annotations"> </td>
|
539
|
-
</tr>
|
540
|
-
<tr>
|
541
|
-
<td class="parameter_name"><p>value</p></td>
|
542
|
-
<td class="parameter_description"><p>a pointer to an uninitialized <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a></p></td>
|
543
|
-
<td class="parameter_annotations"> </td>
|
544
|
-
</tr>
|
545
|
-
<tr>
|
546
|
-
<td class="parameter_name"><p>pspec</p></td>
|
547
|
-
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a></p></td>
|
548
|
-
<td class="parameter_annotations"> </td>
|
549
|
-
</tr>
|
550
|
-
<tr>
|
551
|
-
<td class="parameter_name"><p>property_node</p></td>
|
552
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> containing the serialized property</p></td>
|
553
|
-
<td class="parameter_annotations"> </td>
|
554
|
-
</tr>
|
555
|
-
</tbody>
|
556
|
-
</table></div>
|
557
|
-
</div>
|
558
|
-
<div class="refsect3">
|
559
|
-
<a name="json-serializable-default-deserialize-property.returns"></a><h4>Returns</h4>
|
560
|
-
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the property was successfully deserialized.</p>
|
561
|
-
</div>
|
562
|
-
<p class="since">Since: <a class="link" href="ix06.html#api-index-0.10">0.10</a></p>
|
563
|
-
</div>
|
564
|
-
</div>
|
565
|
-
<div class="refsect1">
|
566
|
-
<a name="json-glib-Serializable-Interface.other_details"></a><h2>Types and Values</h2>
|
567
|
-
<div class="refsect2">
|
568
|
-
<a name="JsonSerializableIface"></a><h3>struct JsonSerializableIface</h3>
|
569
|
-
<pre class="programlisting">struct JsonSerializableIface {
|
570
|
-
JsonNode *(* serialize_property) (JsonSerializable *serializable,
|
571
|
-
const gchar *property_name,
|
572
|
-
const GValue *value,
|
573
|
-
GParamSpec *pspec);
|
574
|
-
gboolean (* deserialize_property) (JsonSerializable *serializable,
|
575
|
-
const gchar *property_name,
|
576
|
-
GValue *value,
|
577
|
-
GParamSpec *pspec,
|
578
|
-
JsonNode *property_node);
|
579
|
-
|
580
|
-
GParamSpec * (* find_property) (JsonSerializable *serializable,
|
581
|
-
const char *name);
|
582
|
-
GParamSpec **(* list_properties) (JsonSerializable *serializable,
|
583
|
-
guint *n_pspecs);
|
584
|
-
void (* set_property) (JsonSerializable *serializable,
|
585
|
-
GParamSpec *pspec,
|
586
|
-
const GValue *value);
|
587
|
-
void (* get_property) (JsonSerializable *serializable,
|
588
|
-
GParamSpec *pspec,
|
589
|
-
GValue *value);
|
590
|
-
};
|
591
|
-
</pre>
|
592
|
-
<p>Interface that allows serializing and deserializing <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> instances
|
593
|
-
with properties storing complex data types. The <a class="link" href="json-glib-GObject-Serialization.html#json-serialize-gobject" title="json_serialize_gobject ()"><code class="function">json_serialize_gobject()</code></a>
|
594
|
-
function will check if the passed <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> implements this interface,
|
595
|
-
so it can also be used to override the default property serialization
|
596
|
-
sequence.</p>
|
597
|
-
<div class="refsect3">
|
598
|
-
<a name="JsonSerializableIface.members"></a><h4>Members</h4>
|
599
|
-
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
600
|
-
<colgroup>
|
601
|
-
<col width="300px" class="struct_members_name">
|
602
|
-
<col class="struct_members_description">
|
603
|
-
<col width="200px" class="struct_members_annotations">
|
604
|
-
</colgroup>
|
605
|
-
<tbody>
|
606
|
-
<tr>
|
607
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.serialize-property"></a>serialize_property</code></em> ()</p></td>
|
608
|
-
<td class="struct_member_description"><p>virtual function for serializing a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> property
|
609
|
-
into a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
610
|
-
<td class="struct_member_annotations"> </td>
|
611
|
-
</tr>
|
612
|
-
<tr>
|
613
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.deserialize-property"></a>deserialize_property</code></em> ()</p></td>
|
614
|
-
<td class="struct_member_description"><p>virtual function for deserializing a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>
|
615
|
-
into a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> property</p></td>
|
616
|
-
<td class="struct_member_annotations"> </td>
|
617
|
-
</tr>
|
618
|
-
<tr>
|
619
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.find-property"></a>find_property</code></em> ()</p></td>
|
620
|
-
<td class="struct_member_description"><p>virtual function for finding a property definition using
|
621
|
-
its name</p></td>
|
622
|
-
<td class="struct_member_annotations"> </td>
|
623
|
-
</tr>
|
624
|
-
<tr>
|
625
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.list-properties"></a>list_properties</code></em> ()</p></td>
|
626
|
-
<td class="struct_member_description"><p>virtual function for listing the installed property
|
627
|
-
definitions</p></td>
|
628
|
-
<td class="struct_member_annotations"> </td>
|
629
|
-
</tr>
|
630
|
-
<tr>
|
631
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.set-property"></a>set_property</code></em> ()</p></td>
|
632
|
-
<td class="struct_member_description"><p>virtual function for setting a property</p></td>
|
633
|
-
<td class="struct_member_annotations"> </td>
|
634
|
-
</tr>
|
635
|
-
<tr>
|
636
|
-
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonSerializableIface.get-property"></a>get_property</code></em> ()</p></td>
|
637
|
-
<td class="struct_member_description"><p>virtual function for getting a property</p></td>
|
638
|
-
<td class="struct_member_annotations"> </td>
|
639
|
-
</tr>
|
640
|
-
</tbody>
|
641
|
-
</table></div>
|
642
|
-
</div>
|
643
|
-
</div>
|
644
|
-
</div>
|
645
|
-
</div>
|
646
|
-
<div class="footer">
|
647
|
-
<hr>Generated by GTK-Doc V1.25</div>
|
648
|
-
</body>
|
649
|
-
</html>
|