clutter 2.0.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +129 -0
- data/lib/clutter.rb +145 -0
- data/lib/clutter/actor-iter.rb +33 -0
- data/lib/clutter/actor.rb +34 -0
- data/lib/clutter/animatable.rb +26 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/color.rb +55 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +125 -0
- data/sample/bin-layout.rb +215 -0
- data/sample/box-layout.rb +196 -0
- data/sample/canvas.rb +117 -0
- data/sample/constraints.rb +81 -0
- data/sample/drag-action.rb +177 -0
- data/sample/drop-action.rb +198 -0
- data/sample/easing-modes.rb +145 -0
- data/sample/flow-layout.rb +121 -0
- data/sample/grid-layout.rb +239 -0
- data/sample/image-content.rb +88 -0
- data/sample/pan-action.rb +100 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +90 -0
- data/sample/scroll-actor.rb +105 -0
- data/test/clutter-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +22 -0
- data/vendor/local/include/GL/freeglut_ext.h +239 -0
- data/vendor/local/include/GL/freeglut_std.h +636 -0
- data/vendor/local/include/GL/glut.h +21 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +155 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-factory.h +117 -0
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +85 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +39 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +82 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +80 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +735 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +116 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +74 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +84 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +57 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +90 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cogl-compat.h +52 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color-static.h +79 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +175 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +63 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-config.h +19 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +108 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +43 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +142 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +113 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +183 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1362 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +509 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +80 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +154 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-grid-layout.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +141 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +2304 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +279 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +148 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-marshal.h +273 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +381 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +112 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-node.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +150 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +147 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +66 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +155 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +100 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +204 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +95 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +73 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +215 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-table-layout.h +157 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +172 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +237 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +128 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +201 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +132 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +715 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +166 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +302 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +114 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +118 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-actor.h +161 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animatable.h +47 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +206 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +186 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-backend.h +64 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-depth.h +101 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-ellipse.h +159 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-opacity.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-path.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-rotate.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour-scale.h +107 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-behaviour.h +170 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-bin-layout.h +56 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-box.h +143 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-cairo-texture.h +139 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-container.h +93 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +97 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-frame-source.h +49 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-group.h +62 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-input-device.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +2306 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-main.h +96 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-media.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +117 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-score.h +144 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-shader.h +182 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage-manager.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-stage.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +187 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +138 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeline.h +41 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +69 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-util.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +58 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +245 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +131 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +532 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +314 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +309 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +47 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +543 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +350 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +50 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +36 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +192 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +100 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +176 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +804 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +129 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1829 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +374 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +85 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +145 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1276 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +798 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +181 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +219 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +117 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +106 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +741 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +242 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +33 -0
- data/vendor/local/include/cogl/cogl/cogl-path-functions.h +430 -0
- data/vendor/local/include/cogl/cogl/cogl-path.h +102 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +613 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +924 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +173 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +114 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +174 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +98 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +190 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +423 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +654 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +786 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +122 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +51 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +73 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +130 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +191 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +187 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +611 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +912 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +351 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +409 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl.h +151 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +1169 -0
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +55 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +31 -0
- data/vendor/local/include/cogl/cogl/cogl2-path.h +506 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +191 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +36 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +279 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +141 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +179 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +106 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +36 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +107 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +182 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +46 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +173 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +97 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +150 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +334 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +100 -0
- data/vendor/local/lib/girepository-1.0/Cally-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- 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 +41 -0
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +41 -0
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +41 -0
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +41 -0
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +24 -0
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +11 -0
- data/vendor/local/share/cogl/examples-data/crate.jpg +0 -0
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +679 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +67473 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8383 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +306 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4333 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +415 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +136 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +139 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +123 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +140 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +135 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +100 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +167 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +43 -0
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +71 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +45 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +64 -0
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +53 -0
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +96 -0
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +103 -0
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +103 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +198 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +190 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +42 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +13714 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +322 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +404 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +747 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1218 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +697 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +278 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +844 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +283 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +450 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +608 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +432 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1056 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +780 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +657 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1232 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +410 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +253 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +587 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +193 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +336 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1346 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +309 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +353 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +408 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1224 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +965 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +386 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +115 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1016 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +867 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +808 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +231 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +674 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +161 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +900 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1715 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +644 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +350 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +534 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +785 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1327 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +183 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +881 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1365 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +311 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +731 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +301 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +595 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2252 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1558 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1146 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +192 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3058 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +736 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1829 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2441 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +574 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +227 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +400 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/actor-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/animator-key-frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +111 -0
- data/vendor/local/share/gtk-doc/html/clutter/bin-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/box-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +275 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +51 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +57 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +53 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +78 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +38 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +41 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3471 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +225 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +314 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1363 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +129 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2653 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +249 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2550 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2571 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +181 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +890 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +351 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1004 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +341 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +843 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +549 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1023 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +525 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +83 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +201 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +806 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2715 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +71 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +202 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +118 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +184 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +37 -0
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +105 -0
- data/vendor/local/share/gtk-doc/html/clutter/constraints-example.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +86 -0
- data/vendor/local/share/gtk-doc/html/clutter/easing-modes.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/event-flow.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/flow-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +114 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +451 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3272 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1961 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +583 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +957 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +642 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1530 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +820 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1005 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +369 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +366 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1078 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +984 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +99 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +223 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +197 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +154 -0
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +156 -0
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +49 -0
- data/vendor/local/share/gtk-doc/html/clutter/offscreen-redirect.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/path-alpha-func.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +31 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +373 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +36 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +492 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +871 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +464 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +898 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +87 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +41 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +125 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +308 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +926 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +54 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +186 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +121 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +161 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +137 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +47 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +61 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +382 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +310 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +850 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +272 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +942 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +993 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +148 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +281 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +63 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +39 -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 +58 -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 +266 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +502 -0
- data/vendor/local/share/license/freeglut/AUTHORS +39 -0
- data/vendor/local/share/license/freeglut/COPYING +27 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- metadata +747 -0
@@ -0,0 +1,272 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>JSON GVariant Integration</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.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-Boxed-Types-Serialization.html" title="Boxed Types Serialization">
|
10
|
+
<link rel="next" href="json-tools.html" title="Part V. JSON-GLib Additional Reference">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="json-glib-Boxed-Types-Serialization.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="json-advanced.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">JSON-GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="json-tools.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#json-glib-JSON-GVariant-Integration.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#json-glib-JSON-GVariant-Integration.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="json-glib-JSON-GVariant-Integration"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="json-glib-JSON-GVariant-Integration.top_of_page"></a>JSON GVariant Integration</span></h2>
|
34
|
+
<p>JSON GVariant Integration — Serialize and deserialize GVariant types</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="json-glib-JSON-GVariant-Integration.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()">json_gvariant_serialize</a> (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);
|
41
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize-data" title="json_gvariant_serialize_data ()">json_gvariant_serialize_data</a> (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>,
|
42
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);
|
43
|
+
<span class="returnvalue">GVariant</span> * <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()">json_gvariant_deserialize</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *json_node</code></em>,
|
44
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
45
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
46
|
+
<span class="returnvalue">GVariant</span> * <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize-data" title="json_gvariant_deserialize_data ()">json_gvariant_deserialize_data</a> (<em class="parameter"><code>const <span class="type">gchar</span> *json</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
48
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
50
|
+
</pre>
|
51
|
+
</div>
|
52
|
+
<div class="refsect1">
|
53
|
+
<a name="json-glib-JSON-GVariant-Integration.description"></a><h2>Description</h2>
|
54
|
+
<p>
|
55
|
+
Use <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()"><code class="function">json_gvariant_serialize()</code></a> and <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize-data" title="json_gvariant_serialize_data ()"><code class="function">json_gvariant_serialize_data()</code></a> to
|
56
|
+
convert from any <span class="type">GVariant</span> value to a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> tree or its string
|
57
|
+
representation.
|
58
|
+
</p>
|
59
|
+
<p>
|
60
|
+
Use <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> and <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize-data" title="json_gvariant_deserialize_data ()"><code class="function">json_gvariant_deserialize_data()</code></a> to
|
61
|
+
obtain the <span class="type">GVariant</span> value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> tree or directly from a JSON
|
62
|
+
string.
|
63
|
+
Since many <span class="type">GVariant</span> data types cannot be directly represented as
|
64
|
+
JSON, a <span class="type">GVariant</span> type string (signature) should be provided to these
|
65
|
+
methods in order to obtain a correct, type-contrained result.
|
66
|
+
If no signature is provided, conversion can still be done, but the
|
67
|
+
resulting <span class="type">GVariant</span> value will be "guessed" from the JSON data types,
|
68
|
+
according to the following table:
|
69
|
+
</p>
|
70
|
+
<p>
|
71
|
+
</p>
|
72
|
+
<div class="table">
|
73
|
+
<a name="id2971653"></a><p class="title"><b>Table 2. Default JSON to GVariant conversion (without signature constrains)</b></p>
|
74
|
+
<div class="table-contents"><table summary="Default JSON to GVariant conversion (without signature constrains)" border="1">
|
75
|
+
<colgroup>
|
76
|
+
<col>
|
77
|
+
<col>
|
78
|
+
</colgroup>
|
79
|
+
<thead><tr>
|
80
|
+
<th align="left">JSON</th>
|
81
|
+
<th align="left">GVariant</th>
|
82
|
+
</tr></thead>
|
83
|
+
<tfoot>
|
84
|
+
<tr>
|
85
|
+
<th align="left">string</th>
|
86
|
+
<th align="left">string (s)</th>
|
87
|
+
</tr>
|
88
|
+
<tr>
|
89
|
+
<th align="left">int64</th>
|
90
|
+
<th align="left">int64 (x)</th>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<th align="left">boolean</th>
|
94
|
+
<th align="left">boolean (b)</th>
|
95
|
+
</tr>
|
96
|
+
<tr>
|
97
|
+
<th align="left">double</th>
|
98
|
+
<th align="left">double (d)</th>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<th align="left">array</th>
|
102
|
+
<th align="left">array of variants (av)</th>
|
103
|
+
</tr>
|
104
|
+
<tr>
|
105
|
+
<th align="left">object</th>
|
106
|
+
<th align="left">dictionary of string-variant (a{sv})</th>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<th align="left">null</th>
|
110
|
+
<th align="left">maybe variant (mv)</th>
|
111
|
+
</tr>
|
112
|
+
</tfoot>
|
113
|
+
</table></div>
|
114
|
+
</div>
|
115
|
+
<p><br class="table-break">
|
116
|
+
</p>
|
117
|
+
</div>
|
118
|
+
<div class="refsect1">
|
119
|
+
<a name="json-glib-JSON-GVariant-Integration.details"></a><h2>Details</h2>
|
120
|
+
<div class="refsect2">
|
121
|
+
<a name="json-gvariant-serialize"></a><h3>json_gvariant_serialize ()</h3>
|
122
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_gvariant_serialize (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
|
123
|
+
<p>
|
124
|
+
Converts <em class="parameter"><code>variant</code></em> to a JSON tree.
|
125
|
+
</p>
|
126
|
+
<div class="variablelist"><table border="0">
|
127
|
+
<col align="left" valign="top">
|
128
|
+
<tbody>
|
129
|
+
<tr>
|
130
|
+
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
131
|
+
<td>A <span class="type">GVariant</span> to convert</td>
|
132
|
+
</tr>
|
133
|
+
<tr>
|
134
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
135
|
+
<td>A <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> representing the root of the
|
136
|
+
JSON data structure obtained from <em class="parameter"><code>variant</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
</tbody>
|
140
|
+
</table></div>
|
141
|
+
<p class="since">Since 0.14</p>
|
142
|
+
</div>
|
143
|
+
<hr>
|
144
|
+
<div class="refsect2">
|
145
|
+
<a name="json-gvariant-serialize-data"></a><h3>json_gvariant_serialize_data ()</h3>
|
146
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * json_gvariant_serialize_data (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>,
|
147
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
148
|
+
<p>
|
149
|
+
Converts <em class="parameter"><code>variant</code></em> to its JSON encoded string representation. This method
|
150
|
+
is actually a helper function. It uses <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()"><code class="function">json_gvariant_serialize()</code></a> to obtain the
|
151
|
+
JSON tree, and then <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> to stringify it.
|
152
|
+
</p>
|
153
|
+
<div class="variablelist"><table border="0">
|
154
|
+
<col align="left" valign="top">
|
155
|
+
<tbody>
|
156
|
+
<tr>
|
157
|
+
<td><p><span class="term"><em class="parameter"><code>variant</code></em> :</span></p></td>
|
158
|
+
<td>A <span class="type">GVariant</span> to convert</td>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
162
|
+
<td>Return location for the length of the returned
|
163
|
+
string, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
168
|
+
<td>The JSON encoded string corresponding to
|
169
|
+
<em class="parameter"><code>variant</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
170
|
+
</td>
|
171
|
+
</tr>
|
172
|
+
</tbody>
|
173
|
+
</table></div>
|
174
|
+
<p class="since">Since 0.14</p>
|
175
|
+
</div>
|
176
|
+
<hr>
|
177
|
+
<div class="refsect2">
|
178
|
+
<a name="json-gvariant-deserialize"></a><h3>json_gvariant_deserialize ()</h3>
|
179
|
+
<pre class="programlisting"><span class="returnvalue">GVariant</span> * json_gvariant_deserialize (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *json_node</code></em>,
|
180
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
181
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
182
|
+
<p>
|
183
|
+
Converts a JSON data structure to a GVariant value using <em class="parameter"><code>signature</code></em> to
|
184
|
+
resolve ambiguous data types. If no error occurs, the resulting <span class="type">GVariant</span>
|
185
|
+
is guaranteed to conform to <em class="parameter"><code>signature</code></em>.
|
186
|
+
</p>
|
187
|
+
<p>
|
188
|
+
If <em class="parameter"><code>signature</code></em> is not <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> but does not represent a valid GVariant type
|
189
|
+
string, <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code>.
|
190
|
+
If a <em class="parameter"><code>signature</code></em> is provided but the JSON structure cannot be mapped to it,
|
191
|
+
<a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_DATA</code>.
|
192
|
+
If <em class="parameter"><code>signature</code></em> is <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, the conversion is done based strictly on the types
|
193
|
+
in the JSON nodes.
|
194
|
+
</p>
|
195
|
+
<div class="variablelist"><table border="0">
|
196
|
+
<col align="left" valign="top">
|
197
|
+
<tbody>
|
198
|
+
<tr>
|
199
|
+
<td><p><span class="term"><em class="parameter"><code>json_node</code></em> :</span></p></td>
|
200
|
+
<td>A <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to convert</td>
|
201
|
+
</tr>
|
202
|
+
<tr>
|
203
|
+
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
204
|
+
<td>A valid <span class="type">GVariant</span> type string, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
209
|
+
<td>A pointer to a <span class="type">GError</span>
|
210
|
+
</td>
|
211
|
+
</tr>
|
212
|
+
<tr>
|
213
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
214
|
+
<td>A newly created <span class="type">GVariant</span> compliant with
|
215
|
+
<em class="parameter"><code>signature</code></em>, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
</tbody>
|
219
|
+
</table></div>
|
220
|
+
<p class="since">Since 0.14</p>
|
221
|
+
</div>
|
222
|
+
<hr>
|
223
|
+
<div class="refsect2">
|
224
|
+
<a name="json-gvariant-deserialize-data"></a><h3>json_gvariant_deserialize_data ()</h3>
|
225
|
+
<pre class="programlisting"><span class="returnvalue">GVariant</span> * json_gvariant_deserialize_data (<em class="parameter"><code>const <span class="type">gchar</span> *json</code></em>,
|
226
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
227
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
228
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
229
|
+
<p>
|
230
|
+
Converts a JSON string to a <span class="type">GVariant</span> value. This method works exactly
|
231
|
+
like <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a>, but takes a JSON encoded string instead.
|
232
|
+
The string is first converted to a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> using <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>, and then
|
233
|
+
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> is called.
|
234
|
+
</p>
|
235
|
+
<div class="variablelist"><table border="0">
|
236
|
+
<col align="left" valign="top">
|
237
|
+
<tbody>
|
238
|
+
<tr>
|
239
|
+
<td><p><span class="term"><em class="parameter"><code>json</code></em> :</span></p></td>
|
240
|
+
<td>A JSON data string</td>
|
241
|
+
</tr>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
244
|
+
<td>The length of <em class="parameter"><code>json</code></em>, or -1 if <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>-terminated</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td><p><span class="term"><em class="parameter"><code>signature</code></em> :</span></p></td>
|
248
|
+
<td>A valid <span class="type">GVariant</span> type string, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
253
|
+
<td>A pointer to a <span class="type">GError</span>
|
254
|
+
</td>
|
255
|
+
</tr>
|
256
|
+
<tr>
|
257
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
258
|
+
<td>A newly created <span class="type">GVariant</span> compliant with
|
259
|
+
<em class="parameter"><code>signature</code></em>, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> on error. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
</tbody>
|
263
|
+
</table></div>
|
264
|
+
<p class="since">Since 0.14</p>
|
265
|
+
</div>
|
266
|
+
</div>
|
267
|
+
</div>
|
268
|
+
<div class="footer">
|
269
|
+
<hr>
|
270
|
+
Generated by GTK-Doc V1.18.1</div>
|
271
|
+
</body>
|
272
|
+
</html>
|
@@ -0,0 +1,942 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>JSON Node</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Data Types">
|
9
|
+
<link rel="prev" href="ch01.html" title="Data Types">
|
10
|
+
<link rel="next" href="json-glib-JSON-Array.html" title="JSON Array">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (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="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">JSON-GLib Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="json-glib-JSON-Array.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#json-glib-JSON-Node.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#json-glib-JSON-Node.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="json-glib-JSON-Node"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="json-glib-JSON-Node.top_of_page"></a>JSON Node</span></h2>
|
34
|
+
<p>JSON Node — Node in a JSON object model</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="json-glib-JSON-Node.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">enum <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType">JsonNodeType</a>;
|
41
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode">JsonNode</a>;
|
42
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()">JSON_NODE_TYPE</a> (node)
|
43
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS:CAPS" title="JSON_NODE_HOLDS()">JSON_NODE_HOLDS</a> (node,
|
44
|
+
t)
|
45
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-VALUE:CAPS" title="JSON_NODE_HOLDS_VALUE()">JSON_NODE_HOLDS_VALUE</a> (node)
|
46
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-OBJECT:CAPS" title="JSON_NODE_HOLDS_OBJECT()">JSON_NODE_HOLDS_OBJECT</a> (node)
|
47
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-ARRAY:CAPS" title="JSON_NODE_HOLDS_ARRAY()">JSON_NODE_HOLDS_ARRAY</a> (node)
|
48
|
+
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-NULL:CAPS" title="JSON_NODE_HOLDS_NULL()">JSON_NODE_HOLDS_NULL</a> (node)
|
49
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-new" title="json_node_new ()">json_node_new</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> type</code></em>);
|
50
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-copy" title="json_node_copy ()">json_node_copy</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
51
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()">json_node_free</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
52
|
+
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-array" title="json_node_set_array ()">json_node_set_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
54
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
55
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()">json_node_take_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
56
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);
|
57
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()">json_node_get_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
58
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-array" title="json_node_dup_array ()">json_node_dup_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
59
|
+
|
60
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-object" title="json_node_set_object ()">json_node_set_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
61
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);
|
62
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()">json_node_take_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
63
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);
|
64
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()">json_node_get_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
65
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-object" title="json_node_dup_object ()">json_node_dup_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
66
|
+
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-value" title="json_node_set_value ()">json_node_set_value</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
68
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-value" title="json_node_get_value ()">json_node_get_value</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
70
|
+
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);
|
71
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()">json_node_set_boolean</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
72
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
|
73
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()">json_node_get_boolean</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()">json_node_set_double</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
75
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);
|
76
|
+
<span class="returnvalue">gdouble</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()">json_node_get_double</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
77
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()">json_node_set_int</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
78
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);
|
79
|
+
<span class="returnvalue">gint64</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()">json_node_get_int</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()">json_node_set_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
81
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
|
82
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()">json_node_get_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
83
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-string" title="json_node_dup_string ()">json_node_dup_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
84
|
+
|
85
|
+
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-parent" title="json_node_set_parent ()">json_node_set_parent</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
86
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *parent</code></em>);
|
87
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-parent" title="json_node_get_parent ()">json_node_get_parent</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
88
|
+
const <span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-type-name" title="json_node_type_name ()">json_node_type_name</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
89
|
+
<span class="returnvalue">GType</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-value-type" title="json_node_get_value_type ()">json_node_get_value_type</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
90
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a> <a class="link" href="json-glib-JSON-Node.html#json-node-get-node-type" title="json_node_get_node_type ()">json_node_get_node_type</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
91
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Node.html#json-node-is-null" title="json_node_is_null ()">json_node_is_null</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
92
|
+
</pre>
|
93
|
+
</div>
|
94
|
+
<div class="refsect1">
|
95
|
+
<a name="json-glib-JSON-Node.description"></a><h2>Description</h2>
|
96
|
+
<p>
|
97
|
+
A <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> is a generic container of elements inside a JSON stream.
|
98
|
+
It can contain fundamental types (integers, booleans, floating point
|
99
|
+
numbers, strings) and complex types (arrays and objects).
|
100
|
+
</p>
|
101
|
+
<p>
|
102
|
+
When parsing a JSON data stream you extract the root node and walk
|
103
|
+
the node tree by retrieving the type of data contained inside the
|
104
|
+
node with the <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()"><code class="literal">JSON_NODE_TYPE</code></a> macro. If the node contains a fundamental
|
105
|
+
type you can retrieve a copy of the <span class="type">GValue</span> holding it with the
|
106
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-value" title="json_node_get_value ()"><code class="function">json_node_get_value()</code></a> function, and then use the <span class="type">GValue</span> API to extract
|
107
|
+
the data; if the node contains a complex type you can retrieve the
|
108
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> or the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> using <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()"><code class="function">json_node_get_object()</code></a> or
|
109
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()"><code class="function">json_node_get_array()</code></a> respectively, and then retrieve the nodes
|
110
|
+
they contain.
|
111
|
+
</p>
|
112
|
+
</div>
|
113
|
+
<div class="refsect1">
|
114
|
+
<a name="json-glib-JSON-Node.details"></a><h2>Details</h2>
|
115
|
+
<div class="refsect2">
|
116
|
+
<a name="JsonNodeType"></a><h3>enum JsonNodeType</h3>
|
117
|
+
<pre class="programlisting">typedef enum {
|
118
|
+
JSON_NODE_OBJECT,
|
119
|
+
JSON_NODE_ARRAY,
|
120
|
+
JSON_NODE_VALUE,
|
121
|
+
JSON_NODE_NULL
|
122
|
+
} JsonNodeType;
|
123
|
+
</pre>
|
124
|
+
<p>
|
125
|
+
Indicates the content of a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
126
|
+
</p>
|
127
|
+
<div class="variablelist"><table border="0">
|
128
|
+
<col align="left" valign="top">
|
129
|
+
<tbody>
|
130
|
+
<tr>
|
131
|
+
<td><p><a name="JSON-NODE-OBJECT:CAPS"></a><span class="term"><code class="literal">JSON_NODE_OBJECT</code></span></p></td>
|
132
|
+
<td>The node contains a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
133
|
+
</td>
|
134
|
+
</tr>
|
135
|
+
<tr>
|
136
|
+
<td><p><a name="JSON-NODE-ARRAY:CAPS"></a><span class="term"><code class="literal">JSON_NODE_ARRAY</code></span></p></td>
|
137
|
+
<td>The node contains a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr>
|
141
|
+
<td><p><a name="JSON-NODE-VALUE:CAPS"></a><span class="term"><code class="literal">JSON_NODE_VALUE</code></span></p></td>
|
142
|
+
<td>The node contains a fundamental type
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td><p><a name="JSON-NODE-NULL:CAPS"></a><span class="term"><code class="literal">JSON_NODE_NULL</code></span></p></td>
|
147
|
+
<td>Special type, for nodes containing null
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
</tbody>
|
151
|
+
</table></div>
|
152
|
+
</div>
|
153
|
+
<hr>
|
154
|
+
<div class="refsect2">
|
155
|
+
<a name="JsonNode"></a><h3>JsonNode</h3>
|
156
|
+
<pre class="programlisting">typedef struct _JsonNode JsonNode;</pre>
|
157
|
+
<p>
|
158
|
+
A generic container of JSON data types. The contents of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
159
|
+
structure are private and should only be accessed via the provided
|
160
|
+
functions and never directly.
|
161
|
+
</p>
|
162
|
+
</div>
|
163
|
+
<hr>
|
164
|
+
<div class="refsect2">
|
165
|
+
<a name="JSON-NODE-TYPE:CAPS"></a><h3>JSON_NODE_TYPE()</h3>
|
166
|
+
<pre class="programlisting">#define JSON_NODE_TYPE(node) (json_node_get_node_type ((node)))
|
167
|
+
</pre>
|
168
|
+
<p>
|
169
|
+
Evaluates to the <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> contained by <em class="parameter"><code>node</code></em>
|
170
|
+
</p>
|
171
|
+
<div class="variablelist"><table border="0">
|
172
|
+
<col align="left" valign="top">
|
173
|
+
<tbody><tr>
|
174
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
175
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
176
|
+
</td>
|
177
|
+
</tr></tbody>
|
178
|
+
</table></div>
|
179
|
+
</div>
|
180
|
+
<hr>
|
181
|
+
<div class="refsect2">
|
182
|
+
<a name="JSON-NODE-HOLDS:CAPS"></a><h3>JSON_NODE_HOLDS()</h3>
|
183
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS(node,t) (json_node_get_node_type ((node)) == (t))
|
184
|
+
</pre>
|
185
|
+
<p>
|
186
|
+
Evaluates to <code class="literal">TRUE</code> if the <em class="parameter"><code>node</code></em> holds type <em class="parameter"><code>t</code></em>
|
187
|
+
</p>
|
188
|
+
<div class="variablelist"><table border="0">
|
189
|
+
<col align="left" valign="top">
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
193
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
194
|
+
</td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
|
198
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a>
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
</tbody>
|
202
|
+
</table></div>
|
203
|
+
<p class="since">Since 0.10</p>
|
204
|
+
</div>
|
205
|
+
<hr>
|
206
|
+
<div class="refsect2">
|
207
|
+
<a name="JSON-NODE-HOLDS-VALUE:CAPS"></a><h3>JSON_NODE_HOLDS_VALUE()</h3>
|
208
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_VALUE(node) (JSON_NODE_HOLDS ((node), JSON_NODE_VALUE))
|
209
|
+
</pre>
|
210
|
+
<p>
|
211
|
+
Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em> holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
212
|
+
</p>
|
213
|
+
<div class="variablelist"><table border="0">
|
214
|
+
<col align="left" valign="top">
|
215
|
+
<tbody><tr>
|
216
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
217
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
218
|
+
</td>
|
219
|
+
</tr></tbody>
|
220
|
+
</table></div>
|
221
|
+
<p class="since">Since 0.10</p>
|
222
|
+
</div>
|
223
|
+
<hr>
|
224
|
+
<div class="refsect2">
|
225
|
+
<a name="JSON-NODE-HOLDS-OBJECT:CAPS"></a><h3>JSON_NODE_HOLDS_OBJECT()</h3>
|
226
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_OBJECT(node) (JSON_NODE_HOLDS ((node), JSON_NODE_OBJECT))
|
227
|
+
</pre>
|
228
|
+
<p>
|
229
|
+
Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em> holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a>
|
230
|
+
</p>
|
231
|
+
<div class="variablelist"><table border="0">
|
232
|
+
<col align="left" valign="top">
|
233
|
+
<tbody><tr>
|
234
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
235
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
236
|
+
</td>
|
237
|
+
</tr></tbody>
|
238
|
+
</table></div>
|
239
|
+
<p class="since">Since 0.10</p>
|
240
|
+
</div>
|
241
|
+
<hr>
|
242
|
+
<div class="refsect2">
|
243
|
+
<a name="JSON-NODE-HOLDS-ARRAY:CAPS"></a><h3>JSON_NODE_HOLDS_ARRAY()</h3>
|
244
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_ARRAY(node) (JSON_NODE_HOLDS ((node), JSON_NODE_ARRAY))
|
245
|
+
</pre>
|
246
|
+
<p>
|
247
|
+
Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em> holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a>
|
248
|
+
</p>
|
249
|
+
<div class="variablelist"><table border="0">
|
250
|
+
<col align="left" valign="top">
|
251
|
+
<tbody><tr>
|
252
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
253
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
254
|
+
</td>
|
255
|
+
</tr></tbody>
|
256
|
+
</table></div>
|
257
|
+
<p class="since">Since 0.10</p>
|
258
|
+
</div>
|
259
|
+
<hr>
|
260
|
+
<div class="refsect2">
|
261
|
+
<a name="JSON-NODE-HOLDS-NULL:CAPS"></a><h3>JSON_NODE_HOLDS_NULL()</h3>
|
262
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_NULL(node) (JSON_NODE_HOLDS ((node), JSON_NODE_NULL))
|
263
|
+
</pre>
|
264
|
+
<p>
|
265
|
+
Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em> holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
266
|
+
</p>
|
267
|
+
<div class="variablelist"><table border="0">
|
268
|
+
<col align="left" valign="top">
|
269
|
+
<tbody><tr>
|
270
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
271
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
272
|
+
</td>
|
273
|
+
</tr></tbody>
|
274
|
+
</table></div>
|
275
|
+
<p class="since">Since 0.10</p>
|
276
|
+
</div>
|
277
|
+
<hr>
|
278
|
+
<div class="refsect2">
|
279
|
+
<a name="json-node-new"></a><h3>json_node_new ()</h3>
|
280
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_node_new (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> type</code></em>);</pre>
|
281
|
+
<p>
|
282
|
+
Creates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>type</code></em>.
|
283
|
+
</p>
|
284
|
+
<div class="variablelist"><table border="0">
|
285
|
+
<col align="left" valign="top">
|
286
|
+
<tbody>
|
287
|
+
<tr>
|
288
|
+
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
|
289
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a>
|
290
|
+
</td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
294
|
+
<td>the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
295
|
+
</td>
|
296
|
+
</tr>
|
297
|
+
</tbody>
|
298
|
+
</table></div>
|
299
|
+
</div>
|
300
|
+
<hr>
|
301
|
+
<div class="refsect2">
|
302
|
+
<a name="json-node-copy"></a><h3>json_node_copy ()</h3>
|
303
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_node_copy (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
304
|
+
<p>
|
305
|
+
Copies <em class="parameter"><code>node</code></em>. If the node contains complex data types then the reference
|
306
|
+
count of the objects is increased.
|
307
|
+
</p>
|
308
|
+
<div class="variablelist"><table border="0">
|
309
|
+
<col align="left" valign="top">
|
310
|
+
<tbody>
|
311
|
+
<tr>
|
312
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
313
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
314
|
+
</td>
|
315
|
+
</tr>
|
316
|
+
<tr>
|
317
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
318
|
+
<td>the copied <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
319
|
+
</td>
|
320
|
+
</tr>
|
321
|
+
</tbody>
|
322
|
+
</table></div>
|
323
|
+
</div>
|
324
|
+
<hr>
|
325
|
+
<div class="refsect2">
|
326
|
+
<a name="json-node-free"></a><h3>json_node_free ()</h3>
|
327
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_free (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
328
|
+
<p>
|
329
|
+
Frees the resources allocated by <em class="parameter"><code>node</code></em>.
|
330
|
+
</p>
|
331
|
+
<div class="variablelist"><table border="0">
|
332
|
+
<col align="left" valign="top">
|
333
|
+
<tbody><tr>
|
334
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
335
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
336
|
+
</td>
|
337
|
+
</tr></tbody>
|
338
|
+
</table></div>
|
339
|
+
</div>
|
340
|
+
<hr>
|
341
|
+
<div class="refsect2">
|
342
|
+
<a name="json-node-set-array"></a><h3>json_node_set_array ()</h3>
|
343
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
344
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
345
|
+
<p>
|
346
|
+
Sets <em class="parameter"><code>array</code></em> inside <em class="parameter"><code>node</code></em> and increases the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> reference count
|
347
|
+
</p>
|
348
|
+
<div class="variablelist"><table border="0">
|
349
|
+
<col align="left" valign="top">
|
350
|
+
<tbody>
|
351
|
+
<tr>
|
352
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
353
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
358
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
359
|
+
</td>
|
360
|
+
</tr>
|
361
|
+
</tbody>
|
362
|
+
</table></div>
|
363
|
+
</div>
|
364
|
+
<hr>
|
365
|
+
<div class="refsect2">
|
366
|
+
<a name="json-node-take-array"></a><h3>json_node_take_array ()</h3>
|
367
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_take_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
368
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
369
|
+
<p>
|
370
|
+
Sets <em class="parameter"><code>array</code></em> into <em class="parameter"><code>node</code></em> without increasing the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> reference count.
|
371
|
+
</p>
|
372
|
+
<div class="variablelist"><table border="0">
|
373
|
+
<col align="left" valign="top">
|
374
|
+
<tbody>
|
375
|
+
<tr>
|
376
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
377
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
378
|
+
</td>
|
379
|
+
</tr>
|
380
|
+
<tr>
|
381
|
+
<td><p><span class="term"><em class="parameter"><code>array</code></em> :</span></p></td>
|
382
|
+
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
383
|
+
</td>
|
384
|
+
</tr>
|
385
|
+
</tbody>
|
386
|
+
</table></div>
|
387
|
+
</div>
|
388
|
+
<hr>
|
389
|
+
<div class="refsect2">
|
390
|
+
<a name="json-node-get-array"></a><h3>json_node_get_array ()</h3>
|
391
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_node_get_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
392
|
+
<p>
|
393
|
+
Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
394
|
+
</p>
|
395
|
+
<div class="variablelist"><table border="0">
|
396
|
+
<col align="left" valign="top">
|
397
|
+
<tbody>
|
398
|
+
<tr>
|
399
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
400
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
401
|
+
</td>
|
402
|
+
</tr>
|
403
|
+
<tr>
|
404
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
405
|
+
<td>the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
406
|
+
</td>
|
407
|
+
</tr>
|
408
|
+
</tbody>
|
409
|
+
</table></div>
|
410
|
+
</div>
|
411
|
+
<hr>
|
412
|
+
<div class="refsect2">
|
413
|
+
<a name="json-node-dup-array"></a><h3>json_node_dup_array ()</h3>
|
414
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * json_node_dup_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
415
|
+
<p>
|
416
|
+
Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> and returns it
|
417
|
+
with its reference count increased by one.
|
418
|
+
</p>
|
419
|
+
<div class="variablelist"><table border="0">
|
420
|
+
<col align="left" valign="top">
|
421
|
+
<tbody>
|
422
|
+
<tr>
|
423
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
424
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
<tr>
|
428
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
429
|
+
<td>the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> with its reference
|
430
|
+
count increased. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
431
|
+
</td>
|
432
|
+
</tr>
|
433
|
+
</tbody>
|
434
|
+
</table></div>
|
435
|
+
</div>
|
436
|
+
<hr>
|
437
|
+
<div class="refsect2">
|
438
|
+
<a name="json-node-set-object"></a><h3>json_node_set_object ()</h3>
|
439
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
440
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
|
441
|
+
<p>
|
442
|
+
Sets <em class="parameter"><code>objects</code></em> inside <em class="parameter"><code>node</code></em>. The reference count of <em class="parameter"><code>object</code></em> is increased.
|
443
|
+
</p>
|
444
|
+
<div class="variablelist"><table border="0">
|
445
|
+
<col align="left" valign="top">
|
446
|
+
<tbody>
|
447
|
+
<tr>
|
448
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
449
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
450
|
+
</td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
454
|
+
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
455
|
+
</td>
|
456
|
+
</tr>
|
457
|
+
</tbody>
|
458
|
+
</table></div>
|
459
|
+
</div>
|
460
|
+
<hr>
|
461
|
+
<div class="refsect2">
|
462
|
+
<a name="json-node-take-object"></a><h3>json_node_take_object ()</h3>
|
463
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_take_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
464
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
|
465
|
+
<p>
|
466
|
+
Sets <em class="parameter"><code>object</code></em> inside <em class="parameter"><code>node</code></em>. The reference count of <em class="parameter"><code>object</code></em> is not increased.
|
467
|
+
</p>
|
468
|
+
<div class="variablelist"><table border="0">
|
469
|
+
<col align="left" valign="top">
|
470
|
+
<tbody>
|
471
|
+
<tr>
|
472
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
473
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
474
|
+
</td>
|
475
|
+
</tr>
|
476
|
+
<tr>
|
477
|
+
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
478
|
+
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
</tbody>
|
482
|
+
</table></div>
|
483
|
+
</div>
|
484
|
+
<hr>
|
485
|
+
<div class="refsect2">
|
486
|
+
<a name="json-node-get-object"></a><h3>json_node_get_object ()</h3>
|
487
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * json_node_get_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
488
|
+
<p>
|
489
|
+
Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
490
|
+
</p>
|
491
|
+
<div class="variablelist"><table border="0">
|
492
|
+
<col align="left" valign="top">
|
493
|
+
<tbody>
|
494
|
+
<tr>
|
495
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
496
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
497
|
+
</td>
|
498
|
+
</tr>
|
499
|
+
<tr>
|
500
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
501
|
+
<td>the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
502
|
+
</td>
|
503
|
+
</tr>
|
504
|
+
</tbody>
|
505
|
+
</table></div>
|
506
|
+
</div>
|
507
|
+
<hr>
|
508
|
+
<div class="refsect2">
|
509
|
+
<a name="json-node-dup-object"></a><h3>json_node_dup_object ()</h3>
|
510
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * json_node_dup_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
511
|
+
<p>
|
512
|
+
Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> inside <em class="parameter"><code>node</code></em>. The reference count of
|
513
|
+
the returned object is increased.
|
514
|
+
</p>
|
515
|
+
<div class="variablelist"><table border="0">
|
516
|
+
<col align="left" valign="top">
|
517
|
+
<tbody>
|
518
|
+
<tr>
|
519
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
520
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
521
|
+
</td>
|
522
|
+
</tr>
|
523
|
+
<tr>
|
524
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
525
|
+
<td>the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
526
|
+
</td>
|
527
|
+
</tr>
|
528
|
+
</tbody>
|
529
|
+
</table></div>
|
530
|
+
</div>
|
531
|
+
<hr>
|
532
|
+
<div class="refsect2">
|
533
|
+
<a name="json-node-set-value"></a><h3>json_node_set_value ()</h3>
|
534
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
535
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
536
|
+
<p>
|
537
|
+
Sets <em class="parameter"><code>value</code></em> inside <em class="parameter"><code>node</code></em>. The passed <span class="type">GValue</span> is copied into the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
538
|
+
</p>
|
539
|
+
<div class="variablelist"><table border="0">
|
540
|
+
<col align="left" valign="top">
|
541
|
+
<tbody>
|
542
|
+
<tr>
|
543
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
544
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
545
|
+
</td>
|
546
|
+
</tr>
|
547
|
+
<tr>
|
548
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
549
|
+
<td>the <span class="type">GValue</span> to set</td>
|
550
|
+
</tr>
|
551
|
+
</tbody>
|
552
|
+
</table></div>
|
553
|
+
</div>
|
554
|
+
<hr>
|
555
|
+
<div class="refsect2">
|
556
|
+
<a name="json-node-get-value"></a><h3>json_node_get_value ()</h3>
|
557
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_get_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
558
|
+
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
559
|
+
<p>
|
560
|
+
Retrieves a value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> and copies into <em class="parameter"><code>value</code></em>. When done
|
561
|
+
using it, call <code class="function">g_value_unset()</code> on the <span class="type">GValue</span>.
|
562
|
+
</p>
|
563
|
+
<div class="variablelist"><table border="0">
|
564
|
+
<col align="left" valign="top">
|
565
|
+
<tbody>
|
566
|
+
<tr>
|
567
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
568
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
569
|
+
</td>
|
570
|
+
</tr>
|
571
|
+
<tr>
|
572
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
573
|
+
<td>return location for an uninitialized value. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span>
|
574
|
+
</td>
|
575
|
+
</tr>
|
576
|
+
</tbody>
|
577
|
+
</table></div>
|
578
|
+
</div>
|
579
|
+
<hr>
|
580
|
+
<div class="refsect2">
|
581
|
+
<a name="json-node-set-boolean"></a><h3>json_node_set_boolean ()</h3>
|
582
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
583
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
584
|
+
<p>
|
585
|
+
Sets <em class="parameter"><code>value</code></em> as the boolean content of the <em class="parameter"><code>node</code></em>, replacing any existing
|
586
|
+
content.
|
587
|
+
</p>
|
588
|
+
<div class="variablelist"><table border="0">
|
589
|
+
<col align="left" valign="top">
|
590
|
+
<tbody>
|
591
|
+
<tr>
|
592
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
593
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
594
|
+
</td>
|
595
|
+
</tr>
|
596
|
+
<tr>
|
597
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
598
|
+
<td>a boolean value</td>
|
599
|
+
</tr>
|
600
|
+
</tbody>
|
601
|
+
</table></div>
|
602
|
+
</div>
|
603
|
+
<hr>
|
604
|
+
<div class="refsect2">
|
605
|
+
<a name="json-node-get-boolean"></a><h3>json_node_get_boolean ()</h3>
|
606
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> json_node_get_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
607
|
+
<p>
|
608
|
+
Gets the boolean value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
609
|
+
</p>
|
610
|
+
<div class="variablelist"><table border="0">
|
611
|
+
<col align="left" valign="top">
|
612
|
+
<tbody>
|
613
|
+
<tr>
|
614
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
615
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
616
|
+
</td>
|
617
|
+
</tr>
|
618
|
+
<tr>
|
619
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
620
|
+
<td>a boolean value.</td>
|
621
|
+
</tr>
|
622
|
+
</tbody>
|
623
|
+
</table></div>
|
624
|
+
</div>
|
625
|
+
<hr>
|
626
|
+
<div class="refsect2">
|
627
|
+
<a name="json-node-set-double"></a><h3>json_node_set_double ()</h3>
|
628
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
629
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
630
|
+
<p>
|
631
|
+
Sets <em class="parameter"><code>value</code></em> as the double content of the <em class="parameter"><code>node</code></em>, replacing any existing
|
632
|
+
content.
|
633
|
+
</p>
|
634
|
+
<div class="variablelist"><table border="0">
|
635
|
+
<col align="left" valign="top">
|
636
|
+
<tbody>
|
637
|
+
<tr>
|
638
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
639
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
640
|
+
</td>
|
641
|
+
</tr>
|
642
|
+
<tr>
|
643
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
644
|
+
<td>a double value</td>
|
645
|
+
</tr>
|
646
|
+
</tbody>
|
647
|
+
</table></div>
|
648
|
+
</div>
|
649
|
+
<hr>
|
650
|
+
<div class="refsect2">
|
651
|
+
<a name="json-node-get-double"></a><h3>json_node_get_double ()</h3>
|
652
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span> json_node_get_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
653
|
+
<p>
|
654
|
+
Gets the double value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
655
|
+
</p>
|
656
|
+
<div class="variablelist"><table border="0">
|
657
|
+
<col align="left" valign="top">
|
658
|
+
<tbody>
|
659
|
+
<tr>
|
660
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
661
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
662
|
+
</td>
|
663
|
+
</tr>
|
664
|
+
<tr>
|
665
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
666
|
+
<td>a double value.</td>
|
667
|
+
</tr>
|
668
|
+
</tbody>
|
669
|
+
</table></div>
|
670
|
+
</div>
|
671
|
+
<hr>
|
672
|
+
<div class="refsect2">
|
673
|
+
<a name="json-node-set-int"></a><h3>json_node_set_int ()</h3>
|
674
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
675
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
676
|
+
<p>
|
677
|
+
Sets <em class="parameter"><code>value</code></em> as the integer content of the <em class="parameter"><code>node</code></em>, replacing any existing
|
678
|
+
content.
|
679
|
+
</p>
|
680
|
+
<div class="variablelist"><table border="0">
|
681
|
+
<col align="left" valign="top">
|
682
|
+
<tbody>
|
683
|
+
<tr>
|
684
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
685
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
686
|
+
</td>
|
687
|
+
</tr>
|
688
|
+
<tr>
|
689
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
690
|
+
<td>an integer value</td>
|
691
|
+
</tr>
|
692
|
+
</tbody>
|
693
|
+
</table></div>
|
694
|
+
</div>
|
695
|
+
<hr>
|
696
|
+
<div class="refsect2">
|
697
|
+
<a name="json-node-get-int"></a><h3>json_node_get_int ()</h3>
|
698
|
+
<pre class="programlisting"><span class="returnvalue">gint64</span> json_node_get_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
699
|
+
<p>
|
700
|
+
Gets the integer value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
701
|
+
</p>
|
702
|
+
<div class="variablelist"><table border="0">
|
703
|
+
<col align="left" valign="top">
|
704
|
+
<tbody>
|
705
|
+
<tr>
|
706
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
707
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
708
|
+
</td>
|
709
|
+
</tr>
|
710
|
+
<tr>
|
711
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
712
|
+
<td>an integer value.</td>
|
713
|
+
</tr>
|
714
|
+
</tbody>
|
715
|
+
</table></div>
|
716
|
+
</div>
|
717
|
+
<hr>
|
718
|
+
<div class="refsect2">
|
719
|
+
<a name="json-node-set-string"></a><h3>json_node_set_string ()</h3>
|
720
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
721
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
722
|
+
<p>
|
723
|
+
Sets <em class="parameter"><code>value</code></em> as the string content of the <em class="parameter"><code>node</code></em>, replacing any existing
|
724
|
+
content.
|
725
|
+
</p>
|
726
|
+
<div class="variablelist"><table border="0">
|
727
|
+
<col align="left" valign="top">
|
728
|
+
<tbody>
|
729
|
+
<tr>
|
730
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
731
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
732
|
+
</td>
|
733
|
+
</tr>
|
734
|
+
<tr>
|
735
|
+
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
736
|
+
<td>a string value</td>
|
737
|
+
</tr>
|
738
|
+
</tbody>
|
739
|
+
</table></div>
|
740
|
+
</div>
|
741
|
+
<hr>
|
742
|
+
<div class="refsect2">
|
743
|
+
<a name="json-node-get-string"></a><h3>json_node_get_string ()</h3>
|
744
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * json_node_get_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
745
|
+
<p>
|
746
|
+
Gets the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
747
|
+
</p>
|
748
|
+
<div class="variablelist"><table border="0">
|
749
|
+
<col align="left" valign="top">
|
750
|
+
<tbody>
|
751
|
+
<tr>
|
752
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
753
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
754
|
+
</td>
|
755
|
+
</tr>
|
756
|
+
<tr>
|
757
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
758
|
+
<td>a string value.</td>
|
759
|
+
</tr>
|
760
|
+
</tbody>
|
761
|
+
</table></div>
|
762
|
+
</div>
|
763
|
+
<hr>
|
764
|
+
<div class="refsect2">
|
765
|
+
<a name="json-node-dup-string"></a><h3>json_node_dup_string ()</h3>
|
766
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * json_node_dup_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
767
|
+
<p>
|
768
|
+
Gets a copy of the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
769
|
+
</p>
|
770
|
+
<div class="variablelist"><table border="0">
|
771
|
+
<col align="left" valign="top">
|
772
|
+
<tbody>
|
773
|
+
<tr>
|
774
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
775
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
776
|
+
</td>
|
777
|
+
</tr>
|
778
|
+
<tr>
|
779
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
780
|
+
<td>a newly allocated string containing a copy
|
781
|
+
of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> contents. Use <code class="function">g_free()</code> to free the allocated resources. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
782
|
+
</td>
|
783
|
+
</tr>
|
784
|
+
</tbody>
|
785
|
+
</table></div>
|
786
|
+
</div>
|
787
|
+
<hr>
|
788
|
+
<div class="refsect2">
|
789
|
+
<a name="json-node-set-parent"></a><h3>json_node_set_parent ()</h3>
|
790
|
+
<pre class="programlisting"><span class="returnvalue">void</span> json_node_set_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
791
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *parent</code></em>);</pre>
|
792
|
+
<p>
|
793
|
+
Sets the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>
|
794
|
+
</p>
|
795
|
+
<div class="variablelist"><table border="0">
|
796
|
+
<col align="left" valign="top">
|
797
|
+
<tbody>
|
798
|
+
<tr>
|
799
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
800
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
801
|
+
</td>
|
802
|
+
</tr>
|
803
|
+
<tr>
|
804
|
+
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
|
805
|
+
<td>the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
806
|
+
</td>
|
807
|
+
</tr>
|
808
|
+
</tbody>
|
809
|
+
</table></div>
|
810
|
+
<p class="since">Since 0.8</p>
|
811
|
+
</div>
|
812
|
+
<hr>
|
813
|
+
<div class="refsect2">
|
814
|
+
<a name="json-node-get-parent"></a><h3>json_node_get_parent ()</h3>
|
815
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * json_node_get_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
816
|
+
<p>
|
817
|
+
Retrieves the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>.
|
818
|
+
</p>
|
819
|
+
<div class="variablelist"><table border="0">
|
820
|
+
<col align="left" valign="top">
|
821
|
+
<tbody>
|
822
|
+
<tr>
|
823
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
824
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
825
|
+
</td>
|
826
|
+
</tr>
|
827
|
+
<tr>
|
828
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
829
|
+
<td>the parent node, or <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>node</code></em> is
|
830
|
+
the root node. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
831
|
+
</td>
|
832
|
+
</tr>
|
833
|
+
</tbody>
|
834
|
+
</table></div>
|
835
|
+
</div>
|
836
|
+
<hr>
|
837
|
+
<div class="refsect2">
|
838
|
+
<a name="json-node-type-name"></a><h3>json_node_type_name ()</h3>
|
839
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> * json_node_type_name (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
840
|
+
<p>
|
841
|
+
Retrieves the user readable name of the data type contained by <em class="parameter"><code>node</code></em>.
|
842
|
+
</p>
|
843
|
+
<div class="variablelist"><table border="0">
|
844
|
+
<col align="left" valign="top">
|
845
|
+
<tbody>
|
846
|
+
<tr>
|
847
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
848
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
849
|
+
</td>
|
850
|
+
</tr>
|
851
|
+
<tr>
|
852
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
853
|
+
<td>a string containing the name of the type. The returned string
|
854
|
+
is owned by the node and should never be modified or freed</td>
|
855
|
+
</tr>
|
856
|
+
</tbody>
|
857
|
+
</table></div>
|
858
|
+
</div>
|
859
|
+
<hr>
|
860
|
+
<div class="refsect2">
|
861
|
+
<a name="json-node-get-value-type"></a><h3>json_node_get_value_type ()</h3>
|
862
|
+
<pre class="programlisting"><span class="returnvalue">GType</span> json_node_get_value_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
863
|
+
<p>
|
864
|
+
Returns the <span class="type">GType</span> of the payload of the node.
|
865
|
+
</p>
|
866
|
+
<div class="variablelist"><table border="0">
|
867
|
+
<col align="left" valign="top">
|
868
|
+
<tbody>
|
869
|
+
<tr>
|
870
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
871
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
872
|
+
</td>
|
873
|
+
</tr>
|
874
|
+
<tr>
|
875
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
876
|
+
<td>a <span class="type">GType</span> for the payload.</td>
|
877
|
+
</tr>
|
878
|
+
</tbody>
|
879
|
+
</table></div>
|
880
|
+
<p class="since">Since 0.4</p>
|
881
|
+
</div>
|
882
|
+
<hr>
|
883
|
+
<div class="refsect2">
|
884
|
+
<a name="json-node-get-node-type"></a><h3>json_node_get_node_type ()</h3>
|
885
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a> json_node_get_node_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
886
|
+
<p>
|
887
|
+
Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> of <em class="parameter"><code>node</code></em>
|
888
|
+
</p>
|
889
|
+
<div class="variablelist"><table border="0">
|
890
|
+
<col align="left" valign="top">
|
891
|
+
<tbody>
|
892
|
+
<tr>
|
893
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
894
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
<tr>
|
898
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
899
|
+
<td>the type of the node</td>
|
900
|
+
</tr>
|
901
|
+
</tbody>
|
902
|
+
</table></div>
|
903
|
+
<p class="since">Since 0.8</p>
|
904
|
+
</div>
|
905
|
+
<hr>
|
906
|
+
<div class="refsect2">
|
907
|
+
<a name="json-node-is-null"></a><h3>json_node_is_null ()</h3>
|
908
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
909
|
+
<p>
|
910
|
+
Checks whether <em class="parameter"><code>node</code></em> is a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>
|
911
|
+
</p>
|
912
|
+
<p>
|
913
|
+
</p>
|
914
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
915
|
+
<h3 class="title">Note</h3>A null node is not the same as a <a href="/home/ebassi/gnome3/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
916
|
+
</div>
|
917
|
+
<p>
|
918
|
+
</p>
|
919
|
+
<div class="variablelist"><table border="0">
|
920
|
+
<col align="left" valign="top">
|
921
|
+
<tbody>
|
922
|
+
<tr>
|
923
|
+
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
|
924
|
+
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
925
|
+
</td>
|
926
|
+
</tr>
|
927
|
+
<tr>
|
928
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
929
|
+
<td>
|
930
|
+
<code class="literal">TRUE</code> if the node is null</td>
|
931
|
+
</tr>
|
932
|
+
</tbody>
|
933
|
+
</table></div>
|
934
|
+
<p class="since">Since 0.8</p>
|
935
|
+
</div>
|
936
|
+
</div>
|
937
|
+
</div>
|
938
|
+
<div class="footer">
|
939
|
+
<hr>
|
940
|
+
Generated by GTK-Doc V1.18.1</div>
|
941
|
+
</body>
|
942
|
+
</html>
|