D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / json-glib-1.0 / json-glib-1.0.gi
blob246fa53a0c1fe98d3d657339ac782c60f332c990
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Json">
4 <function name="boxed_can_deserialize" symbol="json_boxed_can_deserialize">
5 <return-type type="gboolean"/>
6 <parameters>
7 <parameter name="gboxed_type" type="GType"/>
8 <parameter name="node_type" type="JsonNodeType"/>
9 </parameters>
10 </function>
11 <function name="boxed_can_serialize" symbol="json_boxed_can_serialize">
12 <return-type type="gboolean"/>
13 <parameters>
14 <parameter name="gboxed_type" type="GType"/>
15 <parameter name="node_type" type="JsonNodeType*"/>
16 </parameters>
17 </function>
18 <function name="boxed_deserialize" symbol="json_boxed_deserialize">
19 <return-type type="gpointer"/>
20 <parameters>
21 <parameter name="gboxed_type" type="GType"/>
22 <parameter name="node" type="JsonNode*"/>
23 </parameters>
24 </function>
25 <function name="boxed_register_deserialize_func" symbol="json_boxed_register_deserialize_func">
26 <return-type type="void"/>
27 <parameters>
28 <parameter name="gboxed_type" type="GType"/>
29 <parameter name="node_type" type="JsonNodeType"/>
30 <parameter name="deserialize_func" type="JsonBoxedDeserializeFunc"/>
31 </parameters>
32 </function>
33 <function name="boxed_register_serialize_func" symbol="json_boxed_register_serialize_func">
34 <return-type type="void"/>
35 <parameters>
36 <parameter name="gboxed_type" type="GType"/>
37 <parameter name="node_type" type="JsonNodeType"/>
38 <parameter name="serialize_func" type="JsonBoxedSerializeFunc"/>
39 </parameters>
40 </function>
41 <function name="boxed_serialize" symbol="json_boxed_serialize">
42 <return-type type="JsonNode*"/>
43 <parameters>
44 <parameter name="gboxed_type" type="GType"/>
45 <parameter name="boxed" type="gconstpointer"/>
46 </parameters>
47 </function>
48 <function name="construct_gobject" symbol="json_construct_gobject">
49 <return-type type="GObject*"/>
50 <parameters>
51 <parameter name="gtype" type="GType"/>
52 <parameter name="data" type="gchar*"/>
53 <parameter name="length" type="gsize"/>
54 <parameter name="error" type="GError**"/>
55 </parameters>
56 </function>
57 <function name="gobject_deserialize" symbol="json_gobject_deserialize">
58 <return-type type="GObject*"/>
59 <parameters>
60 <parameter name="gtype" type="GType"/>
61 <parameter name="node" type="JsonNode*"/>
62 </parameters>
63 </function>
64 <function name="gobject_from_data" symbol="json_gobject_from_data">
65 <return-type type="GObject*"/>
66 <parameters>
67 <parameter name="gtype" type="GType"/>
68 <parameter name="data" type="gchar*"/>
69 <parameter name="length" type="gssize"/>
70 <parameter name="error" type="GError**"/>
71 </parameters>
72 </function>
73 <function name="gobject_serialize" symbol="json_gobject_serialize">
74 <return-type type="JsonNode*"/>
75 <parameters>
76 <parameter name="gobject" type="GObject*"/>
77 </parameters>
78 </function>
79 <function name="gobject_to_data" symbol="json_gobject_to_data">
80 <return-type type="gchar*"/>
81 <parameters>
82 <parameter name="gobject" type="GObject*"/>
83 <parameter name="length" type="gsize*"/>
84 </parameters>
85 </function>
86 <function name="serialize_gobject" symbol="json_serialize_gobject">
87 <return-type type="gchar*"/>
88 <parameters>
89 <parameter name="gobject" type="GObject*"/>
90 <parameter name="length" type="gsize*"/>
91 </parameters>
92 </function>
93 <callback name="JsonArrayForeach">
94 <return-type type="void"/>
95 <parameters>
96 <parameter name="array" type="JsonArray*"/>
97 <parameter name="index_" type="guint"/>
98 <parameter name="element_node" type="JsonNode*"/>
99 <parameter name="user_data" type="gpointer"/>
100 </parameters>
101 </callback>
102 <callback name="JsonBoxedDeserializeFunc">
103 <return-type type="gpointer"/>
104 <parameters>
105 <parameter name="node" type="JsonNode*"/>
106 </parameters>
107 </callback>
108 <callback name="JsonBoxedSerializeFunc">
109 <return-type type="JsonNode*"/>
110 <parameters>
111 <parameter name="boxed" type="gconstpointer"/>
112 </parameters>
113 </callback>
114 <callback name="JsonObjectForeach">
115 <return-type type="void"/>
116 <parameters>
117 <parameter name="object" type="JsonObject*"/>
118 <parameter name="member_name" type="gchar*"/>
119 <parameter name="member_node" type="JsonNode*"/>
120 <parameter name="user_data" type="gpointer"/>
121 </parameters>
122 </callback>
123 <boxed name="JsonArray" type-name="JsonArray" get-type="json_array_get_type">
124 <method name="add_array_element" symbol="json_array_add_array_element">
125 <return-type type="void"/>
126 <parameters>
127 <parameter name="array" type="JsonArray*"/>
128 <parameter name="value" type="JsonArray*"/>
129 </parameters>
130 </method>
131 <method name="add_boolean_element" symbol="json_array_add_boolean_element">
132 <return-type type="void"/>
133 <parameters>
134 <parameter name="array" type="JsonArray*"/>
135 <parameter name="value" type="gboolean"/>
136 </parameters>
137 </method>
138 <method name="add_double_element" symbol="json_array_add_double_element">
139 <return-type type="void"/>
140 <parameters>
141 <parameter name="array" type="JsonArray*"/>
142 <parameter name="value" type="gdouble"/>
143 </parameters>
144 </method>
145 <method name="add_element" symbol="json_array_add_element">
146 <return-type type="void"/>
147 <parameters>
148 <parameter name="array" type="JsonArray*"/>
149 <parameter name="node" type="JsonNode*"/>
150 </parameters>
151 </method>
152 <method name="add_int_element" symbol="json_array_add_int_element">
153 <return-type type="void"/>
154 <parameters>
155 <parameter name="array" type="JsonArray*"/>
156 <parameter name="value" type="gint64"/>
157 </parameters>
158 </method>
159 <method name="add_null_element" symbol="json_array_add_null_element">
160 <return-type type="void"/>
161 <parameters>
162 <parameter name="array" type="JsonArray*"/>
163 </parameters>
164 </method>
165 <method name="add_object_element" symbol="json_array_add_object_element">
166 <return-type type="void"/>
167 <parameters>
168 <parameter name="array" type="JsonArray*"/>
169 <parameter name="value" type="JsonObject*"/>
170 </parameters>
171 </method>
172 <method name="add_string_element" symbol="json_array_add_string_element">
173 <return-type type="void"/>
174 <parameters>
175 <parameter name="array" type="JsonArray*"/>
176 <parameter name="value" type="gchar*"/>
177 </parameters>
178 </method>
179 <method name="dup_element" symbol="json_array_dup_element">
180 <return-type type="JsonNode*"/>
181 <parameters>
182 <parameter name="array" type="JsonArray*"/>
183 <parameter name="index_" type="guint"/>
184 </parameters>
185 </method>
186 <method name="foreach_element" symbol="json_array_foreach_element">
187 <return-type type="void"/>
188 <parameters>
189 <parameter name="array" type="JsonArray*"/>
190 <parameter name="func" type="JsonArrayForeach"/>
191 <parameter name="data" type="gpointer"/>
192 </parameters>
193 </method>
194 <method name="get_array_element" symbol="json_array_get_array_element">
195 <return-type type="JsonArray*"/>
196 <parameters>
197 <parameter name="array" type="JsonArray*"/>
198 <parameter name="index_" type="guint"/>
199 </parameters>
200 </method>
201 <method name="get_boolean_element" symbol="json_array_get_boolean_element">
202 <return-type type="gboolean"/>
203 <parameters>
204 <parameter name="array" type="JsonArray*"/>
205 <parameter name="index_" type="guint"/>
206 </parameters>
207 </method>
208 <method name="get_double_element" symbol="json_array_get_double_element">
209 <return-type type="gdouble"/>
210 <parameters>
211 <parameter name="array" type="JsonArray*"/>
212 <parameter name="index_" type="guint"/>
213 </parameters>
214 </method>
215 <method name="get_element" symbol="json_array_get_element">
216 <return-type type="JsonNode*"/>
217 <parameters>
218 <parameter name="array" type="JsonArray*"/>
219 <parameter name="index_" type="guint"/>
220 </parameters>
221 </method>
222 <method name="get_elements" symbol="json_array_get_elements">
223 <return-type type="GList*"/>
224 <parameters>
225 <parameter name="array" type="JsonArray*"/>
226 </parameters>
227 </method>
228 <method name="get_int_element" symbol="json_array_get_int_element">
229 <return-type type="gint64"/>
230 <parameters>
231 <parameter name="array" type="JsonArray*"/>
232 <parameter name="index_" type="guint"/>
233 </parameters>
234 </method>
235 <method name="get_length" symbol="json_array_get_length">
236 <return-type type="guint"/>
237 <parameters>
238 <parameter name="array" type="JsonArray*"/>
239 </parameters>
240 </method>
241 <method name="get_null_element" symbol="json_array_get_null_element">
242 <return-type type="gboolean"/>
243 <parameters>
244 <parameter name="array" type="JsonArray*"/>
245 <parameter name="index_" type="guint"/>
246 </parameters>
247 </method>
248 <method name="get_object_element" symbol="json_array_get_object_element">
249 <return-type type="JsonObject*"/>
250 <parameters>
251 <parameter name="array" type="JsonArray*"/>
252 <parameter name="index_" type="guint"/>
253 </parameters>
254 </method>
255 <method name="get_string_element" symbol="json_array_get_string_element">
256 <return-type type="gchar*"/>
257 <parameters>
258 <parameter name="array" type="JsonArray*"/>
259 <parameter name="index_" type="guint"/>
260 </parameters>
261 </method>
262 <constructor name="new" symbol="json_array_new">
263 <return-type type="JsonArray*"/>
264 </constructor>
265 <method name="ref" symbol="json_array_ref">
266 <return-type type="JsonArray*"/>
267 <parameters>
268 <parameter name="array" type="JsonArray*"/>
269 </parameters>
270 </method>
271 <method name="remove_element" symbol="json_array_remove_element">
272 <return-type type="void"/>
273 <parameters>
274 <parameter name="array" type="JsonArray*"/>
275 <parameter name="index_" type="guint"/>
276 </parameters>
277 </method>
278 <method name="sized_new" symbol="json_array_sized_new">
279 <return-type type="JsonArray*"/>
280 <parameters>
281 <parameter name="n_elements" type="guint"/>
282 </parameters>
283 </method>
284 <method name="unref" symbol="json_array_unref">
285 <return-type type="void"/>
286 <parameters>
287 <parameter name="array" type="JsonArray*"/>
288 </parameters>
289 </method>
290 </boxed>
291 <boxed name="JsonNode" type-name="JsonNode" get-type="json_node_get_type">
292 <method name="copy" symbol="json_node_copy">
293 <return-type type="JsonNode*"/>
294 <parameters>
295 <parameter name="node" type="JsonNode*"/>
296 </parameters>
297 </method>
298 <method name="dup_array" symbol="json_node_dup_array">
299 <return-type type="JsonArray*"/>
300 <parameters>
301 <parameter name="node" type="JsonNode*"/>
302 </parameters>
303 </method>
304 <method name="dup_object" symbol="json_node_dup_object">
305 <return-type type="JsonObject*"/>
306 <parameters>
307 <parameter name="node" type="JsonNode*"/>
308 </parameters>
309 </method>
310 <method name="dup_string" symbol="json_node_dup_string">
311 <return-type type="gchar*"/>
312 <parameters>
313 <parameter name="node" type="JsonNode*"/>
314 </parameters>
315 </method>
316 <method name="free" symbol="json_node_free">
317 <return-type type="void"/>
318 <parameters>
319 <parameter name="node" type="JsonNode*"/>
320 </parameters>
321 </method>
322 <method name="get_array" symbol="json_node_get_array">
323 <return-type type="JsonArray*"/>
324 <parameters>
325 <parameter name="node" type="JsonNode*"/>
326 </parameters>
327 </method>
328 <method name="get_boolean" symbol="json_node_get_boolean">
329 <return-type type="gboolean"/>
330 <parameters>
331 <parameter name="node" type="JsonNode*"/>
332 </parameters>
333 </method>
334 <method name="get_double" symbol="json_node_get_double">
335 <return-type type="gdouble"/>
336 <parameters>
337 <parameter name="node" type="JsonNode*"/>
338 </parameters>
339 </method>
340 <method name="get_int" symbol="json_node_get_int">
341 <return-type type="gint64"/>
342 <parameters>
343 <parameter name="node" type="JsonNode*"/>
344 </parameters>
345 </method>
346 <method name="get_node_type" symbol="json_node_get_node_type">
347 <return-type type="JsonNodeType"/>
348 <parameters>
349 <parameter name="node" type="JsonNode*"/>
350 </parameters>
351 </method>
352 <method name="get_object" symbol="json_node_get_object">
353 <return-type type="JsonObject*"/>
354 <parameters>
355 <parameter name="node" type="JsonNode*"/>
356 </parameters>
357 </method>
358 <method name="get_parent" symbol="json_node_get_parent">
359 <return-type type="JsonNode*"/>
360 <parameters>
361 <parameter name="node" type="JsonNode*"/>
362 </parameters>
363 </method>
364 <method name="get_string" symbol="json_node_get_string">
365 <return-type type="gchar*"/>
366 <parameters>
367 <parameter name="node" type="JsonNode*"/>
368 </parameters>
369 </method>
370 <method name="get_value" symbol="json_node_get_value">
371 <return-type type="void"/>
372 <parameters>
373 <parameter name="node" type="JsonNode*"/>
374 <parameter name="value" type="GValue*"/>
375 </parameters>
376 </method>
377 <method name="get_value_type" symbol="json_node_get_value_type">
378 <return-type type="GType"/>
379 <parameters>
380 <parameter name="node" type="JsonNode*"/>
381 </parameters>
382 </method>
383 <method name="is_null" symbol="json_node_is_null">
384 <return-type type="gboolean"/>
385 <parameters>
386 <parameter name="node" type="JsonNode*"/>
387 </parameters>
388 </method>
389 <constructor name="new" symbol="json_node_new">
390 <return-type type="JsonNode*"/>
391 <parameters>
392 <parameter name="type" type="JsonNodeType"/>
393 </parameters>
394 </constructor>
395 <method name="set_array" symbol="json_node_set_array">
396 <return-type type="void"/>
397 <parameters>
398 <parameter name="node" type="JsonNode*"/>
399 <parameter name="array" type="JsonArray*"/>
400 </parameters>
401 </method>
402 <method name="set_boolean" symbol="json_node_set_boolean">
403 <return-type type="void"/>
404 <parameters>
405 <parameter name="node" type="JsonNode*"/>
406 <parameter name="value" type="gboolean"/>
407 </parameters>
408 </method>
409 <method name="set_double" symbol="json_node_set_double">
410 <return-type type="void"/>
411 <parameters>
412 <parameter name="node" type="JsonNode*"/>
413 <parameter name="value" type="gdouble"/>
414 </parameters>
415 </method>
416 <method name="set_int" symbol="json_node_set_int">
417 <return-type type="void"/>
418 <parameters>
419 <parameter name="node" type="JsonNode*"/>
420 <parameter name="value" type="gint64"/>
421 </parameters>
422 </method>
423 <method name="set_object" symbol="json_node_set_object">
424 <return-type type="void"/>
425 <parameters>
426 <parameter name="node" type="JsonNode*"/>
427 <parameter name="object" type="JsonObject*"/>
428 </parameters>
429 </method>
430 <method name="set_parent" symbol="json_node_set_parent">
431 <return-type type="void"/>
432 <parameters>
433 <parameter name="node" type="JsonNode*"/>
434 <parameter name="parent" type="JsonNode*"/>
435 </parameters>
436 </method>
437 <method name="set_string" symbol="json_node_set_string">
438 <return-type type="void"/>
439 <parameters>
440 <parameter name="node" type="JsonNode*"/>
441 <parameter name="value" type="gchar*"/>
442 </parameters>
443 </method>
444 <method name="set_value" symbol="json_node_set_value">
445 <return-type type="void"/>
446 <parameters>
447 <parameter name="node" type="JsonNode*"/>
448 <parameter name="value" type="GValue*"/>
449 </parameters>
450 </method>
451 <method name="take_array" symbol="json_node_take_array">
452 <return-type type="void"/>
453 <parameters>
454 <parameter name="node" type="JsonNode*"/>
455 <parameter name="array" type="JsonArray*"/>
456 </parameters>
457 </method>
458 <method name="take_object" symbol="json_node_take_object">
459 <return-type type="void"/>
460 <parameters>
461 <parameter name="node" type="JsonNode*"/>
462 <parameter name="object" type="JsonObject*"/>
463 </parameters>
464 </method>
465 <method name="type_name" symbol="json_node_type_name">
466 <return-type type="gchar*"/>
467 <parameters>
468 <parameter name="node" type="JsonNode*"/>
469 </parameters>
470 </method>
471 </boxed>
472 <boxed name="JsonObject" type-name="JsonObject" get-type="json_object_get_type">
473 <method name="add_member" symbol="json_object_add_member">
474 <return-type type="void"/>
475 <parameters>
476 <parameter name="object" type="JsonObject*"/>
477 <parameter name="member_name" type="gchar*"/>
478 <parameter name="node" type="JsonNode*"/>
479 </parameters>
480 </method>
481 <method name="dup_member" symbol="json_object_dup_member">
482 <return-type type="JsonNode*"/>
483 <parameters>
484 <parameter name="object" type="JsonObject*"/>
485 <parameter name="member_name" type="gchar*"/>
486 </parameters>
487 </method>
488 <method name="foreach_member" symbol="json_object_foreach_member">
489 <return-type type="void"/>
490 <parameters>
491 <parameter name="object" type="JsonObject*"/>
492 <parameter name="func" type="JsonObjectForeach"/>
493 <parameter name="data" type="gpointer"/>
494 </parameters>
495 </method>
496 <method name="get_array_member" symbol="json_object_get_array_member">
497 <return-type type="JsonArray*"/>
498 <parameters>
499 <parameter name="object" type="JsonObject*"/>
500 <parameter name="member_name" type="gchar*"/>
501 </parameters>
502 </method>
503 <method name="get_boolean_member" symbol="json_object_get_boolean_member">
504 <return-type type="gboolean"/>
505 <parameters>
506 <parameter name="object" type="JsonObject*"/>
507 <parameter name="member_name" type="gchar*"/>
508 </parameters>
509 </method>
510 <method name="get_double_member" symbol="json_object_get_double_member">
511 <return-type type="gdouble"/>
512 <parameters>
513 <parameter name="object" type="JsonObject*"/>
514 <parameter name="member_name" type="gchar*"/>
515 </parameters>
516 </method>
517 <method name="get_int_member" symbol="json_object_get_int_member">
518 <return-type type="gint64"/>
519 <parameters>
520 <parameter name="object" type="JsonObject*"/>
521 <parameter name="member_name" type="gchar*"/>
522 </parameters>
523 </method>
524 <method name="get_member" symbol="json_object_get_member">
525 <return-type type="JsonNode*"/>
526 <parameters>
527 <parameter name="object" type="JsonObject*"/>
528 <parameter name="member_name" type="gchar*"/>
529 </parameters>
530 </method>
531 <method name="get_members" symbol="json_object_get_members">
532 <return-type type="GList*"/>
533 <parameters>
534 <parameter name="object" type="JsonObject*"/>
535 </parameters>
536 </method>
537 <method name="get_null_member" symbol="json_object_get_null_member">
538 <return-type type="gboolean"/>
539 <parameters>
540 <parameter name="object" type="JsonObject*"/>
541 <parameter name="member_name" type="gchar*"/>
542 </parameters>
543 </method>
544 <method name="get_object_member" symbol="json_object_get_object_member">
545 <return-type type="JsonObject*"/>
546 <parameters>
547 <parameter name="object" type="JsonObject*"/>
548 <parameter name="member_name" type="gchar*"/>
549 </parameters>
550 </method>
551 <method name="get_size" symbol="json_object_get_size">
552 <return-type type="guint"/>
553 <parameters>
554 <parameter name="object" type="JsonObject*"/>
555 </parameters>
556 </method>
557 <method name="get_string_member" symbol="json_object_get_string_member">
558 <return-type type="gchar*"/>
559 <parameters>
560 <parameter name="object" type="JsonObject*"/>
561 <parameter name="member_name" type="gchar*"/>
562 </parameters>
563 </method>
564 <method name="get_values" symbol="json_object_get_values">
565 <return-type type="GList*"/>
566 <parameters>
567 <parameter name="object" type="JsonObject*"/>
568 </parameters>
569 </method>
570 <method name="has_member" symbol="json_object_has_member">
571 <return-type type="gboolean"/>
572 <parameters>
573 <parameter name="object" type="JsonObject*"/>
574 <parameter name="member_name" type="gchar*"/>
575 </parameters>
576 </method>
577 <constructor name="new" symbol="json_object_new">
578 <return-type type="JsonObject*"/>
579 </constructor>
580 <method name="ref" symbol="json_object_ref">
581 <return-type type="JsonObject*"/>
582 <parameters>
583 <parameter name="object" type="JsonObject*"/>
584 </parameters>
585 </method>
586 <method name="remove_member" symbol="json_object_remove_member">
587 <return-type type="void"/>
588 <parameters>
589 <parameter name="object" type="JsonObject*"/>
590 <parameter name="member_name" type="gchar*"/>
591 </parameters>
592 </method>
593 <method name="set_array_member" symbol="json_object_set_array_member">
594 <return-type type="void"/>
595 <parameters>
596 <parameter name="object" type="JsonObject*"/>
597 <parameter name="member_name" type="gchar*"/>
598 <parameter name="value" type="JsonArray*"/>
599 </parameters>
600 </method>
601 <method name="set_boolean_member" symbol="json_object_set_boolean_member">
602 <return-type type="void"/>
603 <parameters>
604 <parameter name="object" type="JsonObject*"/>
605 <parameter name="member_name" type="gchar*"/>
606 <parameter name="value" type="gboolean"/>
607 </parameters>
608 </method>
609 <method name="set_double_member" symbol="json_object_set_double_member">
610 <return-type type="void"/>
611 <parameters>
612 <parameter name="object" type="JsonObject*"/>
613 <parameter name="member_name" type="gchar*"/>
614 <parameter name="value" type="gdouble"/>
615 </parameters>
616 </method>
617 <method name="set_int_member" symbol="json_object_set_int_member">
618 <return-type type="void"/>
619 <parameters>
620 <parameter name="object" type="JsonObject*"/>
621 <parameter name="member_name" type="gchar*"/>
622 <parameter name="value" type="gint64"/>
623 </parameters>
624 </method>
625 <method name="set_member" symbol="json_object_set_member">
626 <return-type type="void"/>
627 <parameters>
628 <parameter name="object" type="JsonObject*"/>
629 <parameter name="member_name" type="gchar*"/>
630 <parameter name="node" type="JsonNode*"/>
631 </parameters>
632 </method>
633 <method name="set_null_member" symbol="json_object_set_null_member">
634 <return-type type="void"/>
635 <parameters>
636 <parameter name="object" type="JsonObject*"/>
637 <parameter name="member_name" type="gchar*"/>
638 </parameters>
639 </method>
640 <method name="set_object_member" symbol="json_object_set_object_member">
641 <return-type type="void"/>
642 <parameters>
643 <parameter name="object" type="JsonObject*"/>
644 <parameter name="member_name" type="gchar*"/>
645 <parameter name="value" type="JsonObject*"/>
646 </parameters>
647 </method>
648 <method name="set_string_member" symbol="json_object_set_string_member">
649 <return-type type="void"/>
650 <parameters>
651 <parameter name="object" type="JsonObject*"/>
652 <parameter name="member_name" type="gchar*"/>
653 <parameter name="value" type="gchar*"/>
654 </parameters>
655 </method>
656 <method name="unref" symbol="json_object_unref">
657 <return-type type="void"/>
658 <parameters>
659 <parameter name="object" type="JsonObject*"/>
660 </parameters>
661 </method>
662 </boxed>
663 <enum name="JsonNodeType" type-name="JsonNodeType" get-type="json_node_type_get_type">
664 <member name="JSON_NODE_OBJECT" value="0"/>
665 <member name="JSON_NODE_ARRAY" value="1"/>
666 <member name="JSON_NODE_VALUE" value="2"/>
667 <member name="JSON_NODE_NULL" value="3"/>
668 </enum>
669 <enum name="JsonParserError" type-name="JsonParserError" get-type="json_parser_error_get_type">
670 <member name="JSON_PARSER_ERROR_PARSE" value="0"/>
671 <member name="JSON_PARSER_ERROR_TRAILING_COMMA" value="1"/>
672 <member name="JSON_PARSER_ERROR_MISSING_COMMA" value="2"/>
673 <member name="JSON_PARSER_ERROR_MISSING_COLON" value="3"/>
674 <member name="JSON_PARSER_ERROR_INVALID_BAREWORD" value="4"/>
675 <member name="JSON_PARSER_ERROR_UNKNOWN" value="5"/>
676 </enum>
677 <enum name="JsonReaderError" type-name="JsonReaderError" get-type="json_reader_error_get_type">
678 <member name="JSON_READER_ERROR_NO_ARRAY" value="0"/>
679 <member name="JSON_READER_ERROR_INVALID_INDEX" value="1"/>
680 <member name="JSON_READER_ERROR_NO_OBJECT" value="2"/>
681 <member name="JSON_READER_ERROR_INVALID_MEMBER" value="3"/>
682 </enum>
683 <object name="JsonBuilder" parent="GObject" type-name="JsonBuilder" get-type="json_builder_get_type">
684 <method name="add_boolean_value" symbol="json_builder_add_boolean_value">
685 <return-type type="JsonBuilder*"/>
686 <parameters>
687 <parameter name="builder" type="JsonBuilder*"/>
688 <parameter name="value" type="gboolean"/>
689 </parameters>
690 </method>
691 <method name="add_double_value" symbol="json_builder_add_double_value">
692 <return-type type="JsonBuilder*"/>
693 <parameters>
694 <parameter name="builder" type="JsonBuilder*"/>
695 <parameter name="value" type="gdouble"/>
696 </parameters>
697 </method>
698 <method name="add_int_value" symbol="json_builder_add_int_value">
699 <return-type type="JsonBuilder*"/>
700 <parameters>
701 <parameter name="builder" type="JsonBuilder*"/>
702 <parameter name="value" type="gint64"/>
703 </parameters>
704 </method>
705 <method name="add_null_value" symbol="json_builder_add_null_value">
706 <return-type type="JsonBuilder*"/>
707 <parameters>
708 <parameter name="builder" type="JsonBuilder*"/>
709 </parameters>
710 </method>
711 <method name="add_string_value" symbol="json_builder_add_string_value">
712 <return-type type="JsonBuilder*"/>
713 <parameters>
714 <parameter name="builder" type="JsonBuilder*"/>
715 <parameter name="value" type="gchar*"/>
716 </parameters>
717 </method>
718 <method name="add_value" symbol="json_builder_add_value">
719 <return-type type="JsonBuilder*"/>
720 <parameters>
721 <parameter name="builder" type="JsonBuilder*"/>
722 <parameter name="node" type="JsonNode*"/>
723 </parameters>
724 </method>
725 <method name="begin_array" symbol="json_builder_begin_array">
726 <return-type type="JsonBuilder*"/>
727 <parameters>
728 <parameter name="builder" type="JsonBuilder*"/>
729 </parameters>
730 </method>
731 <method name="begin_object" symbol="json_builder_begin_object">
732 <return-type type="JsonBuilder*"/>
733 <parameters>
734 <parameter name="builder" type="JsonBuilder*"/>
735 </parameters>
736 </method>
737 <method name="end_array" symbol="json_builder_end_array">
738 <return-type type="JsonBuilder*"/>
739 <parameters>
740 <parameter name="builder" type="JsonBuilder*"/>
741 </parameters>
742 </method>
743 <method name="end_object" symbol="json_builder_end_object">
744 <return-type type="JsonBuilder*"/>
745 <parameters>
746 <parameter name="builder" type="JsonBuilder*"/>
747 </parameters>
748 </method>
749 <method name="get_root" symbol="json_builder_get_root">
750 <return-type type="JsonNode*"/>
751 <parameters>
752 <parameter name="builder" type="JsonBuilder*"/>
753 </parameters>
754 </method>
755 <constructor name="new" symbol="json_builder_new">
756 <return-type type="JsonBuilder*"/>
757 </constructor>
758 <method name="reset" symbol="json_builder_reset">
759 <return-type type="void"/>
760 <parameters>
761 <parameter name="builder" type="JsonBuilder*"/>
762 </parameters>
763 </method>
764 <method name="set_member_name" symbol="json_builder_set_member_name">
765 <return-type type="JsonBuilder*"/>
766 <parameters>
767 <parameter name="builder" type="JsonBuilder*"/>
768 <parameter name="member_name" type="gchar*"/>
769 </parameters>
770 </method>
771 </object>
772 <object name="JsonGenerator" parent="GObject" type-name="JsonGenerator" get-type="json_generator_get_type">
773 <constructor name="new" symbol="json_generator_new">
774 <return-type type="JsonGenerator*"/>
775 </constructor>
776 <method name="set_root" symbol="json_generator_set_root">
777 <return-type type="void"/>
778 <parameters>
779 <parameter name="generator" type="JsonGenerator*"/>
780 <parameter name="node" type="JsonNode*"/>
781 </parameters>
782 </method>
783 <method name="to_data" symbol="json_generator_to_data">
784 <return-type type="gchar*"/>
785 <parameters>
786 <parameter name="generator" type="JsonGenerator*"/>
787 <parameter name="length" type="gsize*"/>
788 </parameters>
789 </method>
790 <method name="to_file" symbol="json_generator_to_file">
791 <return-type type="gboolean"/>
792 <parameters>
793 <parameter name="generator" type="JsonGenerator*"/>
794 <parameter name="filename" type="gchar*"/>
795 <parameter name="error" type="GError**"/>
796 </parameters>
797 </method>
798 <method name="to_stream" symbol="json_generator_to_stream">
799 <return-type type="gboolean"/>
800 <parameters>
801 <parameter name="generator" type="JsonGenerator*"/>
802 <parameter name="stream" type="GOutputStream*"/>
803 <parameter name="cancellable" type="GCancellable*"/>
804 <parameter name="error" type="GError**"/>
805 </parameters>
806 </method>
807 <property name="indent" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
808 <property name="indent-char" type="guint" readable="1" writable="1" construct="0" construct-only="0"/>
809 <property name="pretty" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
810 <property name="root" type="JsonNode*" readable="1" writable="1" construct="0" construct-only="0"/>
811 </object>
812 <object name="JsonParser" parent="GObject" type-name="JsonParser" get-type="json_parser_get_type">
813 <method name="error_quark" symbol="json_parser_error_quark">
814 <return-type type="GQuark"/>
815 </method>
816 <method name="get_current_line" symbol="json_parser_get_current_line">
817 <return-type type="guint"/>
818 <parameters>
819 <parameter name="parser" type="JsonParser*"/>
820 </parameters>
821 </method>
822 <method name="get_current_pos" symbol="json_parser_get_current_pos">
823 <return-type type="guint"/>
824 <parameters>
825 <parameter name="parser" type="JsonParser*"/>
826 </parameters>
827 </method>
828 <method name="get_root" symbol="json_parser_get_root">
829 <return-type type="JsonNode*"/>
830 <parameters>
831 <parameter name="parser" type="JsonParser*"/>
832 </parameters>
833 </method>
834 <method name="has_assignment" symbol="json_parser_has_assignment">
835 <return-type type="gboolean"/>
836 <parameters>
837 <parameter name="parser" type="JsonParser*"/>
838 <parameter name="variable_name" type="gchar**"/>
839 </parameters>
840 </method>
841 <method name="load_from_data" symbol="json_parser_load_from_data">
842 <return-type type="gboolean"/>
843 <parameters>
844 <parameter name="parser" type="JsonParser*"/>
845 <parameter name="data" type="gchar*"/>
846 <parameter name="length" type="gssize"/>
847 <parameter name="error" type="GError**"/>
848 </parameters>
849 </method>
850 <method name="load_from_file" symbol="json_parser_load_from_file">
851 <return-type type="gboolean"/>
852 <parameters>
853 <parameter name="parser" type="JsonParser*"/>
854 <parameter name="filename" type="gchar*"/>
855 <parameter name="error" type="GError**"/>
856 </parameters>
857 </method>
858 <method name="load_from_stream" symbol="json_parser_load_from_stream">
859 <return-type type="gboolean"/>
860 <parameters>
861 <parameter name="parser" type="JsonParser*"/>
862 <parameter name="stream" type="GInputStream*"/>
863 <parameter name="cancellable" type="GCancellable*"/>
864 <parameter name="error" type="GError**"/>
865 </parameters>
866 </method>
867 <method name="load_from_stream_async" symbol="json_parser_load_from_stream_async">
868 <return-type type="void"/>
869 <parameters>
870 <parameter name="parser" type="JsonParser*"/>
871 <parameter name="stream" type="GInputStream*"/>
872 <parameter name="cancellable" type="GCancellable*"/>
873 <parameter name="callback" type="GAsyncReadyCallback"/>
874 <parameter name="user_data" type="gpointer"/>
875 </parameters>
876 </method>
877 <method name="load_from_stream_finish" symbol="json_parser_load_from_stream_finish">
878 <return-type type="gboolean"/>
879 <parameters>
880 <parameter name="parser" type="JsonParser*"/>
881 <parameter name="result" type="GAsyncResult*"/>
882 <parameter name="error" type="GError**"/>
883 </parameters>
884 </method>
885 <constructor name="new" symbol="json_parser_new">
886 <return-type type="JsonParser*"/>
887 </constructor>
888 <signal name="array-element" when="LAST">
889 <return-type type="void"/>
890 <parameters>
891 <parameter name="parser" type="JsonParser*"/>
892 <parameter name="array" type="JsonArray*"/>
893 <parameter name="index_" type="gint"/>
894 </parameters>
895 </signal>
896 <signal name="array-end" when="LAST">
897 <return-type type="void"/>
898 <parameters>
899 <parameter name="parser" type="JsonParser*"/>
900 <parameter name="array" type="JsonArray*"/>
901 </parameters>
902 </signal>
903 <signal name="array-start" when="LAST">
904 <return-type type="void"/>
905 <parameters>
906 <parameter name="parser" type="JsonParser*"/>
907 </parameters>
908 </signal>
909 <signal name="error" when="LAST">
910 <return-type type="void"/>
911 <parameters>
912 <parameter name="parser" type="JsonParser*"/>
913 <parameter name="error" type="gpointer"/>
914 </parameters>
915 </signal>
916 <signal name="object-end" when="LAST">
917 <return-type type="void"/>
918 <parameters>
919 <parameter name="parser" type="JsonParser*"/>
920 <parameter name="object" type="JsonObject*"/>
921 </parameters>
922 </signal>
923 <signal name="object-member" when="LAST">
924 <return-type type="void"/>
925 <parameters>
926 <parameter name="parser" type="JsonParser*"/>
927 <parameter name="object" type="JsonObject*"/>
928 <parameter name="member_name" type="char*"/>
929 </parameters>
930 </signal>
931 <signal name="object-start" when="LAST">
932 <return-type type="void"/>
933 <parameters>
934 <parameter name="parser" type="JsonParser*"/>
935 </parameters>
936 </signal>
937 <signal name="parse-end" when="LAST">
938 <return-type type="void"/>
939 <parameters>
940 <parameter name="parser" type="JsonParser*"/>
941 </parameters>
942 </signal>
943 <signal name="parse-start" when="LAST">
944 <return-type type="void"/>
945 <parameters>
946 <parameter name="parser" type="JsonParser*"/>
947 </parameters>
948 </signal>
949 </object>
950 <object name="JsonReader" parent="GObject" type-name="JsonReader" get-type="json_reader_get_type">
951 <method name="count_elements" symbol="json_reader_count_elements">
952 <return-type type="gint"/>
953 <parameters>
954 <parameter name="reader" type="JsonReader*"/>
955 </parameters>
956 </method>
957 <method name="count_members" symbol="json_reader_count_members">
958 <return-type type="gint"/>
959 <parameters>
960 <parameter name="reader" type="JsonReader*"/>
961 </parameters>
962 </method>
963 <method name="end_element" symbol="json_reader_end_element">
964 <return-type type="void"/>
965 <parameters>
966 <parameter name="reader" type="JsonReader*"/>
967 </parameters>
968 </method>
969 <method name="end_member" symbol="json_reader_end_member">
970 <return-type type="void"/>
971 <parameters>
972 <parameter name="reader" type="JsonReader*"/>
973 </parameters>
974 </method>
975 <method name="error_quark" symbol="json_reader_error_quark">
976 <return-type type="GQuark"/>
977 </method>
978 <method name="get_boolean_value" symbol="json_reader_get_boolean_value">
979 <return-type type="gboolean"/>
980 <parameters>
981 <parameter name="reader" type="JsonReader*"/>
982 </parameters>
983 </method>
984 <method name="get_double_value" symbol="json_reader_get_double_value">
985 <return-type type="gdouble"/>
986 <parameters>
987 <parameter name="reader" type="JsonReader*"/>
988 </parameters>
989 </method>
990 <method name="get_error" symbol="json_reader_get_error">
991 <return-type type="GError*"/>
992 <parameters>
993 <parameter name="reader" type="JsonReader*"/>
994 </parameters>
995 </method>
996 <method name="get_int_value" symbol="json_reader_get_int_value">
997 <return-type type="gint64"/>
998 <parameters>
999 <parameter name="reader" type="JsonReader*"/>
1000 </parameters>
1001 </method>
1002 <method name="get_null_value" symbol="json_reader_get_null_value">
1003 <return-type type="gboolean"/>
1004 <parameters>
1005 <parameter name="reader" type="JsonReader*"/>
1006 </parameters>
1007 </method>
1008 <method name="get_string_value" symbol="json_reader_get_string_value">
1009 <return-type type="gchar*"/>
1010 <parameters>
1011 <parameter name="reader" type="JsonReader*"/>
1012 </parameters>
1013 </method>
1014 <method name="get_value" symbol="json_reader_get_value">
1015 <return-type type="JsonNode*"/>
1016 <parameters>
1017 <parameter name="reader" type="JsonReader*"/>
1018 </parameters>
1019 </method>
1020 <method name="is_array" symbol="json_reader_is_array">
1021 <return-type type="gboolean"/>
1022 <parameters>
1023 <parameter name="reader" type="JsonReader*"/>
1024 </parameters>
1025 </method>
1026 <method name="is_object" symbol="json_reader_is_object">
1027 <return-type type="gboolean"/>
1028 <parameters>
1029 <parameter name="reader" type="JsonReader*"/>
1030 </parameters>
1031 </method>
1032 <method name="is_value" symbol="json_reader_is_value">
1033 <return-type type="gboolean"/>
1034 <parameters>
1035 <parameter name="reader" type="JsonReader*"/>
1036 </parameters>
1037 </method>
1038 <constructor name="new" symbol="json_reader_new">
1039 <return-type type="JsonReader*"/>
1040 <parameters>
1041 <parameter name="node" type="JsonNode*"/>
1042 </parameters>
1043 </constructor>
1044 <method name="read_element" symbol="json_reader_read_element">
1045 <return-type type="gboolean"/>
1046 <parameters>
1047 <parameter name="reader" type="JsonReader*"/>
1048 <parameter name="index_" type="guint"/>
1049 </parameters>
1050 </method>
1051 <method name="read_member" symbol="json_reader_read_member">
1052 <return-type type="gboolean"/>
1053 <parameters>
1054 <parameter name="reader" type="JsonReader*"/>
1055 <parameter name="member_name" type="gchar*"/>
1056 </parameters>
1057 </method>
1058 <method name="set_root" symbol="json_reader_set_root">
1059 <return-type type="void"/>
1060 <parameters>
1061 <parameter name="reader" type="JsonReader*"/>
1062 <parameter name="root" type="JsonNode*"/>
1063 </parameters>
1064 </method>
1065 <property name="root" type="JsonNode*" readable="1" writable="1" construct="1" construct-only="0"/>
1066 </object>
1067 <interface name="JsonSerializable" type-name="JsonSerializable" get-type="json_serializable_get_type">
1068 <method name="default_deserialize_property" symbol="json_serializable_default_deserialize_property">
1069 <return-type type="gboolean"/>
1070 <parameters>
1071 <parameter name="serializable" type="JsonSerializable*"/>
1072 <parameter name="property_name" type="gchar*"/>
1073 <parameter name="value" type="GValue*"/>
1074 <parameter name="pspec" type="GParamSpec*"/>
1075 <parameter name="property_node" type="JsonNode*"/>
1076 </parameters>
1077 </method>
1078 <method name="default_serialize_property" symbol="json_serializable_default_serialize_property">
1079 <return-type type="JsonNode*"/>
1080 <parameters>
1081 <parameter name="serializable" type="JsonSerializable*"/>
1082 <parameter name="property_name" type="gchar*"/>
1083 <parameter name="value" type="GValue*"/>
1084 <parameter name="pspec" type="GParamSpec*"/>
1085 </parameters>
1086 </method>
1087 <method name="deserialize_property" symbol="json_serializable_deserialize_property">
1088 <return-type type="gboolean"/>
1089 <parameters>
1090 <parameter name="serializable" type="JsonSerializable*"/>
1091 <parameter name="property_name" type="gchar*"/>
1092 <parameter name="value" type="GValue*"/>
1093 <parameter name="pspec" type="GParamSpec*"/>
1094 <parameter name="property_node" type="JsonNode*"/>
1095 </parameters>
1096 </method>
1097 <method name="serialize_property" symbol="json_serializable_serialize_property">
1098 <return-type type="JsonNode*"/>
1099 <parameters>
1100 <parameter name="serializable" type="JsonSerializable*"/>
1101 <parameter name="property_name" type="gchar*"/>
1102 <parameter name="value" type="GValue*"/>
1103 <parameter name="pspec" type="GParamSpec*"/>
1104 </parameters>
1105 </method>
1106 <vfunc name="deserialize_property">
1107 <return-type type="gboolean"/>
1108 <parameters>
1109 <parameter name="serializable" type="JsonSerializable*"/>
1110 <parameter name="property_name" type="gchar*"/>
1111 <parameter name="value" type="GValue*"/>
1112 <parameter name="pspec" type="GParamSpec*"/>
1113 <parameter name="property_node" type="JsonNode*"/>
1114 </parameters>
1115 </vfunc>
1116 <vfunc name="serialize_property">
1117 <return-type type="JsonNode*"/>
1118 <parameters>
1119 <parameter name="serializable" type="JsonSerializable*"/>
1120 <parameter name="property_name" type="gchar*"/>
1121 <parameter name="value" type="GValue*"/>
1122 <parameter name="pspec" type="GParamSpec*"/>
1123 </parameters>
1124 </vfunc>
1125 </interface>
1126 <constant name="JSON_MAJOR_VERSION" type="int" value="0"/>
1127 <constant name="JSON_MICRO_VERSION" type="int" value="0"/>
1128 <constant name="JSON_MINOR_VERSION" type="int" value="12"/>
1129 <constant name="JSON_VERSION_HEX" type="int" value="0"/>
1130 <constant name="JSON_VERSION_S" type="char*" value="0.12.0"/>
1131 </namespace>
1132 </api>