clutter 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +147 -0
- data/lib/clutter.rb +169 -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/brightness-contrast-effect.rb +44 -0
- data/lib/clutter/cairo.rb +24 -0
- data/lib/clutter/clutter.rb +25 -0
- data/lib/clutter/color.rb +83 -0
- data/lib/clutter/event.rb +21 -0
- data/lib/clutter/point.rb +25 -0
- data/lib/clutter/text-buffer.rb +36 -0
- data/lib/clutter/text.rb +23 -0
- data/lib/clutter/threads.rb +38 -0
- data/sample/basic-actor.rb +123 -0
- data/sample/bin-layout.rb +213 -0
- data/sample/box-layout.rb +194 -0
- data/sample/canvas.rb +115 -0
- data/sample/constraints.rb +79 -0
- data/sample/drag-action.rb +175 -0
- data/sample/drop-action.rb +196 -0
- data/sample/easing-modes.rb +141 -0
- data/sample/flow-layout.rb +119 -0
- data/sample/grid-layout.rb +237 -0
- data/sample/image-content.rb +86 -0
- data/sample/pan-action.rb +98 -0
- data/sample/redhand.png +0 -0
- data/sample/rounded-rectangle.rb +88 -0
- data/sample/scroll-actor.rb +103 -0
- data/test/clutter-test-utils.rb +38 -0
- data/test/run-test.rb +59 -0
- data/test/test-clutter-actor.rb +242 -0
- data/test/test-clutter-blur-effect.rb +27 -0
- data/test/test-clutter-brightness-contrast-effect.rb +56 -0
- data/test/test-clutter-canvas.rb +43 -0
- data/test/test-clutter-color.rb +50 -0
- data/test/test-clutter-colorize-effect.rb +31 -0
- data/test/test-clutter-desaturate-effect.rb +30 -0
- data/test/test-clutter-feature.rb +34 -0
- data/test/test-clutter-flow-layout.rb +83 -0
- data/test/test-clutter-page-turn-effect.rb +46 -0
- data/test/test-clutter-property-transiton.rb +30 -0
- data/test/test-clutter-shader-effect.rb +65 -0
- data/test/test-clutter-text-buffer.rb +72 -0
- data/test/test-clutter-timeline.rb +59 -0
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-20.dll +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +160 -0
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +84 -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 +87 -0
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +44 -0
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +84 -0
- data/vendor/local/include/clutter-1.0/cally/cally.h +40 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +111 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +119 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +836 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +83 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +77 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +135 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +59 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +168 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +88 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +61 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +106 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +94 -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 +200 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +67 -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 +120 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +196 -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 +117 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +44 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +65 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +110 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +152 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +115 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +190 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +1385 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +588 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +42 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +82 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +129 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +179 -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 +96 -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 +140 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +159 -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 +227 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +103 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +91 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +327 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +184 -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 +422 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +122 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +80 -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 +72 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +181 -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 +220 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +112 -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 +27 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +121 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +104 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +81 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +86 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +250 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +109 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +102 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -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 +307 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +130 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +226 -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 +773 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +184 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +329 -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 +117 -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 +98 -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-table-layout.h +172 -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 +63 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +298 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +85 -0
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +68 -0
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +467 -0
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +545 -0
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +258 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +152 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +558 -0
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +336 -0
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +324 -0
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +604 -0
- data/vendor/local/include/cogl/cogl/cogl-context.h +401 -0
- data/vendor/local/include/cogl/cogl/cogl-defines.h +58 -0
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +43 -0
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +270 -0
- data/vendor/local/include/cogl/cogl/cogl-display.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +99 -0
- data/vendor/local/include/cogl/cogl/cogl-error.h +185 -0
- data/vendor/local/include/cogl/cogl/cogl-euler.h +269 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +143 -0
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +148 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +1818 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2-types.h +474 -0
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +420 -0
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +97 -0
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +107 -0
- data/vendor/local/include/cogl/cogl/cogl-indices.h +165 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +273 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +645 -0
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +821 -0
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-object.h +251 -0
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +172 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +125 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +1012 -0
- data/vendor/local/include/cogl/cogl/cogl-output.h +261 -0
- data/vendor/local/include/cogl/cogl/cogl-pango.h +40 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +620 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +980 -0
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +138 -0
- data/vendor/local/include/cogl/cogl/cogl-poll.h +200 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +111 -0
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +942 -0
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +197 -0
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +564 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +446 -0
- data/vendor/local/include/cogl/cogl/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +866 -0
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +71 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +78 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +301 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +234 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +204 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +218 -0
- data/vendor/local/include/cogl/cogl/cogl-texture.h +524 -0
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +925 -0
- data/vendor/local/include/cogl/cogl/cogl-vector.h +356 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +348 -0
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +123 -0
- data/vendor/local/include/cogl/cogl/cogl.h +194 -0
- data/vendor/local/include/cogl/cogl/cogl1-context.h +862 -0
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +37 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +198 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +43 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +286 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +148 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +186 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +41 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +120 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +47 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +199 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +53 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +188 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +102 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +171 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +445 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +102 -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/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.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-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.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/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-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 +681 -0
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +70493 -0
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +8197 -0
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +333 -0
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +4742 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +509 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +155 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +133 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +159 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +154 -0
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +102 -0
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +187 -0
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +73 -0
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +41 -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 +121 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +193 -0
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +31 -0
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +185 -0
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +39 -0
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -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-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +109 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +15797 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +396 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +494 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +816 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +497 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1406 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +855 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +802 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +313 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1041 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +319 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +502 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +744 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +481 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +598 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +116 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +726 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1471 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +480 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +873 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +488 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +287 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +667 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +258 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +239 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +208 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1611 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +367 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +242 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +492 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1120 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +498 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +469 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +125 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +928 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1321 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1020 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +272 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +527 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1805 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +616 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1280 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +189 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +222 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1053 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +2052 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +779 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +452 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +428 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +671 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +946 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1576 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +407 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +261 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +484 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +216 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1018 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1421 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +385 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +376 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +693 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +526 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +2751 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1823 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +333 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1393 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +219 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +3871 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +906 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +2085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2864 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +684 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +264 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +474 -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 +95 -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 +44 -0
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +47 -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 +4244 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +268 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +442 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1644 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +211 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +3454 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +232 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +297 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +2112 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +2213 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +200 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +992 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +411 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1236 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +418 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1006 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +661 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1221 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +106 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +289 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +241 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +916 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +77 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +2403 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +65 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +74 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +195 -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 +93 -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 +126 -0
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +454 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +3165 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +56 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +8982 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +2198 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +457 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +578 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +952 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +637 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1525 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +815 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1000 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +364 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +361 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1085 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +979 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +101 -0
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -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 +155 -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-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +378 -0
- data/vendor/local/share/gtk-doc/html/clutter/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/clutter/table-layout.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.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 +676 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +660 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +1144 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +512 -0
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +1140 -0
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +66 -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/ch05.html +40 -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 +134 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +327 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +965 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +56 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +49 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +181 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +116 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +156 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +132 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +50 -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-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +491 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +385 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +1188 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +318 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1803 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +1369 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +582 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +215 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +277 -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 +45 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +58 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/clutter/COPYING +502 -0
- data/vendor/local/share/license/cogl/COPYING +107 -0
- data/vendor/local/share/license/json-glib/COPYING +504 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -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/as/LC_MESSAGES/json-glib-1.0.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/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/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/LC_MESSAGES/json-glib-1.0.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/ca@valencia/LC_MESSAGES/json-glib-1.0.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/da/LC_MESSAGES/json-glib-1.0.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/en_GB/LC_MESSAGES/json-glib-1.0.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/eo/LC_MESSAGES/json-glib-1.0.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/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.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/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/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/he/LC_MESSAGES/json-glib-1.0.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/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/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/ja/LC_MESSAGES/json-glib-1.0.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/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.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/ml/LC_MESSAGES/json-glib-1.0.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/or/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sk/LC_MESSAGES/json-glib-1.0.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/LC_MESSAGES/json-glib-1.0.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/sr@latin/LC_MESSAGES/json-glib-1.0.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/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/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/ug/LC_MESSAGES/json-glib-1.0.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/uk/LC_MESSAGES/json-glib-1.0.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_CN/LC_MESSAGES/json-glib-1.0.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_HK/LC_MESSAGES/json-glib-1.0.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
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +869 -0
@@ -0,0 +1,318 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>JSON-GLib Reference Manual: JSON GVariant Integration</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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-glib-Versioning-information.html" title="Versioning information">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.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="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#json-glib-JSON-GVariant-Integration.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="json-advanced.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="json-glib-Boxed-Types-Serialization.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="json-glib-Versioning-information.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="json-glib-JSON-GVariant-Integration"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="json-glib-JSON-GVariant-Integration.top_of_page"></a>JSON GVariant Integration</span></h2>
|
30
|
+
<p>JSON GVariant Integration — Serialize and deserialize GVariant types</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="json-glib-JSON-GVariant-Integration.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="function_type">
|
44
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
45
|
+
</td>
|
46
|
+
<td class="function_name">
|
47
|
+
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()">json_gvariant_serialize</a> <span class="c_punctuation">()</span>
|
48
|
+
</td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<td class="function_type">
|
52
|
+
<span class="returnvalue">gchar</span> *
|
53
|
+
</td>
|
54
|
+
<td class="function_name">
|
55
|
+
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize-data" title="json_gvariant_serialize_data ()">json_gvariant_serialize_data</a> <span class="c_punctuation">()</span>
|
56
|
+
</td>
|
57
|
+
</tr>
|
58
|
+
<tr>
|
59
|
+
<td class="function_type">
|
60
|
+
<span class="returnvalue">GVariant</span> *
|
61
|
+
</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()">json_gvariant_deserialize</a> <span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="function_type">
|
68
|
+
<span class="returnvalue">GVariant</span> *
|
69
|
+
</td>
|
70
|
+
<td class="function_name">
|
71
|
+
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize-data" title="json_gvariant_deserialize_data ()">json_gvariant_deserialize_data</a> <span class="c_punctuation">()</span>
|
72
|
+
</td>
|
73
|
+
</tr>
|
74
|
+
</tbody>
|
75
|
+
</table></div>
|
76
|
+
</div>
|
77
|
+
<div class="refsect1">
|
78
|
+
<a name="json-glib-JSON-GVariant-Integration.description"></a><h2>Description</h2>
|
79
|
+
<p>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
|
80
|
+
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
|
81
|
+
representation.</p>
|
82
|
+
<p>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
|
83
|
+
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
|
84
|
+
string.</p>
|
85
|
+
<p>Since many <span class="type">GVariant</span> data types cannot be directly represented as
|
86
|
+
JSON, a <span class="type">GVariant</span> type string (signature) should be provided to these
|
87
|
+
methods in order to obtain a correct, type-contrained result.
|
88
|
+
If no signature is provided, conversion can still be done, but the
|
89
|
+
resulting <span class="type">GVariant</span> value will be "guessed" from the JSON data types
|
90
|
+
using the following rules:</p>
|
91
|
+
<div class="refsect3">
|
92
|
+
<a name="id-1.5.5.4.5"></a><h4>Strings</h4>
|
93
|
+
<p>JSON strings map to GVariant <code class="literal">(s)</code>.</p>
|
94
|
+
</div>
|
95
|
+
<div class="refsect3">
|
96
|
+
<a name="id-1.5.5.4.6"></a><h4>Integers</h4>
|
97
|
+
<p>JSON integers map to GVariant int64 <code class="literal">(x)</code>.</p>
|
98
|
+
</div>
|
99
|
+
<div class="refsect3">
|
100
|
+
<a name="id-1.5.5.4.7"></a><h4>Booleans</h4>
|
101
|
+
<p>JSON booleans map to GVariant boolean <code class="literal">(b)</code>.</p>
|
102
|
+
</div>
|
103
|
+
<div class="refsect3">
|
104
|
+
<a name="id-1.5.5.4.8"></a><h4>Numbers</h4>
|
105
|
+
<p>JSON numbers map to GVariant double <code class="literal">(d)</code>.</p>
|
106
|
+
</div>
|
107
|
+
<div class="refsect3">
|
108
|
+
<a name="id-1.5.5.4.9"></a><h4>Arrays</h4>
|
109
|
+
<p>JSON arrays map to GVariant arrays of variants <code class="literal">(av)</code>.</p>
|
110
|
+
</div>
|
111
|
+
<div class="refsect3">
|
112
|
+
<a name="id-1.5.5.4.10"></a><h4>Objects</h4>
|
113
|
+
<p>JSON objects map to GVariant dictionaries of string to variants <code class="literal">(a{sv})</code>.</p>
|
114
|
+
</div>
|
115
|
+
<div class="refsect3">
|
116
|
+
<a name="id-1.5.5.4.11"></a><h4>Null values</h4>
|
117
|
+
<p>JSON null values map to GVariant maybe variants <code class="literal">(mv)</code>.</p>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div class="refsect1">
|
121
|
+
<a name="json-glib-JSON-GVariant-Integration.functions_details"></a><h2>Functions</h2>
|
122
|
+
<div class="refsect2">
|
123
|
+
<a name="json-gvariant-serialize"></a><h3>json_gvariant_serialize ()</h3>
|
124
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
125
|
+
json_gvariant_serialize (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
|
126
|
+
<p>Converts <em class="parameter"><code>variant</code></em>
|
127
|
+
to a JSON tree.</p>
|
128
|
+
<div class="refsect3">
|
129
|
+
<a name="id-1.5.5.5.2.5"></a><h4>Parameters</h4>
|
130
|
+
<div class="informaltable"><table width="100%" border="0">
|
131
|
+
<colgroup>
|
132
|
+
<col width="150px" class="parameters_name">
|
133
|
+
<col class="parameters_description">
|
134
|
+
<col width="200px" class="parameters_annotations">
|
135
|
+
</colgroup>
|
136
|
+
<tbody><tr>
|
137
|
+
<td class="parameter_name"><p>variant</p></td>
|
138
|
+
<td class="parameter_description"><p>A <span class="type">GVariant</span> to convert</p></td>
|
139
|
+
<td class="parameter_annotations"> </td>
|
140
|
+
</tr></tbody>
|
141
|
+
</table></div>
|
142
|
+
</div>
|
143
|
+
<div class="refsect3">
|
144
|
+
<a name="id-1.5.5.5.2.6"></a><h4>Returns</h4>
|
145
|
+
<p> A <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> representing the root of the
|
146
|
+
JSON data structure obtained from <em class="parameter"><code>variant</code></em>
|
147
|
+
. </p>
|
148
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
149
|
+
</div>
|
150
|
+
<p class="since">Since 0.14</p>
|
151
|
+
</div>
|
152
|
+
<hr>
|
153
|
+
<div class="refsect2">
|
154
|
+
<a name="json-gvariant-serialize-data"></a><h3>json_gvariant_serialize_data ()</h3>
|
155
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
156
|
+
json_gvariant_serialize_data (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>,
|
157
|
+
<em class="parameter"><code><span class="type">gsize</span> *length</code></em>);</pre>
|
158
|
+
<p>Converts <em class="parameter"><code>variant</code></em>
|
159
|
+
to its JSON encoded string representation. This method
|
160
|
+
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
|
161
|
+
JSON tree, and then <a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> to stringify it.</p>
|
162
|
+
<div class="refsect3">
|
163
|
+
<a name="id-1.5.5.5.3.5"></a><h4>Parameters</h4>
|
164
|
+
<div class="informaltable"><table width="100%" border="0">
|
165
|
+
<colgroup>
|
166
|
+
<col width="150px" class="parameters_name">
|
167
|
+
<col class="parameters_description">
|
168
|
+
<col width="200px" class="parameters_annotations">
|
169
|
+
</colgroup>
|
170
|
+
<tbody>
|
171
|
+
<tr>
|
172
|
+
<td class="parameter_name"><p>variant</p></td>
|
173
|
+
<td class="parameter_description"><p>A <span class="type">GVariant</span> to convert</p></td>
|
174
|
+
<td class="parameter_annotations"> </td>
|
175
|
+
</tr>
|
176
|
+
<tr>
|
177
|
+
<td class="parameter_name"><p>length</p></td>
|
178
|
+
<td class="parameter_description"><p> Return location for the length of the returned
|
179
|
+
string, or <code class="literal">NULL</code>. </p></td>
|
180
|
+
<td class="parameter_annotations"><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></td>
|
181
|
+
</tr>
|
182
|
+
</tbody>
|
183
|
+
</table></div>
|
184
|
+
</div>
|
185
|
+
<div class="refsect3">
|
186
|
+
<a name="id-1.5.5.5.3.6"></a><h4>Returns</h4>
|
187
|
+
<p> The JSON encoded string corresponding to
|
188
|
+
<em class="parameter"><code>variant</code></em>
|
189
|
+
. </p>
|
190
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
191
|
+
</div>
|
192
|
+
<p class="since">Since 0.14</p>
|
193
|
+
</div>
|
194
|
+
<hr>
|
195
|
+
<div class="refsect2">
|
196
|
+
<a name="json-gvariant-deserialize"></a><h3>json_gvariant_deserialize ()</h3>
|
197
|
+
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
198
|
+
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>,
|
199
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
200
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
201
|
+
<p>Converts a JSON data structure to a GVariant value using <em class="parameter"><code>signature</code></em>
|
202
|
+
to
|
203
|
+
resolve ambiguous data types. If no error occurs, the resulting <span class="type">GVariant</span>
|
204
|
+
is guaranteed to conform to <em class="parameter"><code>signature</code></em>
|
205
|
+
.</p>
|
206
|
+
<p>If <em class="parameter"><code>signature</code></em>
|
207
|
+
is not <code class="literal">NULL</code> but does not represent a valid GVariant type
|
208
|
+
string, <code class="literal">NULL</code> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_ARGUMENT</code>.
|
209
|
+
If a <em class="parameter"><code>signature</code></em>
|
210
|
+
is provided but the JSON structure cannot be mapped to it,
|
211
|
+
<code class="literal">NULL</code> is returned and error is set to <code class="literal">G_IO_ERROR_INVALID_DATA</code>.
|
212
|
+
If <em class="parameter"><code>signature</code></em>
|
213
|
+
is <code class="literal">NULL</code>, the conversion is done based strictly on the types
|
214
|
+
in the JSON nodes.</p>
|
215
|
+
<p>The returned variant has a floating reference that will need to be sunk
|
216
|
+
by the caller code.</p>
|
217
|
+
<div class="refsect3">
|
218
|
+
<a name="id-1.5.5.5.4.7"></a><h4>Parameters</h4>
|
219
|
+
<div class="informaltable"><table width="100%" border="0">
|
220
|
+
<colgroup>
|
221
|
+
<col width="150px" class="parameters_name">
|
222
|
+
<col class="parameters_description">
|
223
|
+
<col width="200px" class="parameters_annotations">
|
224
|
+
</colgroup>
|
225
|
+
<tbody>
|
226
|
+
<tr>
|
227
|
+
<td class="parameter_name"><p>json_node</p></td>
|
228
|
+
<td class="parameter_description"><p>A <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to convert</p></td>
|
229
|
+
<td class="parameter_annotations"> </td>
|
230
|
+
</tr>
|
231
|
+
<tr>
|
232
|
+
<td class="parameter_name"><p>signature</p></td>
|
233
|
+
<td class="parameter_description"><p> A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. </p></td>
|
234
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td class="parameter_name"><p>error</p></td>
|
238
|
+
<td class="parameter_description"><p>A pointer to a <span class="type">GError</span></p></td>
|
239
|
+
<td class="parameter_annotations"> </td>
|
240
|
+
</tr>
|
241
|
+
</tbody>
|
242
|
+
</table></div>
|
243
|
+
</div>
|
244
|
+
<div class="refsect3">
|
245
|
+
<a name="id-1.5.5.5.4.8"></a><h4>Returns</h4>
|
246
|
+
<p> A newly created, floating <span class="type">GVariant</span>
|
247
|
+
compliant with <em class="parameter"><code>signature</code></em>
|
248
|
+
, or <code class="literal">NULL</code> on error. </p>
|
249
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
250
|
+
</div>
|
251
|
+
<p class="since">Since 0.14</p>
|
252
|
+
</div>
|
253
|
+
<hr>
|
254
|
+
<div class="refsect2">
|
255
|
+
<a name="json-gvariant-deserialize-data"></a><h3>json_gvariant_deserialize_data ()</h3>
|
256
|
+
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
257
|
+
json_gvariant_deserialize_data (<em class="parameter"><code>const <span class="type">gchar</span> *json</code></em>,
|
258
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
259
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
260
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
261
|
+
<p>Converts a JSON string to a <span class="type">GVariant</span> value. This method works exactly
|
262
|
+
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.
|
263
|
+
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
|
264
|
+
<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.</p>
|
265
|
+
<p>The returned variant has a floating reference that will need to be sunk
|
266
|
+
by the caller code.</p>
|
267
|
+
<div class="refsect3">
|
268
|
+
<a name="id-1.5.5.5.5.6"></a><h4>Parameters</h4>
|
269
|
+
<div class="informaltable"><table width="100%" border="0">
|
270
|
+
<colgroup>
|
271
|
+
<col width="150px" class="parameters_name">
|
272
|
+
<col class="parameters_description">
|
273
|
+
<col width="200px" class="parameters_annotations">
|
274
|
+
</colgroup>
|
275
|
+
<tbody>
|
276
|
+
<tr>
|
277
|
+
<td class="parameter_name"><p>json</p></td>
|
278
|
+
<td class="parameter_description"><p>A JSON data string</p></td>
|
279
|
+
<td class="parameter_annotations"> </td>
|
280
|
+
</tr>
|
281
|
+
<tr>
|
282
|
+
<td class="parameter_name"><p>length</p></td>
|
283
|
+
<td class="parameter_description"><p>The length of <em class="parameter"><code>json</code></em>
|
284
|
+
, or -1 if <code class="literal">NULL</code>-terminated</p></td>
|
285
|
+
<td class="parameter_annotations"> </td>
|
286
|
+
</tr>
|
287
|
+
<tr>
|
288
|
+
<td class="parameter_name"><p>signature</p></td>
|
289
|
+
<td class="parameter_description"><p> A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. </p></td>
|
290
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
291
|
+
</tr>
|
292
|
+
<tr>
|
293
|
+
<td class="parameter_name"><p>error</p></td>
|
294
|
+
<td class="parameter_description"><p>A pointer to a <span class="type">GError</span></p></td>
|
295
|
+
<td class="parameter_annotations"> </td>
|
296
|
+
</tr>
|
297
|
+
</tbody>
|
298
|
+
</table></div>
|
299
|
+
</div>
|
300
|
+
<div class="refsect3">
|
301
|
+
<a name="id-1.5.5.5.5.7"></a><h4>Returns</h4>
|
302
|
+
<p> A newly created, floating <span class="type">GVariant</span> compliant
|
303
|
+
with <em class="parameter"><code>signature</code></em>
|
304
|
+
, or <code class="literal">NULL</code> on error. </p>
|
305
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
306
|
+
</div>
|
307
|
+
<p class="since">Since 0.14</p>
|
308
|
+
</div>
|
309
|
+
</div>
|
310
|
+
<div class="refsect1">
|
311
|
+
<a name="json-glib-JSON-GVariant-Integration.other_details"></a><h2>Types and Values</h2>
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
<div class="footer">
|
315
|
+
<hr>
|
316
|
+
Generated by GTK-Doc V1.20.1</div>
|
317
|
+
</body>
|
318
|
+
</html>
|
@@ -0,0 +1,1803 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>JSON-GLib Reference Manual: JSON Node</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.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.20.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="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#json-glib-JSON-Node.description" class="shortcut">Description</a></span>
|
19
|
+
</td>
|
20
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
22
|
+
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
23
|
+
<td><a accesskey="n" href="json-glib-JSON-Array.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
24
|
+
</tr></table>
|
25
|
+
<div class="refentry">
|
26
|
+
<a name="json-glib-JSON-Node"></a><div class="titlepage"></div>
|
27
|
+
<div class="refnamediv"><table width="100%"><tr>
|
28
|
+
<td valign="top">
|
29
|
+
<h2><span class="refentrytitle"><a name="json-glib-JSON-Node.top_of_page"></a>JSON Node</span></h2>
|
30
|
+
<p>JSON Node — Node in a JSON object model</p>
|
31
|
+
</td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
33
|
+
</tr></table></div>
|
34
|
+
<div class="refsect1">
|
35
|
+
<a name="json-glib-JSON-Node.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
37
|
+
<colgroup>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
40
|
+
</colgroup>
|
41
|
+
<tbody>
|
42
|
+
<tr>
|
43
|
+
<td class="define_keyword">#define</td>
|
44
|
+
<td class="function_name">
|
45
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()">JSON_NODE_TYPE</a><span class="c_punctuation">()</span>
|
46
|
+
</td>
|
47
|
+
</tr>
|
48
|
+
<tr>
|
49
|
+
<td class="define_keyword">#define</td>
|
50
|
+
<td class="function_name">
|
51
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS:CAPS" title="JSON_NODE_HOLDS()">JSON_NODE_HOLDS</a><span class="c_punctuation">()</span>
|
52
|
+
</td>
|
53
|
+
</tr>
|
54
|
+
<tr>
|
55
|
+
<td class="define_keyword">#define</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-VALUE:CAPS" title="JSON_NODE_HOLDS_VALUE()">JSON_NODE_HOLDS_VALUE</a><span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="define_keyword">#define</td>
|
62
|
+
<td class="function_name">
|
63
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-OBJECT:CAPS" title="JSON_NODE_HOLDS_OBJECT()">JSON_NODE_HOLDS_OBJECT</a><span class="c_punctuation">()</span>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
<tr>
|
67
|
+
<td class="define_keyword">#define</td>
|
68
|
+
<td class="function_name">
|
69
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-ARRAY:CAPS" title="JSON_NODE_HOLDS_ARRAY()">JSON_NODE_HOLDS_ARRAY</a><span class="c_punctuation">()</span>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
<tr>
|
73
|
+
<td class="define_keyword">#define</td>
|
74
|
+
<td class="function_name">
|
75
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-NULL:CAPS" title="JSON_NODE_HOLDS_NULL()">JSON_NODE_HOLDS_NULL</a><span class="c_punctuation">()</span>
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
<tr>
|
79
|
+
<td class="function_type">
|
80
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
81
|
+
</td>
|
82
|
+
<td class="function_name">
|
83
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-alloc" title="json_node_alloc ()">json_node_alloc</a> <span class="c_punctuation">()</span>
|
84
|
+
</td>
|
85
|
+
</tr>
|
86
|
+
<tr>
|
87
|
+
<td class="function_type">
|
88
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
89
|
+
</td>
|
90
|
+
<td class="function_name">
|
91
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()">json_node_init</a> <span class="c_punctuation">()</span>
|
92
|
+
</td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="function_type">
|
96
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
97
|
+
</td>
|
98
|
+
<td class="function_name">
|
99
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-int" title="json_node_init_int ()">json_node_init_int</a> <span class="c_punctuation">()</span>
|
100
|
+
</td>
|
101
|
+
</tr>
|
102
|
+
<tr>
|
103
|
+
<td class="function_type">
|
104
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
105
|
+
</td>
|
106
|
+
<td class="function_name">
|
107
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-double" title="json_node_init_double ()">json_node_init_double</a> <span class="c_punctuation">()</span>
|
108
|
+
</td>
|
109
|
+
</tr>
|
110
|
+
<tr>
|
111
|
+
<td class="function_type">
|
112
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
113
|
+
</td>
|
114
|
+
<td class="function_name">
|
115
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-boolean" title="json_node_init_boolean ()">json_node_init_boolean</a> <span class="c_punctuation">()</span>
|
116
|
+
</td>
|
117
|
+
</tr>
|
118
|
+
<tr>
|
119
|
+
<td class="function_type">
|
120
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
121
|
+
</td>
|
122
|
+
<td class="function_name">
|
123
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-string" title="json_node_init_string ()">json_node_init_string</a> <span class="c_punctuation">()</span>
|
124
|
+
</td>
|
125
|
+
</tr>
|
126
|
+
<tr>
|
127
|
+
<td class="function_type">
|
128
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
129
|
+
</td>
|
130
|
+
<td class="function_name">
|
131
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-null" title="json_node_init_null ()">json_node_init_null</a> <span class="c_punctuation">()</span>
|
132
|
+
</td>
|
133
|
+
</tr>
|
134
|
+
<tr>
|
135
|
+
<td class="function_type">
|
136
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
137
|
+
</td>
|
138
|
+
<td class="function_name">
|
139
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-object" title="json_node_init_object ()">json_node_init_object</a> <span class="c_punctuation">()</span>
|
140
|
+
</td>
|
141
|
+
</tr>
|
142
|
+
<tr>
|
143
|
+
<td class="function_type">
|
144
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
145
|
+
</td>
|
146
|
+
<td class="function_name">
|
147
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-init-array" title="json_node_init_array ()">json_node_init_array</a> <span class="c_punctuation">()</span>
|
148
|
+
</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td class="function_type">
|
152
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
153
|
+
</td>
|
154
|
+
<td class="function_name">
|
155
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-new" title="json_node_new ()">json_node_new</a> <span class="c_punctuation">()</span>
|
156
|
+
</td>
|
157
|
+
</tr>
|
158
|
+
<tr>
|
159
|
+
<td class="function_type">
|
160
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
161
|
+
</td>
|
162
|
+
<td class="function_name">
|
163
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-copy" title="json_node_copy ()">json_node_copy</a> <span class="c_punctuation">()</span>
|
164
|
+
</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td class="function_type">
|
168
|
+
<span class="returnvalue">void</span>
|
169
|
+
</td>
|
170
|
+
<td class="function_name">
|
171
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()">json_node_free</a> <span class="c_punctuation">()</span>
|
172
|
+
</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td class="function_type">
|
176
|
+
<span class="returnvalue">void</span>
|
177
|
+
</td>
|
178
|
+
<td class="function_name">
|
179
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-array" title="json_node_set_array ()">json_node_set_array</a> <span class="c_punctuation">()</span>
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr>
|
183
|
+
<td class="function_type">
|
184
|
+
<span class="returnvalue">void</span>
|
185
|
+
</td>
|
186
|
+
<td class="function_name">
|
187
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()">json_node_take_array</a> <span class="c_punctuation">()</span>
|
188
|
+
</td>
|
189
|
+
</tr>
|
190
|
+
<tr>
|
191
|
+
<td class="function_type">
|
192
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
193
|
+
</td>
|
194
|
+
<td class="function_name">
|
195
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()">json_node_get_array</a> <span class="c_punctuation">()</span>
|
196
|
+
</td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">
|
200
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
201
|
+
</td>
|
202
|
+
<td class="function_name">
|
203
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-dup-array" title="json_node_dup_array ()">json_node_dup_array</a> <span class="c_punctuation">()</span>
|
204
|
+
</td>
|
205
|
+
</tr>
|
206
|
+
<tr>
|
207
|
+
<td class="function_type">
|
208
|
+
<span class="returnvalue">void</span>
|
209
|
+
</td>
|
210
|
+
<td class="function_name">
|
211
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-object" title="json_node_set_object ()">json_node_set_object</a> <span class="c_punctuation">()</span>
|
212
|
+
</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td class="function_type">
|
216
|
+
<span class="returnvalue">void</span>
|
217
|
+
</td>
|
218
|
+
<td class="function_name">
|
219
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()">json_node_take_object</a> <span class="c_punctuation">()</span>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
<tr>
|
223
|
+
<td class="function_type">
|
224
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
225
|
+
</td>
|
226
|
+
<td class="function_name">
|
227
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()">json_node_get_object</a> <span class="c_punctuation">()</span>
|
228
|
+
</td>
|
229
|
+
</tr>
|
230
|
+
<tr>
|
231
|
+
<td class="function_type">
|
232
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
233
|
+
</td>
|
234
|
+
<td class="function_name">
|
235
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-dup-object" title="json_node_dup_object ()">json_node_dup_object</a> <span class="c_punctuation">()</span>
|
236
|
+
</td>
|
237
|
+
</tr>
|
238
|
+
<tr>
|
239
|
+
<td class="function_type">
|
240
|
+
<span class="returnvalue">void</span>
|
241
|
+
</td>
|
242
|
+
<td class="function_name">
|
243
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-value" title="json_node_set_value ()">json_node_set_value</a> <span class="c_punctuation">()</span>
|
244
|
+
</td>
|
245
|
+
</tr>
|
246
|
+
<tr>
|
247
|
+
<td class="function_type">
|
248
|
+
<span class="returnvalue">void</span>
|
249
|
+
</td>
|
250
|
+
<td class="function_name">
|
251
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-value" title="json_node_get_value ()">json_node_get_value</a> <span class="c_punctuation">()</span>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
<tr>
|
255
|
+
<td class="function_type">
|
256
|
+
<span class="returnvalue">void</span>
|
257
|
+
</td>
|
258
|
+
<td class="function_name">
|
259
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()">json_node_set_boolean</a> <span class="c_punctuation">()</span>
|
260
|
+
</td>
|
261
|
+
</tr>
|
262
|
+
<tr>
|
263
|
+
<td class="function_type">
|
264
|
+
<span class="returnvalue">gboolean</span>
|
265
|
+
</td>
|
266
|
+
<td class="function_name">
|
267
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()">json_node_get_boolean</a> <span class="c_punctuation">()</span>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
<tr>
|
271
|
+
<td class="function_type">
|
272
|
+
<span class="returnvalue">void</span>
|
273
|
+
</td>
|
274
|
+
<td class="function_name">
|
275
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()">json_node_set_double</a> <span class="c_punctuation">()</span>
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr>
|
279
|
+
<td class="function_type">
|
280
|
+
<span class="returnvalue">gdouble</span>
|
281
|
+
</td>
|
282
|
+
<td class="function_name">
|
283
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()">json_node_get_double</a> <span class="c_punctuation">()</span>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td class="function_type">
|
288
|
+
<span class="returnvalue">void</span>
|
289
|
+
</td>
|
290
|
+
<td class="function_name">
|
291
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()">json_node_set_int</a> <span class="c_punctuation">()</span>
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td class="function_type">
|
296
|
+
<span class="returnvalue">gint64</span>
|
297
|
+
</td>
|
298
|
+
<td class="function_name">
|
299
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()">json_node_get_int</a> <span class="c_punctuation">()</span>
|
300
|
+
</td>
|
301
|
+
</tr>
|
302
|
+
<tr>
|
303
|
+
<td class="function_type">
|
304
|
+
<span class="returnvalue">void</span>
|
305
|
+
</td>
|
306
|
+
<td class="function_name">
|
307
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()">json_node_set_string</a> <span class="c_punctuation">()</span>
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
<tr>
|
311
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
312
|
+
</td>
|
313
|
+
<td class="function_name">
|
314
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()">json_node_get_string</a> <span class="c_punctuation">()</span>
|
315
|
+
</td>
|
316
|
+
</tr>
|
317
|
+
<tr>
|
318
|
+
<td class="function_type">
|
319
|
+
<span class="returnvalue">gchar</span> *
|
320
|
+
</td>
|
321
|
+
<td class="function_name">
|
322
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-dup-string" title="json_node_dup_string ()">json_node_dup_string</a> <span class="c_punctuation">()</span>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr>
|
326
|
+
<td class="function_type">
|
327
|
+
<span class="returnvalue">void</span>
|
328
|
+
</td>
|
329
|
+
<td class="function_name">
|
330
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-set-parent" title="json_node_set_parent ()">json_node_set_parent</a> <span class="c_punctuation">()</span>
|
331
|
+
</td>
|
332
|
+
</tr>
|
333
|
+
<tr>
|
334
|
+
<td class="function_type">
|
335
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
336
|
+
</td>
|
337
|
+
<td class="function_name">
|
338
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-get-parent" title="json_node_get_parent ()">json_node_get_parent</a> <span class="c_punctuation">()</span>
|
339
|
+
</td>
|
340
|
+
</tr>
|
341
|
+
<tr>
|
342
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
343
|
+
</td>
|
344
|
+
<td class="function_name">
|
345
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-type-name" title="json_node_type_name ()">json_node_type_name</a> <span class="c_punctuation">()</span>
|
346
|
+
</td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td class="function_type">
|
350
|
+
<span class="returnvalue">GType</span>
|
351
|
+
</td>
|
352
|
+
<td class="function_name">
|
353
|
+
<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> <span class="c_punctuation">()</span>
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr>
|
357
|
+
<td class="function_type">
|
358
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a>
|
359
|
+
</td>
|
360
|
+
<td class="function_name">
|
361
|
+
<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> <span class="c_punctuation">()</span>
|
362
|
+
</td>
|
363
|
+
</tr>
|
364
|
+
<tr>
|
365
|
+
<td class="function_type">
|
366
|
+
<span class="returnvalue">gboolean</span>
|
367
|
+
</td>
|
368
|
+
<td class="function_name">
|
369
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-is-null" title="json_node_is_null ()">json_node_is_null</a> <span class="c_punctuation">()</span>
|
370
|
+
</td>
|
371
|
+
</tr>
|
372
|
+
</tbody>
|
373
|
+
</table></div>
|
374
|
+
</div>
|
375
|
+
<div class="refsect1">
|
376
|
+
<a name="json-glib-JSON-Node.other"></a><h2>Types and Values</h2>
|
377
|
+
<div class="informaltable"><table width="100%" border="0">
|
378
|
+
<colgroup>
|
379
|
+
<col width="150px" class="name">
|
380
|
+
<col class="description">
|
381
|
+
</colgroup>
|
382
|
+
<tbody>
|
383
|
+
<tr>
|
384
|
+
<td class="datatype_keyword">enum</td>
|
385
|
+
<td class="function_name"><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType">JsonNodeType</a></td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td class="datatype_keyword"> </td>
|
389
|
+
<td class="function_name"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode">JsonNode</a></td>
|
390
|
+
</tr>
|
391
|
+
</tbody>
|
392
|
+
</table></div>
|
393
|
+
</div>
|
394
|
+
<div class="refsect1">
|
395
|
+
<a name="json-glib-JSON-Node.description"></a><h2>Description</h2>
|
396
|
+
<p>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.
|
397
|
+
It can contain fundamental types (integers, booleans, floating point
|
398
|
+
numbers, strings) and complex types (arrays and objects).</p>
|
399
|
+
<p>When parsing a JSON data stream you extract the root node and walk
|
400
|
+
the node tree by retrieving the type of data contained inside the
|
401
|
+
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
|
402
|
+
type you can retrieve a copy of the <span class="type">GValue</span> holding it with the
|
403
|
+
<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
|
404
|
+
the data; if the node contains a complex type you can retrieve the
|
405
|
+
<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
|
406
|
+
<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
|
407
|
+
they contain.</p>
|
408
|
+
</div>
|
409
|
+
<div class="refsect1">
|
410
|
+
<a name="json-glib-JSON-Node.functions_details"></a><h2>Functions</h2>
|
411
|
+
<div class="refsect2">
|
412
|
+
<a name="JSON-NODE-TYPE:CAPS"></a><h3>JSON_NODE_TYPE()</h3>
|
413
|
+
<pre class="programlisting">#define JSON_NODE_TYPE(node) (json_node_get_node_type ((node)))
|
414
|
+
</pre>
|
415
|
+
<p>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>
|
416
|
+
</p>
|
417
|
+
<div class="refsect3">
|
418
|
+
<a name="id-1.3.3.2.6.2.5"></a><h4>Parameters</h4>
|
419
|
+
<div class="informaltable"><table width="100%" border="0">
|
420
|
+
<colgroup>
|
421
|
+
<col width="150px" class="parameters_name">
|
422
|
+
<col class="parameters_description">
|
423
|
+
<col width="200px" class="parameters_annotations">
|
424
|
+
</colgroup>
|
425
|
+
<tbody><tr>
|
426
|
+
<td class="parameter_name"><p>node</p></td>
|
427
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
428
|
+
<td class="parameter_annotations"> </td>
|
429
|
+
</tr></tbody>
|
430
|
+
</table></div>
|
431
|
+
</div>
|
432
|
+
</div>
|
433
|
+
<hr>
|
434
|
+
<div class="refsect2">
|
435
|
+
<a name="JSON-NODE-HOLDS:CAPS"></a><h3>JSON_NODE_HOLDS()</h3>
|
436
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS(node,t) (json_node_get_node_type ((node)) == (t))
|
437
|
+
</pre>
|
438
|
+
<p>Evaluates to <code class="literal">TRUE</code> if the <em class="parameter"><code>node</code></em>
|
439
|
+
holds type <em class="parameter"><code>t</code></em>
|
440
|
+
</p>
|
441
|
+
<div class="refsect3">
|
442
|
+
<a name="id-1.3.3.2.6.3.5"></a><h4>Parameters</h4>
|
443
|
+
<div class="informaltable"><table width="100%" border="0">
|
444
|
+
<colgroup>
|
445
|
+
<col width="150px" class="parameters_name">
|
446
|
+
<col class="parameters_description">
|
447
|
+
<col width="200px" class="parameters_annotations">
|
448
|
+
</colgroup>
|
449
|
+
<tbody>
|
450
|
+
<tr>
|
451
|
+
<td class="parameter_name"><p>node</p></td>
|
452
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
453
|
+
<td class="parameter_annotations"> </td>
|
454
|
+
</tr>
|
455
|
+
<tr>
|
456
|
+
<td class="parameter_name"><p>t</p></td>
|
457
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a></p></td>
|
458
|
+
<td class="parameter_annotations"> </td>
|
459
|
+
</tr>
|
460
|
+
</tbody>
|
461
|
+
</table></div>
|
462
|
+
</div>
|
463
|
+
<p class="since">Since 0.10</p>
|
464
|
+
</div>
|
465
|
+
<hr>
|
466
|
+
<div class="refsect2">
|
467
|
+
<a name="JSON-NODE-HOLDS-VALUE:CAPS"></a><h3>JSON_NODE_HOLDS_VALUE()</h3>
|
468
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_VALUE(node) (JSON_NODE_HOLDS ((node), JSON_NODE_VALUE))
|
469
|
+
</pre>
|
470
|
+
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
471
|
+
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p>
|
472
|
+
<div class="refsect3">
|
473
|
+
<a name="id-1.3.3.2.6.4.5"></a><h4>Parameters</h4>
|
474
|
+
<div class="informaltable"><table width="100%" border="0">
|
475
|
+
<colgroup>
|
476
|
+
<col width="150px" class="parameters_name">
|
477
|
+
<col class="parameters_description">
|
478
|
+
<col width="200px" class="parameters_annotations">
|
479
|
+
</colgroup>
|
480
|
+
<tbody><tr>
|
481
|
+
<td class="parameter_name"><p>node</p></td>
|
482
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
483
|
+
<td class="parameter_annotations"> </td>
|
484
|
+
</tr></tbody>
|
485
|
+
</table></div>
|
486
|
+
</div>
|
487
|
+
<p class="since">Since 0.10</p>
|
488
|
+
</div>
|
489
|
+
<hr>
|
490
|
+
<div class="refsect2">
|
491
|
+
<a name="JSON-NODE-HOLDS-OBJECT:CAPS"></a><h3>JSON_NODE_HOLDS_OBJECT()</h3>
|
492
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_OBJECT(node) (JSON_NODE_HOLDS ((node), JSON_NODE_OBJECT))
|
493
|
+
</pre>
|
494
|
+
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
495
|
+
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p>
|
496
|
+
<div class="refsect3">
|
497
|
+
<a name="id-1.3.3.2.6.5.5"></a><h4>Parameters</h4>
|
498
|
+
<div class="informaltable"><table width="100%" border="0">
|
499
|
+
<colgroup>
|
500
|
+
<col width="150px" class="parameters_name">
|
501
|
+
<col class="parameters_description">
|
502
|
+
<col width="200px" class="parameters_annotations">
|
503
|
+
</colgroup>
|
504
|
+
<tbody><tr>
|
505
|
+
<td class="parameter_name"><p>node</p></td>
|
506
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
507
|
+
<td class="parameter_annotations"> </td>
|
508
|
+
</tr></tbody>
|
509
|
+
</table></div>
|
510
|
+
</div>
|
511
|
+
<p class="since">Since 0.10</p>
|
512
|
+
</div>
|
513
|
+
<hr>
|
514
|
+
<div class="refsect2">
|
515
|
+
<a name="JSON-NODE-HOLDS-ARRAY:CAPS"></a><h3>JSON_NODE_HOLDS_ARRAY()</h3>
|
516
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_ARRAY(node) (JSON_NODE_HOLDS ((node), JSON_NODE_ARRAY))
|
517
|
+
</pre>
|
518
|
+
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
519
|
+
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p>
|
520
|
+
<div class="refsect3">
|
521
|
+
<a name="id-1.3.3.2.6.6.5"></a><h4>Parameters</h4>
|
522
|
+
<div class="informaltable"><table width="100%" border="0">
|
523
|
+
<colgroup>
|
524
|
+
<col width="150px" class="parameters_name">
|
525
|
+
<col class="parameters_description">
|
526
|
+
<col width="200px" class="parameters_annotations">
|
527
|
+
</colgroup>
|
528
|
+
<tbody><tr>
|
529
|
+
<td class="parameter_name"><p>node</p></td>
|
530
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
531
|
+
<td class="parameter_annotations"> </td>
|
532
|
+
</tr></tbody>
|
533
|
+
</table></div>
|
534
|
+
</div>
|
535
|
+
<p class="since">Since 0.10</p>
|
536
|
+
</div>
|
537
|
+
<hr>
|
538
|
+
<div class="refsect2">
|
539
|
+
<a name="JSON-NODE-HOLDS-NULL:CAPS"></a><h3>JSON_NODE_HOLDS_NULL()</h3>
|
540
|
+
<pre class="programlisting">#define JSON_NODE_HOLDS_NULL(node) (JSON_NODE_HOLDS ((node), JSON_NODE_NULL))
|
541
|
+
</pre>
|
542
|
+
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
543
|
+
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a></p>
|
544
|
+
<div class="refsect3">
|
545
|
+
<a name="id-1.3.3.2.6.7.5"></a><h4>Parameters</h4>
|
546
|
+
<div class="informaltable"><table width="100%" border="0">
|
547
|
+
<colgroup>
|
548
|
+
<col width="150px" class="parameters_name">
|
549
|
+
<col class="parameters_description">
|
550
|
+
<col width="200px" class="parameters_annotations">
|
551
|
+
</colgroup>
|
552
|
+
<tbody><tr>
|
553
|
+
<td class="parameter_name"><p>node</p></td>
|
554
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
555
|
+
<td class="parameter_annotations"> </td>
|
556
|
+
</tr></tbody>
|
557
|
+
</table></div>
|
558
|
+
</div>
|
559
|
+
<p class="since">Since 0.10</p>
|
560
|
+
</div>
|
561
|
+
<hr>
|
562
|
+
<div class="refsect2">
|
563
|
+
<a name="json-node-alloc"></a><h3>json_node_alloc ()</h3>
|
564
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
565
|
+
json_node_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
566
|
+
<p>Allocates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. Use <a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()"><code class="function">json_node_init()</code></a> and its variants
|
567
|
+
to initialize the returned value.</p>
|
568
|
+
<div class="refsect3">
|
569
|
+
<a name="id-1.3.3.2.6.8.5"></a><h4>Returns</h4>
|
570
|
+
<p> the newly allocated <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. Use
|
571
|
+
<a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> to free the resources allocated by this function. </p>
|
572
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
573
|
+
</div>
|
574
|
+
<p class="since">Since 0.16</p>
|
575
|
+
</div>
|
576
|
+
<hr>
|
577
|
+
<div class="refsect2">
|
578
|
+
<a name="json-node-init"></a><h3>json_node_init ()</h3>
|
579
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
580
|
+
json_node_init (<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>,
|
581
|
+
<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>
|
582
|
+
<p>Initializes a <em class="parameter"><code>node</code></em>
|
583
|
+
to a specific <em class="parameter"><code>type</code></em>
|
584
|
+
.</p>
|
585
|
+
<p>If the node has already been initialized once, it will be reset to
|
586
|
+
the given type, and any data contained will be cleared.</p>
|
587
|
+
<div class="refsect3">
|
588
|
+
<a name="id-1.3.3.2.6.9.6"></a><h4>Parameters</h4>
|
589
|
+
<div class="informaltable"><table width="100%" border="0">
|
590
|
+
<colgroup>
|
591
|
+
<col width="150px" class="parameters_name">
|
592
|
+
<col class="parameters_description">
|
593
|
+
<col width="200px" class="parameters_annotations">
|
594
|
+
</colgroup>
|
595
|
+
<tbody>
|
596
|
+
<tr>
|
597
|
+
<td class="parameter_name"><p>node</p></td>
|
598
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
599
|
+
<td class="parameter_annotations"> </td>
|
600
|
+
</tr>
|
601
|
+
<tr>
|
602
|
+
<td class="parameter_name"><p>type</p></td>
|
603
|
+
<td class="parameter_description"><p>the type of JSON node to initialize <em class="parameter"><code>node</code></em>
|
604
|
+
to</p></td>
|
605
|
+
<td class="parameter_annotations"> </td>
|
606
|
+
</tr>
|
607
|
+
</tbody>
|
608
|
+
</table></div>
|
609
|
+
</div>
|
610
|
+
<div class="refsect3">
|
611
|
+
<a name="id-1.3.3.2.6.9.7"></a><h4>Returns</h4>
|
612
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
613
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
614
|
+
</div>
|
615
|
+
<p class="since">Since 0.16</p>
|
616
|
+
</div>
|
617
|
+
<hr>
|
618
|
+
<div class="refsect2">
|
619
|
+
<a name="json-node-init-int"></a><h3>json_node_init_int ()</h3>
|
620
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
621
|
+
json_node_init_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>,
|
622
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
623
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
624
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
625
|
+
into it.</p>
|
626
|
+
<p>If the node has already been initialized once, it will be reset to
|
627
|
+
the given type, and any data contained will be cleared.</p>
|
628
|
+
<div class="refsect3">
|
629
|
+
<a name="id-1.3.3.2.6.10.6"></a><h4>Parameters</h4>
|
630
|
+
<div class="informaltable"><table width="100%" border="0">
|
631
|
+
<colgroup>
|
632
|
+
<col width="150px" class="parameters_name">
|
633
|
+
<col class="parameters_description">
|
634
|
+
<col width="200px" class="parameters_annotations">
|
635
|
+
</colgroup>
|
636
|
+
<tbody>
|
637
|
+
<tr>
|
638
|
+
<td class="parameter_name"><p>node</p></td>
|
639
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
640
|
+
<td class="parameter_annotations"> </td>
|
641
|
+
</tr>
|
642
|
+
<tr>
|
643
|
+
<td class="parameter_name"><p>value</p></td>
|
644
|
+
<td class="parameter_description"><p>an integer</p></td>
|
645
|
+
<td class="parameter_annotations"> </td>
|
646
|
+
</tr>
|
647
|
+
</tbody>
|
648
|
+
</table></div>
|
649
|
+
</div>
|
650
|
+
<div class="refsect3">
|
651
|
+
<a name="id-1.3.3.2.6.10.7"></a><h4>Returns</h4>
|
652
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
653
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
654
|
+
</div>
|
655
|
+
<p class="since">Since 0.16</p>
|
656
|
+
</div>
|
657
|
+
<hr>
|
658
|
+
<div class="refsect2">
|
659
|
+
<a name="json-node-init-double"></a><h3>json_node_init_double ()</h3>
|
660
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
661
|
+
json_node_init_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>,
|
662
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
663
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
664
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
665
|
+
into it.</p>
|
666
|
+
<p>If the node has already been initialized once, it will be reset to
|
667
|
+
the given type, and any data contained will be cleared.</p>
|
668
|
+
<div class="refsect3">
|
669
|
+
<a name="id-1.3.3.2.6.11.6"></a><h4>Parameters</h4>
|
670
|
+
<div class="informaltable"><table width="100%" border="0">
|
671
|
+
<colgroup>
|
672
|
+
<col width="150px" class="parameters_name">
|
673
|
+
<col class="parameters_description">
|
674
|
+
<col width="200px" class="parameters_annotations">
|
675
|
+
</colgroup>
|
676
|
+
<tbody>
|
677
|
+
<tr>
|
678
|
+
<td class="parameter_name"><p>node</p></td>
|
679
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
680
|
+
<td class="parameter_annotations"> </td>
|
681
|
+
</tr>
|
682
|
+
<tr>
|
683
|
+
<td class="parameter_name"><p>value</p></td>
|
684
|
+
<td class="parameter_description"><p>a floating point value</p></td>
|
685
|
+
<td class="parameter_annotations"> </td>
|
686
|
+
</tr>
|
687
|
+
</tbody>
|
688
|
+
</table></div>
|
689
|
+
</div>
|
690
|
+
<div class="refsect3">
|
691
|
+
<a name="id-1.3.3.2.6.11.7"></a><h4>Returns</h4>
|
692
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
693
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
694
|
+
</div>
|
695
|
+
<p class="since">Since 0.16</p>
|
696
|
+
</div>
|
697
|
+
<hr>
|
698
|
+
<div class="refsect2">
|
699
|
+
<a name="json-node-init-boolean"></a><h3>json_node_init_boolean ()</h3>
|
700
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
701
|
+
json_node_init_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>,
|
702
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
703
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
704
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
705
|
+
into it.</p>
|
706
|
+
<p>If the node has already been initialized once, it will be reset to
|
707
|
+
the given type, and any data contained will be cleared.</p>
|
708
|
+
<div class="refsect3">
|
709
|
+
<a name="id-1.3.3.2.6.12.6"></a><h4>Parameters</h4>
|
710
|
+
<div class="informaltable"><table width="100%" border="0">
|
711
|
+
<colgroup>
|
712
|
+
<col width="150px" class="parameters_name">
|
713
|
+
<col class="parameters_description">
|
714
|
+
<col width="200px" class="parameters_annotations">
|
715
|
+
</colgroup>
|
716
|
+
<tbody>
|
717
|
+
<tr>
|
718
|
+
<td class="parameter_name"><p>node</p></td>
|
719
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
720
|
+
<td class="parameter_annotations"> </td>
|
721
|
+
</tr>
|
722
|
+
<tr>
|
723
|
+
<td class="parameter_name"><p>value</p></td>
|
724
|
+
<td class="parameter_description"><p>a boolean value</p></td>
|
725
|
+
<td class="parameter_annotations"> </td>
|
726
|
+
</tr>
|
727
|
+
</tbody>
|
728
|
+
</table></div>
|
729
|
+
</div>
|
730
|
+
<div class="refsect3">
|
731
|
+
<a name="id-1.3.3.2.6.12.7"></a><h4>Returns</h4>
|
732
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
733
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
734
|
+
</div>
|
735
|
+
<p class="since">Since 0.16</p>
|
736
|
+
</div>
|
737
|
+
<hr>
|
738
|
+
<div class="refsect2">
|
739
|
+
<a name="json-node-init-string"></a><h3>json_node_init_string ()</h3>
|
740
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
741
|
+
json_node_init_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>,
|
742
|
+
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
|
743
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
744
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
745
|
+
into it.</p>
|
746
|
+
<p>If the node has already been initialized once, it will be reset to
|
747
|
+
the given type, and any data contained will be cleared.</p>
|
748
|
+
<div class="refsect3">
|
749
|
+
<a name="id-1.3.3.2.6.13.6"></a><h4>Parameters</h4>
|
750
|
+
<div class="informaltable"><table width="100%" border="0">
|
751
|
+
<colgroup>
|
752
|
+
<col width="150px" class="parameters_name">
|
753
|
+
<col class="parameters_description">
|
754
|
+
<col width="200px" class="parameters_annotations">
|
755
|
+
</colgroup>
|
756
|
+
<tbody>
|
757
|
+
<tr>
|
758
|
+
<td class="parameter_name"><p>node</p></td>
|
759
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
760
|
+
<td class="parameter_annotations"> </td>
|
761
|
+
</tr>
|
762
|
+
<tr>
|
763
|
+
<td class="parameter_name"><p>value</p></td>
|
764
|
+
<td class="parameter_description"><p> a string value. </p></td>
|
765
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
766
|
+
</tr>
|
767
|
+
</tbody>
|
768
|
+
</table></div>
|
769
|
+
</div>
|
770
|
+
<div class="refsect3">
|
771
|
+
<a name="id-1.3.3.2.6.13.7"></a><h4>Returns</h4>
|
772
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
773
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
774
|
+
</div>
|
775
|
+
<p class="since">Since 0.16</p>
|
776
|
+
</div>
|
777
|
+
<hr>
|
778
|
+
<div class="refsect2">
|
779
|
+
<a name="json-node-init-null"></a><h3>json_node_init_null ()</h3>
|
780
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
781
|
+
json_node_init_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>
|
782
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
783
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>.</p>
|
784
|
+
<p>If the node has already been initialized once, it will be reset to
|
785
|
+
the given type, and any data contained will be cleared.</p>
|
786
|
+
<div class="refsect3">
|
787
|
+
<a name="id-1.3.3.2.6.14.6"></a><h4>Parameters</h4>
|
788
|
+
<div class="informaltable"><table width="100%" border="0">
|
789
|
+
<colgroup>
|
790
|
+
<col width="150px" class="parameters_name">
|
791
|
+
<col class="parameters_description">
|
792
|
+
<col width="200px" class="parameters_annotations">
|
793
|
+
</colgroup>
|
794
|
+
<tbody><tr>
|
795
|
+
<td class="parameter_name"><p>node</p></td>
|
796
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
797
|
+
<td class="parameter_annotations"> </td>
|
798
|
+
</tr></tbody>
|
799
|
+
</table></div>
|
800
|
+
</div>
|
801
|
+
<div class="refsect3">
|
802
|
+
<a name="id-1.3.3.2.6.14.7"></a><h4>Returns</h4>
|
803
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
804
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
805
|
+
</div>
|
806
|
+
<p class="since">Since 0.16</p>
|
807
|
+
</div>
|
808
|
+
<hr>
|
809
|
+
<div class="refsect2">
|
810
|
+
<a name="json-node-init-object"></a><h3>json_node_init_object ()</h3>
|
811
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
812
|
+
json_node_init_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>,
|
813
|
+
<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>
|
814
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
815
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a> and sets <em class="parameter"><code>object</code></em>
|
816
|
+
into it.</p>
|
817
|
+
<p>This function will take a reference on <em class="parameter"><code>object</code></em>
|
818
|
+
.</p>
|
819
|
+
<p>If the node has already been initialized once, it will be reset to
|
820
|
+
the given type, and any data contained will be cleared.</p>
|
821
|
+
<div class="refsect3">
|
822
|
+
<a name="id-1.3.3.2.6.15.7"></a><h4>Parameters</h4>
|
823
|
+
<div class="informaltable"><table width="100%" border="0">
|
824
|
+
<colgroup>
|
825
|
+
<col width="150px" class="parameters_name">
|
826
|
+
<col class="parameters_description">
|
827
|
+
<col width="200px" class="parameters_annotations">
|
828
|
+
</colgroup>
|
829
|
+
<tbody>
|
830
|
+
<tr>
|
831
|
+
<td class="parameter_name"><p>node</p></td>
|
832
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
833
|
+
<td class="parameter_annotations"> </td>
|
834
|
+
</tr>
|
835
|
+
<tr>
|
836
|
+
<td class="parameter_name"><p>object</p></td>
|
837
|
+
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> to initialize <em class="parameter"><code>node</code></em>
|
838
|
+
with, or <code class="literal">NULL</code>. </p></td>
|
839
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
840
|
+
</tr>
|
841
|
+
</tbody>
|
842
|
+
</table></div>
|
843
|
+
</div>
|
844
|
+
<div class="refsect3">
|
845
|
+
<a name="id-1.3.3.2.6.15.8"></a><h4>Returns</h4>
|
846
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
847
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
848
|
+
</div>
|
849
|
+
<p class="since">Since 0.16</p>
|
850
|
+
</div>
|
851
|
+
<hr>
|
852
|
+
<div class="refsect2">
|
853
|
+
<a name="json-node-init-array"></a><h3>json_node_init_array ()</h3>
|
854
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
855
|
+
json_node_init_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>,
|
856
|
+
<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>
|
857
|
+
<p>Initializes <em class="parameter"><code>node</code></em>
|
858
|
+
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a> and sets <em class="parameter"><code>array</code></em>
|
859
|
+
into it.</p>
|
860
|
+
<p>This function will take a reference on <em class="parameter"><code>array</code></em>
|
861
|
+
.</p>
|
862
|
+
<p>If the node has already been initialized once, it will be reset to
|
863
|
+
the given type, and any data contained will be cleared.</p>
|
864
|
+
<div class="refsect3">
|
865
|
+
<a name="id-1.3.3.2.6.16.7"></a><h4>Parameters</h4>
|
866
|
+
<div class="informaltable"><table width="100%" border="0">
|
867
|
+
<colgroup>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
871
|
+
</colgroup>
|
872
|
+
<tbody>
|
873
|
+
<tr>
|
874
|
+
<td class="parameter_name"><p>node</p></td>
|
875
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
876
|
+
<td class="parameter_annotations"> </td>
|
877
|
+
</tr>
|
878
|
+
<tr>
|
879
|
+
<td class="parameter_name"><p>array</p></td>
|
880
|
+
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> to initialize <em class="parameter"><code>node</code></em>
|
881
|
+
with, or <code class="literal">NULL</code>. </p></td>
|
882
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
883
|
+
</tr>
|
884
|
+
</tbody>
|
885
|
+
</table></div>
|
886
|
+
</div>
|
887
|
+
<div class="refsect3">
|
888
|
+
<a name="id-1.3.3.2.6.16.8"></a><h4>Returns</h4>
|
889
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
890
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
891
|
+
</div>
|
892
|
+
<p class="since">Since 0.16</p>
|
893
|
+
</div>
|
894
|
+
<hr>
|
895
|
+
<div class="refsect2">
|
896
|
+
<a name="json-node-new"></a><h3>json_node_new ()</h3>
|
897
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
898
|
+
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>
|
899
|
+
<p>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>
|
900
|
+
.</p>
|
901
|
+
<p>This is a convenience function for <a class="link" href="json-glib-JSON-Node.html#json-node-alloc" title="json_node_alloc ()"><code class="function">json_node_alloc()</code></a> and <a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()"><code class="function">json_node_init()</code></a>,
|
902
|
+
and it's the equivalent of:</p>
|
903
|
+
<div class="informalexample">
|
904
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
905
|
+
<tbody>
|
906
|
+
<tr>
|
907
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
908
|
+
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="json-glib-JSON-Node.html#json-node-init">json_node_init</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="json-glib-JSON-Node.html#json-node-alloc">json_node_alloc</a></span><span class="normal"> </span><span class="symbol">(),</span><span class="normal"> type</span><span class="symbol">);</span></pre></td>
|
909
|
+
</tr>
|
910
|
+
</tbody>
|
911
|
+
</table>
|
912
|
+
</div>
|
913
|
+
|
914
|
+
<p></p>
|
915
|
+
<div class="refsect3">
|
916
|
+
<a name="id-1.3.3.2.6.17.8"></a><h4>Parameters</h4>
|
917
|
+
<div class="informaltable"><table width="100%" border="0">
|
918
|
+
<colgroup>
|
919
|
+
<col width="150px" class="parameters_name">
|
920
|
+
<col class="parameters_description">
|
921
|
+
<col width="200px" class="parameters_annotations">
|
922
|
+
</colgroup>
|
923
|
+
<tbody><tr>
|
924
|
+
<td class="parameter_name"><p>type</p></td>
|
925
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a></p></td>
|
926
|
+
<td class="parameter_annotations"> </td>
|
927
|
+
</tr></tbody>
|
928
|
+
</table></div>
|
929
|
+
</div>
|
930
|
+
<div class="refsect3">
|
931
|
+
<a name="id-1.3.3.2.6.17.9"></a><h4>Returns</h4>
|
932
|
+
<p> the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
933
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
934
|
+
</div>
|
935
|
+
</div>
|
936
|
+
<hr>
|
937
|
+
<div class="refsect2">
|
938
|
+
<a name="json-node-copy"></a><h3>json_node_copy ()</h3>
|
939
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
940
|
+
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>
|
941
|
+
<p>Copies <em class="parameter"><code>node</code></em>
|
942
|
+
. If the node contains complex data types then the reference
|
943
|
+
count of the objects is increased.</p>
|
944
|
+
<div class="refsect3">
|
945
|
+
<a name="id-1.3.3.2.6.18.5"></a><h4>Parameters</h4>
|
946
|
+
<div class="informaltable"><table width="100%" border="0">
|
947
|
+
<colgroup>
|
948
|
+
<col width="150px" class="parameters_name">
|
949
|
+
<col class="parameters_description">
|
950
|
+
<col width="200px" class="parameters_annotations">
|
951
|
+
</colgroup>
|
952
|
+
<tbody><tr>
|
953
|
+
<td class="parameter_name"><p>node</p></td>
|
954
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
955
|
+
<td class="parameter_annotations"> </td>
|
956
|
+
</tr></tbody>
|
957
|
+
</table></div>
|
958
|
+
</div>
|
959
|
+
<div class="refsect3">
|
960
|
+
<a name="id-1.3.3.2.6.18.6"></a><h4>Returns</h4>
|
961
|
+
<p> the copied <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. </p>
|
962
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
963
|
+
</div>
|
964
|
+
</div>
|
965
|
+
<hr>
|
966
|
+
<div class="refsect2">
|
967
|
+
<a name="json-node-free"></a><h3>json_node_free ()</h3>
|
968
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
969
|
+
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>
|
970
|
+
<p>Frees the resources allocated by <em class="parameter"><code>node</code></em>
|
971
|
+
.</p>
|
972
|
+
<div class="refsect3">
|
973
|
+
<a name="id-1.3.3.2.6.19.5"></a><h4>Parameters</h4>
|
974
|
+
<div class="informaltable"><table width="100%" border="0">
|
975
|
+
<colgroup>
|
976
|
+
<col width="150px" class="parameters_name">
|
977
|
+
<col class="parameters_description">
|
978
|
+
<col width="200px" class="parameters_annotations">
|
979
|
+
</colgroup>
|
980
|
+
<tbody><tr>
|
981
|
+
<td class="parameter_name"><p>node</p></td>
|
982
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
983
|
+
<td class="parameter_annotations"> </td>
|
984
|
+
</tr></tbody>
|
985
|
+
</table></div>
|
986
|
+
</div>
|
987
|
+
</div>
|
988
|
+
<hr>
|
989
|
+
<div class="refsect2">
|
990
|
+
<a name="json-node-set-array"></a><h3>json_node_set_array ()</h3>
|
991
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
992
|
+
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>,
|
993
|
+
<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>
|
994
|
+
<p>Sets <em class="parameter"><code>array</code></em>
|
995
|
+
inside <em class="parameter"><code>node</code></em>
|
996
|
+
and increases the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> reference count</p>
|
997
|
+
<div class="refsect3">
|
998
|
+
<a name="id-1.3.3.2.6.20.5"></a><h4>Parameters</h4>
|
999
|
+
<div class="informaltable"><table width="100%" border="0">
|
1000
|
+
<colgroup>
|
1001
|
+
<col width="150px" class="parameters_name">
|
1002
|
+
<col class="parameters_description">
|
1003
|
+
<col width="200px" class="parameters_annotations">
|
1004
|
+
</colgroup>
|
1005
|
+
<tbody>
|
1006
|
+
<tr>
|
1007
|
+
<td class="parameter_name"><p>node</p></td>
|
1008
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p></td>
|
1009
|
+
<td class="parameter_annotations"> </td>
|
1010
|
+
</tr>
|
1011
|
+
<tr>
|
1012
|
+
<td class="parameter_name"><p>array</p></td>
|
1013
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p></td>
|
1014
|
+
<td class="parameter_annotations"> </td>
|
1015
|
+
</tr>
|
1016
|
+
</tbody>
|
1017
|
+
</table></div>
|
1018
|
+
</div>
|
1019
|
+
</div>
|
1020
|
+
<hr>
|
1021
|
+
<div class="refsect2">
|
1022
|
+
<a name="json-node-take-array"></a><h3>json_node_take_array ()</h3>
|
1023
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1024
|
+
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>,
|
1025
|
+
<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>
|
1026
|
+
<p>Sets <em class="parameter"><code>array</code></em>
|
1027
|
+
into <em class="parameter"><code>node</code></em>
|
1028
|
+
without increasing the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> reference count.</p>
|
1029
|
+
<div class="refsect3">
|
1030
|
+
<a name="id-1.3.3.2.6.21.5"></a><h4>Parameters</h4>
|
1031
|
+
<div class="informaltable"><table width="100%" border="0">
|
1032
|
+
<colgroup>
|
1033
|
+
<col width="150px" class="parameters_name">
|
1034
|
+
<col class="parameters_description">
|
1035
|
+
<col width="200px" class="parameters_annotations">
|
1036
|
+
</colgroup>
|
1037
|
+
<tbody>
|
1038
|
+
<tr>
|
1039
|
+
<td class="parameter_name"><p>node</p></td>
|
1040
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p></td>
|
1041
|
+
<td class="parameter_annotations"> </td>
|
1042
|
+
</tr>
|
1043
|
+
<tr>
|
1044
|
+
<td class="parameter_name"><p>array</p></td>
|
1045
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. </p></td>
|
1046
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1047
|
+
</tr>
|
1048
|
+
</tbody>
|
1049
|
+
</table></div>
|
1050
|
+
</div>
|
1051
|
+
</div>
|
1052
|
+
<hr>
|
1053
|
+
<div class="refsect2">
|
1054
|
+
<a name="json-node-get-array"></a><h3>json_node_get_array ()</h3>
|
1055
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
1056
|
+
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>
|
1057
|
+
<p>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></p>
|
1058
|
+
<div class="refsect3">
|
1059
|
+
<a name="id-1.3.3.2.6.22.5"></a><h4>Parameters</h4>
|
1060
|
+
<div class="informaltable"><table width="100%" border="0">
|
1061
|
+
<colgroup>
|
1062
|
+
<col width="150px" class="parameters_name">
|
1063
|
+
<col class="parameters_description">
|
1064
|
+
<col width="200px" class="parameters_annotations">
|
1065
|
+
</colgroup>
|
1066
|
+
<tbody><tr>
|
1067
|
+
<td class="parameter_name"><p>node</p></td>
|
1068
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1069
|
+
<td class="parameter_annotations"> </td>
|
1070
|
+
</tr></tbody>
|
1071
|
+
</table></div>
|
1072
|
+
</div>
|
1073
|
+
<div class="refsect3">
|
1074
|
+
<a name="id-1.3.3.2.6.22.6"></a><h4>Returns</h4>
|
1075
|
+
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. </p>
|
1076
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1077
|
+
</div>
|
1078
|
+
</div>
|
1079
|
+
<hr>
|
1080
|
+
<div class="refsect2">
|
1081
|
+
<a name="json-node-dup-array"></a><h3>json_node_dup_array ()</h3>
|
1082
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
1083
|
+
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>
|
1084
|
+
<p>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
|
1085
|
+
with its reference count increased by one.</p>
|
1086
|
+
<div class="refsect3">
|
1087
|
+
<a name="id-1.3.3.2.6.23.5"></a><h4>Parameters</h4>
|
1088
|
+
<div class="informaltable"><table width="100%" border="0">
|
1089
|
+
<colgroup>
|
1090
|
+
<col width="150px" class="parameters_name">
|
1091
|
+
<col class="parameters_description">
|
1092
|
+
<col width="200px" class="parameters_annotations">
|
1093
|
+
</colgroup>
|
1094
|
+
<tbody><tr>
|
1095
|
+
<td class="parameter_name"><p>node</p></td>
|
1096
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1097
|
+
<td class="parameter_annotations"> </td>
|
1098
|
+
</tr></tbody>
|
1099
|
+
</table></div>
|
1100
|
+
</div>
|
1101
|
+
<div class="refsect3">
|
1102
|
+
<a name="id-1.3.3.2.6.23.6"></a><h4>Returns</h4>
|
1103
|
+
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> with its reference
|
1104
|
+
count increased. </p>
|
1105
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1106
|
+
</div>
|
1107
|
+
</div>
|
1108
|
+
<hr>
|
1109
|
+
<div class="refsect2">
|
1110
|
+
<a name="json-node-set-object"></a><h3>json_node_set_object ()</h3>
|
1111
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1112
|
+
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>,
|
1113
|
+
<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>
|
1114
|
+
<p>Sets <em class="parameter"><code>objects</code></em>
|
1115
|
+
inside <em class="parameter"><code>node</code></em>
|
1116
|
+
. The reference count of <em class="parameter"><code>object</code></em>
|
1117
|
+
is increased.</p>
|
1118
|
+
<div class="refsect3">
|
1119
|
+
<a name="id-1.3.3.2.6.24.5"></a><h4>Parameters</h4>
|
1120
|
+
<div class="informaltable"><table width="100%" border="0">
|
1121
|
+
<colgroup>
|
1122
|
+
<col width="150px" class="parameters_name">
|
1123
|
+
<col class="parameters_description">
|
1124
|
+
<col width="200px" class="parameters_annotations">
|
1125
|
+
</colgroup>
|
1126
|
+
<tbody>
|
1127
|
+
<tr>
|
1128
|
+
<td class="parameter_name"><p>node</p></td>
|
1129
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p></td>
|
1130
|
+
<td class="parameter_annotations"> </td>
|
1131
|
+
</tr>
|
1132
|
+
<tr>
|
1133
|
+
<td class="parameter_name"><p>object</p></td>
|
1134
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a></p></td>
|
1135
|
+
<td class="parameter_annotations"> </td>
|
1136
|
+
</tr>
|
1137
|
+
</tbody>
|
1138
|
+
</table></div>
|
1139
|
+
</div>
|
1140
|
+
</div>
|
1141
|
+
<hr>
|
1142
|
+
<div class="refsect2">
|
1143
|
+
<a name="json-node-take-object"></a><h3>json_node_take_object ()</h3>
|
1144
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1145
|
+
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>,
|
1146
|
+
<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>
|
1147
|
+
<p>Sets <em class="parameter"><code>object</code></em>
|
1148
|
+
inside <em class="parameter"><code>node</code></em>
|
1149
|
+
. The reference count of <em class="parameter"><code>object</code></em>
|
1150
|
+
is not increased.</p>
|
1151
|
+
<div class="refsect3">
|
1152
|
+
<a name="id-1.3.3.2.6.25.5"></a><h4>Parameters</h4>
|
1153
|
+
<div class="informaltable"><table width="100%" border="0">
|
1154
|
+
<colgroup>
|
1155
|
+
<col width="150px" class="parameters_name">
|
1156
|
+
<col class="parameters_description">
|
1157
|
+
<col width="200px" class="parameters_annotations">
|
1158
|
+
</colgroup>
|
1159
|
+
<tbody>
|
1160
|
+
<tr>
|
1161
|
+
<td class="parameter_name"><p>node</p></td>
|
1162
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p></td>
|
1163
|
+
<td class="parameter_annotations"> </td>
|
1164
|
+
</tr>
|
1165
|
+
<tr>
|
1166
|
+
<td class="parameter_name"><p>object</p></td>
|
1167
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. </p></td>
|
1168
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1169
|
+
</tr>
|
1170
|
+
</tbody>
|
1171
|
+
</table></div>
|
1172
|
+
</div>
|
1173
|
+
</div>
|
1174
|
+
<hr>
|
1175
|
+
<div class="refsect2">
|
1176
|
+
<a name="json-node-get-object"></a><h3>json_node_get_object ()</h3>
|
1177
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
1178
|
+
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>
|
1179
|
+
<p>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></p>
|
1180
|
+
<div class="refsect3">
|
1181
|
+
<a name="id-1.3.3.2.6.26.5"></a><h4>Parameters</h4>
|
1182
|
+
<div class="informaltable"><table width="100%" border="0">
|
1183
|
+
<colgroup>
|
1184
|
+
<col width="150px" class="parameters_name">
|
1185
|
+
<col class="parameters_description">
|
1186
|
+
<col width="200px" class="parameters_annotations">
|
1187
|
+
</colgroup>
|
1188
|
+
<tbody><tr>
|
1189
|
+
<td class="parameter_name"><p>node</p></td>
|
1190
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1191
|
+
<td class="parameter_annotations"> </td>
|
1192
|
+
</tr></tbody>
|
1193
|
+
</table></div>
|
1194
|
+
</div>
|
1195
|
+
<div class="refsect3">
|
1196
|
+
<a name="id-1.3.3.2.6.26.6"></a><h4>Returns</h4>
|
1197
|
+
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. </p>
|
1198
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1199
|
+
</div>
|
1200
|
+
</div>
|
1201
|
+
<hr>
|
1202
|
+
<div class="refsect2">
|
1203
|
+
<a name="json-node-dup-object"></a><h3>json_node_dup_object ()</h3>
|
1204
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
1205
|
+
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>
|
1206
|
+
<p>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>
|
1207
|
+
. The reference count of
|
1208
|
+
the returned object is increased.</p>
|
1209
|
+
<div class="refsect3">
|
1210
|
+
<a name="id-1.3.3.2.6.27.5"></a><h4>Parameters</h4>
|
1211
|
+
<div class="informaltable"><table width="100%" border="0">
|
1212
|
+
<colgroup>
|
1213
|
+
<col width="150px" class="parameters_name">
|
1214
|
+
<col class="parameters_description">
|
1215
|
+
<col width="200px" class="parameters_annotations">
|
1216
|
+
</colgroup>
|
1217
|
+
<tbody><tr>
|
1218
|
+
<td class="parameter_name"><p>node</p></td>
|
1219
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1220
|
+
<td class="parameter_annotations"> </td>
|
1221
|
+
</tr></tbody>
|
1222
|
+
</table></div>
|
1223
|
+
</div>
|
1224
|
+
<div class="refsect3">
|
1225
|
+
<a name="id-1.3.3.2.6.27.6"></a><h4>Returns</h4>
|
1226
|
+
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. </p>
|
1227
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1228
|
+
</div>
|
1229
|
+
</div>
|
1230
|
+
<hr>
|
1231
|
+
<div class="refsect2">
|
1232
|
+
<a name="json-node-set-value"></a><h3>json_node_set_value ()</h3>
|
1233
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1234
|
+
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>,
|
1235
|
+
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
1236
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1237
|
+
inside <em class="parameter"><code>node</code></em>
|
1238
|
+
. 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></p>
|
1239
|
+
<div class="refsect3">
|
1240
|
+
<a name="id-1.3.3.2.6.28.5"></a><h4>Parameters</h4>
|
1241
|
+
<div class="informaltable"><table width="100%" border="0">
|
1242
|
+
<colgroup>
|
1243
|
+
<col width="150px" class="parameters_name">
|
1244
|
+
<col class="parameters_description">
|
1245
|
+
<col width="200px" class="parameters_annotations">
|
1246
|
+
</colgroup>
|
1247
|
+
<tbody>
|
1248
|
+
<tr>
|
1249
|
+
<td class="parameter_name"><p>node</p></td>
|
1250
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1251
|
+
<td class="parameter_annotations"> </td>
|
1252
|
+
</tr>
|
1253
|
+
<tr>
|
1254
|
+
<td class="parameter_name"><p>value</p></td>
|
1255
|
+
<td class="parameter_description"><p>the <span class="type">GValue</span> to set</p></td>
|
1256
|
+
<td class="parameter_annotations"> </td>
|
1257
|
+
</tr>
|
1258
|
+
</tbody>
|
1259
|
+
</table></div>
|
1260
|
+
</div>
|
1261
|
+
</div>
|
1262
|
+
<hr>
|
1263
|
+
<div class="refsect2">
|
1264
|
+
<a name="json-node-get-value"></a><h3>json_node_get_value ()</h3>
|
1265
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1266
|
+
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>,
|
1267
|
+
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
1268
|
+
<p>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>
|
1269
|
+
. When done
|
1270
|
+
using it, call <code class="function">g_value_unset()</code> on the <span class="type">GValue</span>.</p>
|
1271
|
+
<div class="refsect3">
|
1272
|
+
<a name="id-1.3.3.2.6.29.5"></a><h4>Parameters</h4>
|
1273
|
+
<div class="informaltable"><table width="100%" border="0">
|
1274
|
+
<colgroup>
|
1275
|
+
<col width="150px" class="parameters_name">
|
1276
|
+
<col class="parameters_description">
|
1277
|
+
<col width="200px" class="parameters_annotations">
|
1278
|
+
</colgroup>
|
1279
|
+
<tbody>
|
1280
|
+
<tr>
|
1281
|
+
<td class="parameter_name"><p>node</p></td>
|
1282
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1283
|
+
<td class="parameter_annotations"> </td>
|
1284
|
+
</tr>
|
1285
|
+
<tr>
|
1286
|
+
<td class="parameter_name"><p>value</p></td>
|
1287
|
+
<td class="parameter_description"><p> return location for an uninitialized value. </p></td>
|
1288
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
|
1289
|
+
</tr>
|
1290
|
+
</tbody>
|
1291
|
+
</table></div>
|
1292
|
+
</div>
|
1293
|
+
</div>
|
1294
|
+
<hr>
|
1295
|
+
<div class="refsect2">
|
1296
|
+
<a name="json-node-set-boolean"></a><h3>json_node_set_boolean ()</h3>
|
1297
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1298
|
+
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>,
|
1299
|
+
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
1300
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1301
|
+
as the boolean content of the <em class="parameter"><code>node</code></em>
|
1302
|
+
, replacing any existing
|
1303
|
+
content.</p>
|
1304
|
+
<div class="refsect3">
|
1305
|
+
<a name="id-1.3.3.2.6.30.5"></a><h4>Parameters</h4>
|
1306
|
+
<div class="informaltable"><table width="100%" border="0">
|
1307
|
+
<colgroup>
|
1308
|
+
<col width="150px" class="parameters_name">
|
1309
|
+
<col class="parameters_description">
|
1310
|
+
<col width="200px" class="parameters_annotations">
|
1311
|
+
</colgroup>
|
1312
|
+
<tbody>
|
1313
|
+
<tr>
|
1314
|
+
<td class="parameter_name"><p>node</p></td>
|
1315
|
+
<td class="parameter_description"><p>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></p></td>
|
1316
|
+
<td class="parameter_annotations"> </td>
|
1317
|
+
</tr>
|
1318
|
+
<tr>
|
1319
|
+
<td class="parameter_name"><p>value</p></td>
|
1320
|
+
<td class="parameter_description"><p>a boolean value</p></td>
|
1321
|
+
<td class="parameter_annotations"> </td>
|
1322
|
+
</tr>
|
1323
|
+
</tbody>
|
1324
|
+
</table></div>
|
1325
|
+
</div>
|
1326
|
+
</div>
|
1327
|
+
<hr>
|
1328
|
+
<div class="refsect2">
|
1329
|
+
<a name="json-node-get-boolean"></a><h3>json_node_get_boolean ()</h3>
|
1330
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1331
|
+
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>
|
1332
|
+
<p>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></p>
|
1333
|
+
<div class="refsect3">
|
1334
|
+
<a name="id-1.3.3.2.6.31.5"></a><h4>Parameters</h4>
|
1335
|
+
<div class="informaltable"><table width="100%" border="0">
|
1336
|
+
<colgroup>
|
1337
|
+
<col width="150px" class="parameters_name">
|
1338
|
+
<col class="parameters_description">
|
1339
|
+
<col width="200px" class="parameters_annotations">
|
1340
|
+
</colgroup>
|
1341
|
+
<tbody><tr>
|
1342
|
+
<td class="parameter_name"><p>node</p></td>
|
1343
|
+
<td class="parameter_description"><p>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></p></td>
|
1344
|
+
<td class="parameter_annotations"> </td>
|
1345
|
+
</tr></tbody>
|
1346
|
+
</table></div>
|
1347
|
+
</div>
|
1348
|
+
<div class="refsect3">
|
1349
|
+
<a name="id-1.3.3.2.6.31.6"></a><h4>Returns</h4>
|
1350
|
+
<p> a boolean value.</p>
|
1351
|
+
<p></p>
|
1352
|
+
</div>
|
1353
|
+
</div>
|
1354
|
+
<hr>
|
1355
|
+
<div class="refsect2">
|
1356
|
+
<a name="json-node-set-double"></a><h3>json_node_set_double ()</h3>
|
1357
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1358
|
+
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>,
|
1359
|
+
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
1360
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1361
|
+
as the double content of the <em class="parameter"><code>node</code></em>
|
1362
|
+
, replacing any existing
|
1363
|
+
content.</p>
|
1364
|
+
<div class="refsect3">
|
1365
|
+
<a name="id-1.3.3.2.6.32.5"></a><h4>Parameters</h4>
|
1366
|
+
<div class="informaltable"><table width="100%" border="0">
|
1367
|
+
<colgroup>
|
1368
|
+
<col width="150px" class="parameters_name">
|
1369
|
+
<col class="parameters_description">
|
1370
|
+
<col width="200px" class="parameters_annotations">
|
1371
|
+
</colgroup>
|
1372
|
+
<tbody>
|
1373
|
+
<tr>
|
1374
|
+
<td class="parameter_name"><p>node</p></td>
|
1375
|
+
<td class="parameter_description"><p>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></p></td>
|
1376
|
+
<td class="parameter_annotations"> </td>
|
1377
|
+
</tr>
|
1378
|
+
<tr>
|
1379
|
+
<td class="parameter_name"><p>value</p></td>
|
1380
|
+
<td class="parameter_description"><p>a double value</p></td>
|
1381
|
+
<td class="parameter_annotations"> </td>
|
1382
|
+
</tr>
|
1383
|
+
</tbody>
|
1384
|
+
</table></div>
|
1385
|
+
</div>
|
1386
|
+
</div>
|
1387
|
+
<hr>
|
1388
|
+
<div class="refsect2">
|
1389
|
+
<a name="json-node-get-double"></a><h3>json_node_get_double ()</h3>
|
1390
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
1391
|
+
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>
|
1392
|
+
<p>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></p>
|
1393
|
+
<div class="refsect3">
|
1394
|
+
<a name="id-1.3.3.2.6.33.5"></a><h4>Parameters</h4>
|
1395
|
+
<div class="informaltable"><table width="100%" border="0">
|
1396
|
+
<colgroup>
|
1397
|
+
<col width="150px" class="parameters_name">
|
1398
|
+
<col class="parameters_description">
|
1399
|
+
<col width="200px" class="parameters_annotations">
|
1400
|
+
</colgroup>
|
1401
|
+
<tbody><tr>
|
1402
|
+
<td class="parameter_name"><p>node</p></td>
|
1403
|
+
<td class="parameter_description"><p>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></p></td>
|
1404
|
+
<td class="parameter_annotations"> </td>
|
1405
|
+
</tr></tbody>
|
1406
|
+
</table></div>
|
1407
|
+
</div>
|
1408
|
+
<div class="refsect3">
|
1409
|
+
<a name="id-1.3.3.2.6.33.6"></a><h4>Returns</h4>
|
1410
|
+
<p> a double value.</p>
|
1411
|
+
<p></p>
|
1412
|
+
</div>
|
1413
|
+
</div>
|
1414
|
+
<hr>
|
1415
|
+
<div class="refsect2">
|
1416
|
+
<a name="json-node-set-int"></a><h3>json_node_set_int ()</h3>
|
1417
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1418
|
+
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>,
|
1419
|
+
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
1420
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1421
|
+
as the integer content of the <em class="parameter"><code>node</code></em>
|
1422
|
+
, replacing any existing
|
1423
|
+
content.</p>
|
1424
|
+
<div class="refsect3">
|
1425
|
+
<a name="id-1.3.3.2.6.34.5"></a><h4>Parameters</h4>
|
1426
|
+
<div class="informaltable"><table width="100%" border="0">
|
1427
|
+
<colgroup>
|
1428
|
+
<col width="150px" class="parameters_name">
|
1429
|
+
<col class="parameters_description">
|
1430
|
+
<col width="200px" class="parameters_annotations">
|
1431
|
+
</colgroup>
|
1432
|
+
<tbody>
|
1433
|
+
<tr>
|
1434
|
+
<td class="parameter_name"><p>node</p></td>
|
1435
|
+
<td class="parameter_description"><p>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></p></td>
|
1436
|
+
<td class="parameter_annotations"> </td>
|
1437
|
+
</tr>
|
1438
|
+
<tr>
|
1439
|
+
<td class="parameter_name"><p>value</p></td>
|
1440
|
+
<td class="parameter_description"><p>an integer value</p></td>
|
1441
|
+
<td class="parameter_annotations"> </td>
|
1442
|
+
</tr>
|
1443
|
+
</tbody>
|
1444
|
+
</table></div>
|
1445
|
+
</div>
|
1446
|
+
</div>
|
1447
|
+
<hr>
|
1448
|
+
<div class="refsect2">
|
1449
|
+
<a name="json-node-get-int"></a><h3>json_node_get_int ()</h3>
|
1450
|
+
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
1451
|
+
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>
|
1452
|
+
<p>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></p>
|
1453
|
+
<div class="refsect3">
|
1454
|
+
<a name="id-1.3.3.2.6.35.5"></a><h4>Parameters</h4>
|
1455
|
+
<div class="informaltable"><table width="100%" border="0">
|
1456
|
+
<colgroup>
|
1457
|
+
<col width="150px" class="parameters_name">
|
1458
|
+
<col class="parameters_description">
|
1459
|
+
<col width="200px" class="parameters_annotations">
|
1460
|
+
</colgroup>
|
1461
|
+
<tbody><tr>
|
1462
|
+
<td class="parameter_name"><p>node</p></td>
|
1463
|
+
<td class="parameter_description"><p>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></p></td>
|
1464
|
+
<td class="parameter_annotations"> </td>
|
1465
|
+
</tr></tbody>
|
1466
|
+
</table></div>
|
1467
|
+
</div>
|
1468
|
+
<div class="refsect3">
|
1469
|
+
<a name="id-1.3.3.2.6.35.6"></a><h4>Returns</h4>
|
1470
|
+
<p> an integer value.</p>
|
1471
|
+
<p></p>
|
1472
|
+
</div>
|
1473
|
+
</div>
|
1474
|
+
<hr>
|
1475
|
+
<div class="refsect2">
|
1476
|
+
<a name="json-node-set-string"></a><h3>json_node_set_string ()</h3>
|
1477
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1478
|
+
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>,
|
1479
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
1480
|
+
<p>Sets <em class="parameter"><code>value</code></em>
|
1481
|
+
as the string content of the <em class="parameter"><code>node</code></em>
|
1482
|
+
, replacing any existing
|
1483
|
+
content.</p>
|
1484
|
+
<div class="refsect3">
|
1485
|
+
<a name="id-1.3.3.2.6.36.5"></a><h4>Parameters</h4>
|
1486
|
+
<div class="informaltable"><table width="100%" border="0">
|
1487
|
+
<colgroup>
|
1488
|
+
<col width="150px" class="parameters_name">
|
1489
|
+
<col class="parameters_description">
|
1490
|
+
<col width="200px" class="parameters_annotations">
|
1491
|
+
</colgroup>
|
1492
|
+
<tbody>
|
1493
|
+
<tr>
|
1494
|
+
<td class="parameter_name"><p>node</p></td>
|
1495
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1496
|
+
<td class="parameter_annotations"> </td>
|
1497
|
+
</tr>
|
1498
|
+
<tr>
|
1499
|
+
<td class="parameter_name"><p>value</p></td>
|
1500
|
+
<td class="parameter_description"><p>a string value</p></td>
|
1501
|
+
<td class="parameter_annotations"> </td>
|
1502
|
+
</tr>
|
1503
|
+
</tbody>
|
1504
|
+
</table></div>
|
1505
|
+
</div>
|
1506
|
+
</div>
|
1507
|
+
<hr>
|
1508
|
+
<div class="refsect2">
|
1509
|
+
<a name="json-node-get-string"></a><h3>json_node_get_string ()</h3>
|
1510
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1511
|
+
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>
|
1512
|
+
<p>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></p>
|
1513
|
+
<div class="refsect3">
|
1514
|
+
<a name="id-1.3.3.2.6.37.5"></a><h4>Parameters</h4>
|
1515
|
+
<div class="informaltable"><table width="100%" border="0">
|
1516
|
+
<colgroup>
|
1517
|
+
<col width="150px" class="parameters_name">
|
1518
|
+
<col class="parameters_description">
|
1519
|
+
<col width="200px" class="parameters_annotations">
|
1520
|
+
</colgroup>
|
1521
|
+
<tbody><tr>
|
1522
|
+
<td class="parameter_name"><p>node</p></td>
|
1523
|
+
<td class="parameter_description"><p>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></p></td>
|
1524
|
+
<td class="parameter_annotations"> </td>
|
1525
|
+
</tr></tbody>
|
1526
|
+
</table></div>
|
1527
|
+
</div>
|
1528
|
+
<div class="refsect3">
|
1529
|
+
<a name="id-1.3.3.2.6.37.6"></a><h4>Returns</h4>
|
1530
|
+
<p> a string value.</p>
|
1531
|
+
<p></p>
|
1532
|
+
</div>
|
1533
|
+
</div>
|
1534
|
+
<hr>
|
1535
|
+
<div class="refsect2">
|
1536
|
+
<a name="json-node-dup-string"></a><h3>json_node_dup_string ()</h3>
|
1537
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
1538
|
+
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>
|
1539
|
+
<p>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></p>
|
1540
|
+
<div class="refsect3">
|
1541
|
+
<a name="id-1.3.3.2.6.38.5"></a><h4>Parameters</h4>
|
1542
|
+
<div class="informaltable"><table width="100%" border="0">
|
1543
|
+
<colgroup>
|
1544
|
+
<col width="150px" class="parameters_name">
|
1545
|
+
<col class="parameters_description">
|
1546
|
+
<col width="200px" class="parameters_annotations">
|
1547
|
+
</colgroup>
|
1548
|
+
<tbody><tr>
|
1549
|
+
<td class="parameter_name"><p>node</p></td>
|
1550
|
+
<td class="parameter_description"><p>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></p></td>
|
1551
|
+
<td class="parameter_annotations"> </td>
|
1552
|
+
</tr></tbody>
|
1553
|
+
</table></div>
|
1554
|
+
</div>
|
1555
|
+
<div class="refsect3">
|
1556
|
+
<a name="id-1.3.3.2.6.38.6"></a><h4>Returns</h4>
|
1557
|
+
<p> a newly allocated string containing a copy
|
1558
|
+
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. </p>
|
1559
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1560
|
+
</div>
|
1561
|
+
</div>
|
1562
|
+
<hr>
|
1563
|
+
<div class="refsect2">
|
1564
|
+
<a name="json-node-set-parent"></a><h3>json_node_set_parent ()</h3>
|
1565
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1566
|
+
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>,
|
1567
|
+
<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>
|
1568
|
+
<p>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>
|
1569
|
+
</p>
|
1570
|
+
<div class="refsect3">
|
1571
|
+
<a name="id-1.3.3.2.6.39.5"></a><h4>Parameters</h4>
|
1572
|
+
<div class="informaltable"><table width="100%" border="0">
|
1573
|
+
<colgroup>
|
1574
|
+
<col width="150px" class="parameters_name">
|
1575
|
+
<col class="parameters_description">
|
1576
|
+
<col width="200px" class="parameters_annotations">
|
1577
|
+
</colgroup>
|
1578
|
+
<tbody>
|
1579
|
+
<tr>
|
1580
|
+
<td class="parameter_name"><p>node</p></td>
|
1581
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1582
|
+
<td class="parameter_annotations"> </td>
|
1583
|
+
</tr>
|
1584
|
+
<tr>
|
1585
|
+
<td class="parameter_name"><p>parent</p></td>
|
1586
|
+
<td class="parameter_description"><p> 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>
|
1587
|
+
. </p></td>
|
1588
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
1589
|
+
</tr>
|
1590
|
+
</tbody>
|
1591
|
+
</table></div>
|
1592
|
+
</div>
|
1593
|
+
<p class="since">Since 0.8</p>
|
1594
|
+
</div>
|
1595
|
+
<hr>
|
1596
|
+
<div class="refsect2">
|
1597
|
+
<a name="json-node-get-parent"></a><h3>json_node_get_parent ()</h3>
|
1598
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
1599
|
+
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>
|
1600
|
+
<p>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>
|
1601
|
+
.</p>
|
1602
|
+
<div class="refsect3">
|
1603
|
+
<a name="id-1.3.3.2.6.40.5"></a><h4>Parameters</h4>
|
1604
|
+
<div class="informaltable"><table width="100%" border="0">
|
1605
|
+
<colgroup>
|
1606
|
+
<col width="150px" class="parameters_name">
|
1607
|
+
<col class="parameters_description">
|
1608
|
+
<col width="200px" class="parameters_annotations">
|
1609
|
+
</colgroup>
|
1610
|
+
<tbody><tr>
|
1611
|
+
<td class="parameter_name"><p>node</p></td>
|
1612
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1613
|
+
<td class="parameter_annotations"> </td>
|
1614
|
+
</tr></tbody>
|
1615
|
+
</table></div>
|
1616
|
+
</div>
|
1617
|
+
<div class="refsect3">
|
1618
|
+
<a name="id-1.3.3.2.6.40.6"></a><h4>Returns</h4>
|
1619
|
+
<p> the parent node, or <code class="literal">NULL</code> if <em class="parameter"><code>node</code></em>
|
1620
|
+
is
|
1621
|
+
the root node. </p>
|
1622
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1623
|
+
</div>
|
1624
|
+
</div>
|
1625
|
+
<hr>
|
1626
|
+
<div class="refsect2">
|
1627
|
+
<a name="json-node-type-name"></a><h3>json_node_type_name ()</h3>
|
1628
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1629
|
+
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>
|
1630
|
+
<p>Retrieves the user readable name of the data type contained by <em class="parameter"><code>node</code></em>
|
1631
|
+
.</p>
|
1632
|
+
<div class="refsect3">
|
1633
|
+
<a name="id-1.3.3.2.6.41.5"></a><h4>Parameters</h4>
|
1634
|
+
<div class="informaltable"><table width="100%" border="0">
|
1635
|
+
<colgroup>
|
1636
|
+
<col width="150px" class="parameters_name">
|
1637
|
+
<col class="parameters_description">
|
1638
|
+
<col width="200px" class="parameters_annotations">
|
1639
|
+
</colgroup>
|
1640
|
+
<tbody><tr>
|
1641
|
+
<td class="parameter_name"><p>node</p></td>
|
1642
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1643
|
+
<td class="parameter_annotations"> </td>
|
1644
|
+
</tr></tbody>
|
1645
|
+
</table></div>
|
1646
|
+
</div>
|
1647
|
+
<div class="refsect3">
|
1648
|
+
<a name="id-1.3.3.2.6.41.6"></a><h4>Returns</h4>
|
1649
|
+
<p> a string containing the name of the type. The returned string
|
1650
|
+
is owned by the node and should never be modified or freed</p>
|
1651
|
+
<p></p>
|
1652
|
+
</div>
|
1653
|
+
</div>
|
1654
|
+
<hr>
|
1655
|
+
<div class="refsect2">
|
1656
|
+
<a name="json-node-get-value-type"></a><h3>json_node_get_value_type ()</h3>
|
1657
|
+
<pre class="programlisting"><span class="returnvalue">GType</span>
|
1658
|
+
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>
|
1659
|
+
<p>Returns the <span class="type">GType</span> of the payload of the node.</p>
|
1660
|
+
<div class="refsect3">
|
1661
|
+
<a name="id-1.3.3.2.6.42.5"></a><h4>Parameters</h4>
|
1662
|
+
<div class="informaltable"><table width="100%" border="0">
|
1663
|
+
<colgroup>
|
1664
|
+
<col width="150px" class="parameters_name">
|
1665
|
+
<col class="parameters_description">
|
1666
|
+
<col width="200px" class="parameters_annotations">
|
1667
|
+
</colgroup>
|
1668
|
+
<tbody><tr>
|
1669
|
+
<td class="parameter_name"><p>node</p></td>
|
1670
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1671
|
+
<td class="parameter_annotations"> </td>
|
1672
|
+
</tr></tbody>
|
1673
|
+
</table></div>
|
1674
|
+
</div>
|
1675
|
+
<div class="refsect3">
|
1676
|
+
<a name="id-1.3.3.2.6.42.6"></a><h4>Returns</h4>
|
1677
|
+
<p> a <span class="type">GType</span> for the payload.</p>
|
1678
|
+
<p></p>
|
1679
|
+
</div>
|
1680
|
+
<p class="since">Since 0.4</p>
|
1681
|
+
</div>
|
1682
|
+
<hr>
|
1683
|
+
<div class="refsect2">
|
1684
|
+
<a name="json-node-get-node-type"></a><h3>json_node_get_node_type ()</h3>
|
1685
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a>
|
1686
|
+
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>
|
1687
|
+
<p>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>
|
1688
|
+
</p>
|
1689
|
+
<div class="refsect3">
|
1690
|
+
<a name="id-1.3.3.2.6.43.5"></a><h4>Parameters</h4>
|
1691
|
+
<div class="informaltable"><table width="100%" border="0">
|
1692
|
+
<colgroup>
|
1693
|
+
<col width="150px" class="parameters_name">
|
1694
|
+
<col class="parameters_description">
|
1695
|
+
<col width="200px" class="parameters_annotations">
|
1696
|
+
</colgroup>
|
1697
|
+
<tbody><tr>
|
1698
|
+
<td class="parameter_name"><p>node</p></td>
|
1699
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1700
|
+
<td class="parameter_annotations"> </td>
|
1701
|
+
</tr></tbody>
|
1702
|
+
</table></div>
|
1703
|
+
</div>
|
1704
|
+
<div class="refsect3">
|
1705
|
+
<a name="id-1.3.3.2.6.43.6"></a><h4>Returns</h4>
|
1706
|
+
<p> the type of the node</p>
|
1707
|
+
<p></p>
|
1708
|
+
</div>
|
1709
|
+
<p class="since">Since 0.8</p>
|
1710
|
+
</div>
|
1711
|
+
<hr>
|
1712
|
+
<div class="refsect2">
|
1713
|
+
<a name="json-node-is-null"></a><h3>json_node_is_null ()</h3>
|
1714
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1715
|
+
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>
|
1716
|
+
<p>Checks whether <em class="parameter"><code>node</code></em>
|
1717
|
+
is a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>.</p>
|
1718
|
+
<p>A <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a> node is not the same as a <code class="literal">NULL</code> <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>; a
|
1719
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a> represents a 'null' value in the JSON tree.</p>
|
1720
|
+
<div class="refsect3">
|
1721
|
+
<a name="id-1.3.3.2.6.44.6"></a><h4>Parameters</h4>
|
1722
|
+
<div class="informaltable"><table width="100%" border="0">
|
1723
|
+
<colgroup>
|
1724
|
+
<col width="150px" class="parameters_name">
|
1725
|
+
<col class="parameters_description">
|
1726
|
+
<col width="200px" class="parameters_annotations">
|
1727
|
+
</colgroup>
|
1728
|
+
<tbody><tr>
|
1729
|
+
<td class="parameter_name"><p>node</p></td>
|
1730
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1731
|
+
<td class="parameter_annotations"> </td>
|
1732
|
+
</tr></tbody>
|
1733
|
+
</table></div>
|
1734
|
+
</div>
|
1735
|
+
<div class="refsect3">
|
1736
|
+
<a name="id-1.3.3.2.6.44.7"></a><h4>Returns</h4>
|
1737
|
+
<p> <code class="literal">TRUE</code> if the node is null</p>
|
1738
|
+
<p></p>
|
1739
|
+
</div>
|
1740
|
+
<p class="since">Since 0.8</p>
|
1741
|
+
</div>
|
1742
|
+
</div>
|
1743
|
+
<div class="refsect1">
|
1744
|
+
<a name="json-glib-JSON-Node.other_details"></a><h2>Types and Values</h2>
|
1745
|
+
<div class="refsect2">
|
1746
|
+
<a name="JsonNodeType"></a><h3>enum JsonNodeType</h3>
|
1747
|
+
<p>Indicates the content of a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.</p>
|
1748
|
+
<div class="refsect3">
|
1749
|
+
<a name="id-1.3.3.2.7.2.4"></a><h4>Members</h4>
|
1750
|
+
<div class="informaltable"><table width="100%" border="0">
|
1751
|
+
<colgroup>
|
1752
|
+
<col width="300px" class="enum_members_name">
|
1753
|
+
<col class="enum_members_description">
|
1754
|
+
<col width="200px" class="enum_members_annotations">
|
1755
|
+
</colgroup>
|
1756
|
+
<tbody>
|
1757
|
+
<tr>
|
1758
|
+
<td class="enum_member_name"><p><a name="JSON-NODE-OBJECT:CAPS"></a>JSON_NODE_OBJECT</p></td>
|
1759
|
+
<td class="enum_member_description">
|
1760
|
+
<p>The node contains a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a></p>
|
1761
|
+
</td>
|
1762
|
+
<td class="enum_member_annotations"> </td>
|
1763
|
+
</tr>
|
1764
|
+
<tr>
|
1765
|
+
<td class="enum_member_name"><p><a name="JSON-NODE-ARRAY:CAPS"></a>JSON_NODE_ARRAY</p></td>
|
1766
|
+
<td class="enum_member_description">
|
1767
|
+
<p>The node contains a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p>
|
1768
|
+
</td>
|
1769
|
+
<td class="enum_member_annotations"> </td>
|
1770
|
+
</tr>
|
1771
|
+
<tr>
|
1772
|
+
<td class="enum_member_name"><p><a name="JSON-NODE-VALUE:CAPS"></a>JSON_NODE_VALUE</p></td>
|
1773
|
+
<td class="enum_member_description">
|
1774
|
+
<p>The node contains a fundamental type</p>
|
1775
|
+
</td>
|
1776
|
+
<td class="enum_member_annotations"> </td>
|
1777
|
+
</tr>
|
1778
|
+
<tr>
|
1779
|
+
<td class="enum_member_name"><p><a name="JSON-NODE-NULL:CAPS"></a>JSON_NODE_NULL</p></td>
|
1780
|
+
<td class="enum_member_description">
|
1781
|
+
<p>Special type, for nodes containing null</p>
|
1782
|
+
</td>
|
1783
|
+
<td class="enum_member_annotations"> </td>
|
1784
|
+
</tr>
|
1785
|
+
</tbody>
|
1786
|
+
</table></div>
|
1787
|
+
</div>
|
1788
|
+
</div>
|
1789
|
+
<hr>
|
1790
|
+
<div class="refsect2">
|
1791
|
+
<a name="JsonNode"></a><h3>JsonNode</h3>
|
1792
|
+
<pre class="programlisting">typedef struct _JsonNode JsonNode;</pre>
|
1793
|
+
<p>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>
|
1794
|
+
structure are private and should only be accessed via the provided
|
1795
|
+
functions and never directly.</p>
|
1796
|
+
</div>
|
1797
|
+
</div>
|
1798
|
+
</div>
|
1799
|
+
<div class="footer">
|
1800
|
+
<hr>
|
1801
|
+
Generated by GTK-Doc V1.20.1</div>
|
1802
|
+
</body>
|
1803
|
+
</html>
|