clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- 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-15.dll → 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 +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- 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 +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- 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 +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- 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 +14 -12
- 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 +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- 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 +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- 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 +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- 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 +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- 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 +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- 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 +9 -9
- 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 +314 -104
- 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/cogl/COPYING +107 -502
- 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
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -2,30 +2,26 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>JSON Node</title>
|
5
|
+
<title>JSON-GLib Reference Manual: JSON Node</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Data Types">
|
9
9
|
<link rel="prev" href="ch01.html" title="Data Types">
|
10
10
|
<link rel="next" href="json-glib-JSON-Array.html" title="JSON Array">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
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="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
|
20
|
-
<
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
|
26
|
-
<a href="#json-glib-JSON-Node.description" class="shortcut">Description</a>
|
27
|
-
</td></tr>
|
28
|
-
</table>
|
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>
|
29
25
|
<div class="refentry">
|
30
26
|
<a name="json-glib-JSON-Node"></a><div class="titlepage"></div>
|
31
27
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -33,198 +29,437 @@
|
|
33
29
|
<h2><span class="refentrytitle"><a name="json-glib-JSON-Node.top_of_page"></a>JSON Node</span></h2>
|
34
30
|
<p>JSON Node — Node in a JSON object model</p>
|
35
31
|
</td>
|
36
|
-
<td valign="top" align="right"></td>
|
32
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
37
33
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv">
|
39
|
-
<a name="json-glib-JSON-Node.synopsis"></a><h2>Synopsis</h2>
|
40
|
-
<pre class="synopsis">enum <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType">JsonNodeType</a>;
|
41
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode">JsonNode</a>;
|
42
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS" title="JSON_NODE_TYPE()">JSON_NODE_TYPE</a> (node)
|
43
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS:CAPS" title="JSON_NODE_HOLDS()">JSON_NODE_HOLDS</a> (node,
|
44
|
-
t)
|
45
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-VALUE:CAPS" title="JSON_NODE_HOLDS_VALUE()">JSON_NODE_HOLDS_VALUE</a> (node)
|
46
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-OBJECT:CAPS" title="JSON_NODE_HOLDS_OBJECT()">JSON_NODE_HOLDS_OBJECT</a> (node)
|
47
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-ARRAY:CAPS" title="JSON_NODE_HOLDS_ARRAY()">JSON_NODE_HOLDS_ARRAY</a> (node)
|
48
|
-
#define <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-HOLDS-NULL:CAPS" title="JSON_NODE_HOLDS_NULL()">JSON_NODE_HOLDS_NULL</a> (node)
|
49
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-alloc" title="json_node_alloc ()">json_node_alloc</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
50
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()">json_node_init</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
51
|
-
<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>);
|
52
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-int" title="json_node_init_int ()">json_node_init_int</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);
|
54
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-double" title="json_node_init_double ()">json_node_init_double</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);
|
56
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-boolean" title="json_node_init_boolean ()">json_node_init_boolean</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
|
58
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-string" title="json_node_init_string ()">json_node_init_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
59
|
-
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
|
60
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-null" title="json_node_init_null ()">json_node_init_null</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
61
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-object" title="json_node_init_object ()">json_node_init_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
62
|
-
<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>);
|
63
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-init-array" title="json_node_init_array ()">json_node_init_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
64
|
-
<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>);
|
65
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-new" title="json_node_new ()">json_node_new</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> type</code></em>);
|
66
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-copy" title="json_node_copy ()">json_node_copy</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
67
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()">json_node_free</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
68
|
-
|
69
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-array" title="json_node_set_array ()">json_node_set_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
70
|
-
<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>);
|
71
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-take-array" title="json_node_take_array ()">json_node_take_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
72
|
-
<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>);
|
73
|
-
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()">json_node_get_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
74
|
-
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-array" title="json_node_dup_array ()">json_node_dup_array</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
75
|
-
|
76
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-object" title="json_node_set_object ()">json_node_set_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
77
|
-
<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>);
|
78
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-take-object" title="json_node_take_object ()">json_node_take_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
79
|
-
<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>);
|
80
|
-
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()">json_node_get_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
81
|
-
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-object" title="json_node_dup_object ()">json_node_dup_object</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
82
|
-
|
83
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-value" title="json_node_set_value ()">json_node_set_value</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
84
|
-
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);
|
85
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-value" title="json_node_get_value ()">json_node_get_value</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
86
|
-
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-boolean" title="json_node_set_boolean ()">json_node_set_boolean</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
88
|
-
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
|
89
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-boolean" title="json_node_get_boolean ()">json_node_get_boolean</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
90
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-double" title="json_node_set_double ()">json_node_set_double</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
91
|
-
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);
|
92
|
-
<span class="returnvalue">gdouble</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-double" title="json_node_get_double ()">json_node_get_double</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
93
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-int" title="json_node_set_int ()">json_node_set_int</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
94
|
-
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);
|
95
|
-
<span class="returnvalue">gint64</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-int" title="json_node_get_int ()">json_node_get_int</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
96
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-string" title="json_node_set_string ()">json_node_set_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
97
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
|
98
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-string" title="json_node_get_string ()">json_node_get_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
99
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-dup-string" title="json_node_dup_string ()">json_node_dup_string</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
100
|
-
|
101
|
-
<span class="returnvalue">void</span> <a class="link" href="json-glib-JSON-Node.html#json-node-set-parent" title="json_node_set_parent ()">json_node_set_parent</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
102
|
-
<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>);
|
103
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="json-glib-JSON-Node.html#json-node-get-parent" title="json_node_get_parent ()">json_node_get_parent</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
104
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="json-glib-JSON-Node.html#json-node-type-name" title="json_node_type_name ()">json_node_type_name</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
105
|
-
<span class="returnvalue">GType</span> <a class="link" href="json-glib-JSON-Node.html#json-node-get-value-type" title="json_node_get_value_type ()">json_node_get_value_type</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
106
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a> <a class="link" href="json-glib-JSON-Node.html#json-node-get-node-type" title="json_node_get_node_type ()">json_node_get_node_type</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
107
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="json-glib-JSON-Node.html#json-node-is-null" title="json_node_is_null ()">json_node_is_null</a> (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);
|
108
|
-
</pre>
|
109
|
-
</div>
|
110
|
-
<div class="refsect1">
|
111
|
-
<a name="json-glib-JSON-Node.description"></a><h2>Description</h2>
|
112
|
-
<p>
|
113
|
-
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.
|
114
|
-
It can contain fundamental types (integers, booleans, floating point
|
115
|
-
numbers, strings) and complex types (arrays and objects).
|
116
|
-
</p>
|
117
|
-
<p>
|
118
|
-
When parsing a JSON data stream you extract the root node and walk
|
119
|
-
the node tree by retrieving the type of data contained inside the
|
120
|
-
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
|
121
|
-
type you can retrieve a copy of the <span class="type">GValue</span> holding it with the
|
122
|
-
<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
|
123
|
-
the data; if the node contains a complex type you can retrieve the
|
124
|
-
<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
|
125
|
-
<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
|
126
|
-
they contain.
|
127
|
-
</p>
|
128
|
-
</div>
|
129
34
|
<div class="refsect1">
|
130
|
-
<a name="json-glib-JSON-Node.
|
131
|
-
<div class="
|
132
|
-
<a name="JsonNodeType"></a><h3>enum JsonNodeType</h3>
|
133
|
-
<pre class="programlisting">typedef enum {
|
134
|
-
JSON_NODE_OBJECT,
|
135
|
-
JSON_NODE_ARRAY,
|
136
|
-
JSON_NODE_VALUE,
|
137
|
-
JSON_NODE_NULL
|
138
|
-
} JsonNodeType;
|
139
|
-
</pre>
|
140
|
-
<p>
|
141
|
-
Indicates the content of a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
142
|
-
</p>
|
143
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
35
|
+
<a name="json-glib-JSON-Node.functions"></a><h2>Functions</h2>
|
36
|
+
<div class="informaltable"><table width="100%" border="0">
|
144
37
|
<colgroup>
|
145
|
-
<col
|
146
|
-
<col>
|
38
|
+
<col width="150px" class="functions_return">
|
39
|
+
<col class="functions_name">
|
147
40
|
</colgroup>
|
148
41
|
<tbody>
|
149
42
|
<tr>
|
150
|
-
<td
|
151
|
-
<td
|
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>
|
152
260
|
</td>
|
153
261
|
</tr>
|
154
262
|
<tr>
|
155
|
-
<td
|
156
|
-
<
|
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>
|
157
276
|
</td>
|
158
277
|
</tr>
|
159
278
|
<tr>
|
160
|
-
<td
|
161
|
-
<
|
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>
|
162
284
|
</td>
|
163
285
|
</tr>
|
164
286
|
<tr>
|
165
|
-
<td
|
166
|
-
<
|
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>
|
167
370
|
</td>
|
168
371
|
</tr>
|
169
372
|
</tbody>
|
170
373
|
</table></div>
|
171
374
|
</div>
|
172
|
-
<
|
173
|
-
<
|
174
|
-
<
|
175
|
-
<
|
176
|
-
<
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
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>
|
181
393
|
</div>
|
182
|
-
<
|
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>
|
183
411
|
<div class="refsect2">
|
184
412
|
<a name="JSON-NODE-TYPE:CAPS"></a><h3>JSON_NODE_TYPE()</h3>
|
185
413
|
<pre class="programlisting">#define JSON_NODE_TYPE(node) (json_node_get_node_type ((node)))
|
186
414
|
</pre>
|
187
|
-
<p>
|
188
|
-
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>
|
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>
|
189
416
|
</p>
|
190
|
-
<div class="
|
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">
|
191
420
|
<colgroup>
|
192
|
-
<col
|
193
|
-
<col>
|
421
|
+
<col width="150px" class="parameters_name">
|
422
|
+
<col class="parameters_description">
|
423
|
+
<col width="200px" class="parameters_annotations">
|
194
424
|
</colgroup>
|
195
425
|
<tbody><tr>
|
196
|
-
<td
|
197
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
198
|
-
</td>
|
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>
|
199
429
|
</tr></tbody>
|
200
430
|
</table></div>
|
201
431
|
</div>
|
432
|
+
</div>
|
202
433
|
<hr>
|
203
434
|
<div class="refsect2">
|
204
435
|
<a name="JSON-NODE-HOLDS:CAPS"></a><h3>JSON_NODE_HOLDS()</h3>
|
205
436
|
<pre class="programlisting">#define JSON_NODE_HOLDS(node,t) (json_node_get_node_type ((node)) == (t))
|
206
437
|
</pre>
|
207
|
-
<p>
|
208
|
-
|
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>
|
209
440
|
</p>
|
210
|
-
<div class="
|
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">
|
211
444
|
<colgroup>
|
212
|
-
<col
|
213
|
-
<col>
|
445
|
+
<col width="150px" class="parameters_name">
|
446
|
+
<col class="parameters_description">
|
447
|
+
<col width="200px" class="parameters_annotations">
|
214
448
|
</colgroup>
|
215
449
|
<tbody>
|
216
450
|
<tr>
|
217
|
-
<td
|
218
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
219
|
-
</td>
|
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>
|
220
454
|
</tr>
|
221
455
|
<tr>
|
222
|
-
<td
|
223
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a>
|
224
|
-
</td>
|
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>
|
225
459
|
</tr>
|
226
460
|
</tbody>
|
227
461
|
</table></div>
|
462
|
+
</div>
|
228
463
|
<p class="since">Since 0.10</p>
|
229
464
|
</div>
|
230
465
|
<hr>
|
@@ -232,20 +467,23 @@ Evaluates to <code class="literal">TRUE</code> if the <em class="parameter"><cod
|
|
232
467
|
<a name="JSON-NODE-HOLDS-VALUE:CAPS"></a><h3>JSON_NODE_HOLDS_VALUE()</h3>
|
233
468
|
<pre class="programlisting">#define JSON_NODE_HOLDS_VALUE(node) (JSON_NODE_HOLDS ((node), JSON_NODE_VALUE))
|
234
469
|
</pre>
|
235
|
-
<p>
|
236
|
-
|
237
|
-
|
238
|
-
<
|
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">
|
239
475
|
<colgroup>
|
240
|
-
<col
|
241
|
-
<col>
|
476
|
+
<col width="150px" class="parameters_name">
|
477
|
+
<col class="parameters_description">
|
478
|
+
<col width="200px" class="parameters_annotations">
|
242
479
|
</colgroup>
|
243
480
|
<tbody><tr>
|
244
|
-
<td
|
245
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
246
|
-
</td>
|
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>
|
247
484
|
</tr></tbody>
|
248
485
|
</table></div>
|
486
|
+
</div>
|
249
487
|
<p class="since">Since 0.10</p>
|
250
488
|
</div>
|
251
489
|
<hr>
|
@@ -253,20 +491,23 @@ Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>no
|
|
253
491
|
<a name="JSON-NODE-HOLDS-OBJECT:CAPS"></a><h3>JSON_NODE_HOLDS_OBJECT()</h3>
|
254
492
|
<pre class="programlisting">#define JSON_NODE_HOLDS_OBJECT(node) (JSON_NODE_HOLDS ((node), JSON_NODE_OBJECT))
|
255
493
|
</pre>
|
256
|
-
<p>
|
257
|
-
|
258
|
-
|
259
|
-
<
|
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">
|
260
499
|
<colgroup>
|
261
|
-
<col
|
262
|
-
<col>
|
500
|
+
<col width="150px" class="parameters_name">
|
501
|
+
<col class="parameters_description">
|
502
|
+
<col width="200px" class="parameters_annotations">
|
263
503
|
</colgroup>
|
264
504
|
<tbody><tr>
|
265
|
-
<td
|
266
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
267
|
-
</td>
|
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>
|
268
508
|
</tr></tbody>
|
269
509
|
</table></div>
|
510
|
+
</div>
|
270
511
|
<p class="since">Since 0.10</p>
|
271
512
|
</div>
|
272
513
|
<hr>
|
@@ -274,20 +515,23 @@ Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>no
|
|
274
515
|
<a name="JSON-NODE-HOLDS-ARRAY:CAPS"></a><h3>JSON_NODE_HOLDS_ARRAY()</h3>
|
275
516
|
<pre class="programlisting">#define JSON_NODE_HOLDS_ARRAY(node) (JSON_NODE_HOLDS ((node), JSON_NODE_ARRAY))
|
276
517
|
</pre>
|
277
|
-
<p>
|
278
|
-
|
279
|
-
|
280
|
-
<
|
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">
|
281
523
|
<colgroup>
|
282
|
-
<col
|
283
|
-
<col>
|
524
|
+
<col width="150px" class="parameters_name">
|
525
|
+
<col class="parameters_description">
|
526
|
+
<col width="200px" class="parameters_annotations">
|
284
527
|
</colgroup>
|
285
528
|
<tbody><tr>
|
286
|
-
<td
|
287
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
288
|
-
</td>
|
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>
|
289
532
|
</tr></tbody>
|
290
533
|
</table></div>
|
534
|
+
</div>
|
291
535
|
<p class="since">Since 0.10</p>
|
292
536
|
</div>
|
293
537
|
<hr>
|
@@ -295,1094 +539,1265 @@ Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>no
|
|
295
539
|
<a name="JSON-NODE-HOLDS-NULL:CAPS"></a><h3>JSON_NODE_HOLDS_NULL()</h3>
|
296
540
|
<pre class="programlisting">#define JSON_NODE_HOLDS_NULL(node) (JSON_NODE_HOLDS ((node), JSON_NODE_NULL))
|
297
541
|
</pre>
|
298
|
-
<p>
|
299
|
-
|
300
|
-
|
301
|
-
<
|
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">
|
302
547
|
<colgroup>
|
303
|
-
<col
|
304
|
-
<col>
|
548
|
+
<col width="150px" class="parameters_name">
|
549
|
+
<col class="parameters_description">
|
550
|
+
<col width="200px" class="parameters_annotations">
|
305
551
|
</colgroup>
|
306
552
|
<tbody><tr>
|
307
|
-
<td
|
308
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
309
|
-
</td>
|
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>
|
310
556
|
</tr></tbody>
|
311
557
|
</table></div>
|
558
|
+
</div>
|
312
559
|
<p class="since">Since 0.10</p>
|
313
560
|
</div>
|
314
561
|
<hr>
|
315
562
|
<div class="refsect2">
|
316
|
-
<a name="json-node-alloc"></a><h3>json_node_alloc
|
317
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
318
|
-
<
|
319
|
-
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
|
320
|
-
to initialize the returned value
|
321
|
-
|
322
|
-
<
|
323
|
-
<
|
324
|
-
<
|
325
|
-
<
|
326
|
-
</
|
327
|
-
<tbody><tr>
|
328
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
329
|
-
<td>the newly allocated <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. Use
|
330
|
-
<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. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
331
|
-
</td>
|
332
|
-
</tr></tbody>
|
333
|
-
</table></div>
|
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>
|
334
574
|
<p class="since">Since 0.16</p>
|
335
575
|
</div>
|
336
576
|
<hr>
|
337
577
|
<div class="refsect2">
|
338
|
-
<a name="json-node-init"></a><h3>json_node_init
|
339
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
340
|
-
|
341
|
-
<
|
342
|
-
Initializes a <em class="parameter"><code>node</code></em>
|
343
|
-
</
|
344
|
-
|
345
|
-
If the node has already been initialized once, it will be reset to
|
346
|
-
the given type, and any data contained will be cleared
|
347
|
-
|
348
|
-
<
|
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">
|
349
590
|
<colgroup>
|
350
|
-
<col
|
351
|
-
<col>
|
591
|
+
<col width="150px" class="parameters_name">
|
592
|
+
<col class="parameters_description">
|
593
|
+
<col width="200px" class="parameters_annotations">
|
352
594
|
</colgroup>
|
353
595
|
<tbody>
|
354
596
|
<tr>
|
355
|
-
<td
|
356
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
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>
|
357
600
|
</tr>
|
358
601
|
<tr>
|
359
|
-
<td
|
360
|
-
<td>the type of JSON node to initialize <em class="parameter"><code>node</code></em>
|
361
|
-
</
|
362
|
-
<
|
363
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
364
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
365
|
-
</td>
|
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>
|
366
606
|
</tr>
|
367
607
|
</tbody>
|
368
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>
|
369
615
|
<p class="since">Since 0.16</p>
|
370
616
|
</div>
|
371
617
|
<hr>
|
372
618
|
<div class="refsect2">
|
373
|
-
<a name="json-node-init-int"></a><h3>json_node_init_int
|
374
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
375
|
-
|
376
|
-
<
|
377
|
-
Initializes <em class="parameter"><code>node</code></em>
|
378
|
-
</
|
379
|
-
|
380
|
-
If the node has already been initialized once, it will be reset to
|
381
|
-
the given type, and any data contained will be cleared
|
382
|
-
|
383
|
-
<
|
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">
|
384
631
|
<colgroup>
|
385
|
-
<col
|
386
|
-
<col>
|
632
|
+
<col width="150px" class="parameters_name">
|
633
|
+
<col class="parameters_description">
|
634
|
+
<col width="200px" class="parameters_annotations">
|
387
635
|
</colgroup>
|
388
636
|
<tbody>
|
389
637
|
<tr>
|
390
|
-
<td
|
391
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
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>
|
392
641
|
</tr>
|
393
642
|
<tr>
|
394
|
-
<td
|
395
|
-
<td>an integer</td>
|
396
|
-
</
|
397
|
-
<tr>
|
398
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
399
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
400
|
-
</td>
|
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>
|
401
646
|
</tr>
|
402
647
|
</tbody>
|
403
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>
|
404
655
|
<p class="since">Since 0.16</p>
|
405
656
|
</div>
|
406
657
|
<hr>
|
407
658
|
<div class="refsect2">
|
408
|
-
<a name="json-node-init-double"></a><h3>json_node_init_double
|
409
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
410
|
-
|
411
|
-
<
|
412
|
-
Initializes <em class="parameter"><code>node</code></em>
|
413
|
-
</
|
414
|
-
|
415
|
-
If the node has already been initialized once, it will be reset to
|
416
|
-
the given type, and any data contained will be cleared
|
417
|
-
|
418
|
-
<
|
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">
|
419
671
|
<colgroup>
|
420
|
-
<col
|
421
|
-
<col>
|
672
|
+
<col width="150px" class="parameters_name">
|
673
|
+
<col class="parameters_description">
|
674
|
+
<col width="200px" class="parameters_annotations">
|
422
675
|
</colgroup>
|
423
676
|
<tbody>
|
424
677
|
<tr>
|
425
|
-
<td
|
426
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
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>
|
427
681
|
</tr>
|
428
682
|
<tr>
|
429
|
-
<td
|
430
|
-
<td>a floating point value</td>
|
431
|
-
</
|
432
|
-
<tr>
|
433
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
434
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
435
|
-
</td>
|
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>
|
436
686
|
</tr>
|
437
687
|
</tbody>
|
438
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>
|
439
695
|
<p class="since">Since 0.16</p>
|
440
696
|
</div>
|
441
697
|
<hr>
|
442
698
|
<div class="refsect2">
|
443
|
-
<a name="json-node-init-boolean"></a><h3>json_node_init_boolean
|
444
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
445
|
-
|
446
|
-
<
|
447
|
-
Initializes <em class="parameter"><code>node</code></em>
|
448
|
-
</
|
449
|
-
|
450
|
-
If the node has already been initialized once, it will be reset to
|
451
|
-
the given type, and any data contained will be cleared
|
452
|
-
|
453
|
-
<
|
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">
|
454
711
|
<colgroup>
|
455
|
-
<col
|
456
|
-
<col>
|
712
|
+
<col width="150px" class="parameters_name">
|
713
|
+
<col class="parameters_description">
|
714
|
+
<col width="200px" class="parameters_annotations">
|
457
715
|
</colgroup>
|
458
716
|
<tbody>
|
459
717
|
<tr>
|
460
|
-
<td
|
461
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
462
|
-
</
|
463
|
-
<tr>
|
464
|
-
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
|
465
|
-
<td>a boolean value</td>
|
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>
|
466
721
|
</tr>
|
467
722
|
<tr>
|
468
|
-
<td
|
469
|
-
<td
|
470
|
-
</td>
|
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>
|
471
726
|
</tr>
|
472
727
|
</tbody>
|
473
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>
|
474
735
|
<p class="since">Since 0.16</p>
|
475
736
|
</div>
|
476
737
|
<hr>
|
477
738
|
<div class="refsect2">
|
478
|
-
<a name="json-node-init-string"></a><h3>json_node_init_string
|
479
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
480
|
-
|
481
|
-
<
|
482
|
-
Initializes <em class="parameter"><code>node</code></em>
|
483
|
-
</
|
484
|
-
|
485
|
-
If the node has already been initialized once, it will be reset to
|
486
|
-
the given type, and any data contained will be cleared
|
487
|
-
|
488
|
-
<
|
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">
|
489
751
|
<colgroup>
|
490
|
-
<col
|
491
|
-
<col>
|
752
|
+
<col width="150px" class="parameters_name">
|
753
|
+
<col class="parameters_description">
|
754
|
+
<col width="200px" class="parameters_annotations">
|
492
755
|
</colgroup>
|
493
756
|
<tbody>
|
494
757
|
<tr>
|
495
|
-
<td
|
496
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
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>
|
497
761
|
</tr>
|
498
762
|
<tr>
|
499
|
-
<td
|
500
|
-
<td
|
501
|
-
</td>
|
502
|
-
</tr>
|
503
|
-
<tr>
|
504
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
505
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
506
|
-
</td>
|
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>
|
507
766
|
</tr>
|
508
767
|
</tbody>
|
509
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>
|
510
775
|
<p class="since">Since 0.16</p>
|
511
776
|
</div>
|
512
777
|
<hr>
|
513
778
|
<div class="refsect2">
|
514
|
-
<a name="json-node-init-null"></a><h3>json_node_init_null
|
515
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
516
|
-
<
|
517
|
-
Initializes <em class="parameter"><code>node</code></em>
|
518
|
-
</p>
|
519
|
-
<p>
|
520
|
-
|
521
|
-
|
522
|
-
</
|
523
|
-
<div class="
|
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">
|
524
789
|
<colgroup>
|
525
|
-
<col
|
526
|
-
<col>
|
790
|
+
<col width="150px" class="parameters_name">
|
791
|
+
<col class="parameters_description">
|
792
|
+
<col width="200px" class="parameters_annotations">
|
527
793
|
</colgroup>
|
528
|
-
<tbody>
|
529
|
-
<
|
530
|
-
<td><p
|
531
|
-
<td
|
532
|
-
</tr>
|
533
|
-
<tr>
|
534
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
535
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
536
|
-
</td>
|
537
|
-
</tr>
|
538
|
-
</tbody>
|
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>
|
539
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>
|
540
806
|
<p class="since">Since 0.16</p>
|
541
807
|
</div>
|
542
808
|
<hr>
|
543
809
|
<div class="refsect2">
|
544
|
-
<a name="json-node-init-object"></a><h3>json_node_init_object
|
545
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
546
|
-
|
547
|
-
<
|
548
|
-
Initializes <em class="parameter"><code>node</code></em>
|
549
|
-
</
|
550
|
-
|
551
|
-
This function will take a reference on <em class="parameter"><code>object</code></em
|
552
|
-
|
553
|
-
<p>
|
554
|
-
|
555
|
-
|
556
|
-
</
|
557
|
-
<div class="
|
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">
|
558
824
|
<colgroup>
|
559
|
-
<col
|
560
|
-
<col>
|
825
|
+
<col width="150px" class="parameters_name">
|
826
|
+
<col class="parameters_description">
|
827
|
+
<col width="200px" class="parameters_annotations">
|
561
828
|
</colgroup>
|
562
829
|
<tbody>
|
563
830
|
<tr>
|
564
|
-
<td
|
565
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
566
|
-
</
|
567
|
-
<tr>
|
568
|
-
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
|
569
|
-
<td>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> with, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
570
|
-
</td>
|
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>
|
571
834
|
</tr>
|
572
835
|
<tr>
|
573
|
-
<td
|
574
|
-
<td>the
|
575
|
-
</td>
|
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>
|
576
840
|
</tr>
|
577
841
|
</tbody>
|
578
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>
|
579
849
|
<p class="since">Since 0.16</p>
|
580
850
|
</div>
|
581
851
|
<hr>
|
582
852
|
<div class="refsect2">
|
583
|
-
<a name="json-node-init-array"></a><h3>json_node_init_array
|
584
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
585
|
-
|
586
|
-
<
|
587
|
-
Initializes <em class="parameter"><code>node</code></em>
|
588
|
-
</
|
589
|
-
|
590
|
-
This function will take a reference on <em class="parameter"><code>array</code></em
|
591
|
-
|
592
|
-
<p>
|
593
|
-
|
594
|
-
|
595
|
-
</
|
596
|
-
<div class="
|
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">
|
597
867
|
<colgroup>
|
598
|
-
<col
|
599
|
-
<col>
|
868
|
+
<col width="150px" class="parameters_name">
|
869
|
+
<col class="parameters_description">
|
870
|
+
<col width="200px" class="parameters_annotations">
|
600
871
|
</colgroup>
|
601
872
|
<tbody>
|
602
873
|
<tr>
|
603
|
-
<td
|
604
|
-
<td>the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to initialize</td>
|
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>
|
605
877
|
</tr>
|
606
878
|
<tr>
|
607
|
-
<td
|
608
|
-
<td>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>
|
609
|
-
</td>
|
610
|
-
</
|
611
|
-
<tr>
|
612
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
613
|
-
<td>the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
614
|
-
</td>
|
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>
|
615
883
|
</tr>
|
616
884
|
</tbody>
|
617
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>
|
618
892
|
<p class="since">Since 0.16</p>
|
619
893
|
</div>
|
620
894
|
<hr>
|
621
895
|
<div class="refsect2">
|
622
|
-
<a name="json-node-new"></a><h3>json_node_new
|
623
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
624
|
-
<
|
625
|
-
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
|
626
|
-
|
627
|
-
<p>
|
628
|
-
|
629
|
-
and it's the equivalent of:
|
630
|
-
</p>
|
631
|
-
<p>
|
632
|
-
</p>
|
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>
|
633
903
|
<div class="informalexample">
|
634
904
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
635
905
|
<tbody>
|
636
906
|
<tr>
|
637
907
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
638
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
639
|
-
</tr>
|
640
|
-
</tbody>
|
641
|
-
</table>
|
642
|
-
</div>
|
643
|
-
|
644
|
-
<p>
|
645
|
-
|
646
|
-
<
|
647
|
-
<
|
648
|
-
<
|
649
|
-
<col>
|
650
|
-
|
651
|
-
<
|
652
|
-
|
653
|
-
<
|
654
|
-
<td
|
655
|
-
</td>
|
656
|
-
</
|
657
|
-
|
658
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
659
|
-
<td>the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
660
|
-
</td>
|
661
|
-
</tr>
|
662
|
-
</tbody>
|
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>
|
663
928
|
</table></div>
|
664
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>
|
665
936
|
<hr>
|
666
937
|
<div class="refsect2">
|
667
|
-
<a name="json-node-copy"></a><h3>json_node_copy
|
668
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
669
|
-
<
|
670
|
-
Copies <em class="parameter"><code>node</code></em
|
671
|
-
|
672
|
-
|
673
|
-
<div class="
|
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">
|
674
947
|
<colgroup>
|
675
|
-
<col
|
676
|
-
<col>
|
948
|
+
<col width="150px" class="parameters_name">
|
949
|
+
<col class="parameters_description">
|
950
|
+
<col width="200px" class="parameters_annotations">
|
677
951
|
</colgroup>
|
678
|
-
<tbody>
|
679
|
-
<
|
680
|
-
<td><p
|
681
|
-
<td
|
682
|
-
</
|
683
|
-
</tr>
|
684
|
-
<tr>
|
685
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
686
|
-
<td>the copied <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
687
|
-
</td>
|
688
|
-
</tr>
|
689
|
-
</tbody>
|
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>
|
690
957
|
</table></div>
|
691
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>
|
692
965
|
<hr>
|
693
966
|
<div class="refsect2">
|
694
|
-
<a name="json-node-free"></a><h3>json_node_free
|
695
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
696
|
-
<
|
697
|
-
Frees the resources allocated by <em class="parameter"><code>node</code></em
|
698
|
-
|
699
|
-
<div class="
|
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">
|
700
975
|
<colgroup>
|
701
|
-
<col
|
702
|
-
<col>
|
976
|
+
<col width="150px" class="parameters_name">
|
977
|
+
<col class="parameters_description">
|
978
|
+
<col width="200px" class="parameters_annotations">
|
703
979
|
</colgroup>
|
704
980
|
<tbody><tr>
|
705
|
-
<td
|
706
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
707
|
-
</td>
|
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>
|
708
984
|
</tr></tbody>
|
709
985
|
</table></div>
|
710
986
|
</div>
|
987
|
+
</div>
|
711
988
|
<hr>
|
712
989
|
<div class="refsect2">
|
713
|
-
<a name="json-node-set-array"></a><h3>json_node_set_array
|
714
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
715
|
-
|
716
|
-
<
|
717
|
-
Sets <em class="parameter"><code>array</code></em>
|
718
|
-
</
|
719
|
-
<
|
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">
|
720
1000
|
<colgroup>
|
721
|
-
<col
|
722
|
-
<col>
|
1001
|
+
<col width="150px" class="parameters_name">
|
1002
|
+
<col class="parameters_description">
|
1003
|
+
<col width="200px" class="parameters_annotations">
|
723
1004
|
</colgroup>
|
724
1005
|
<tbody>
|
725
1006
|
<tr>
|
726
|
-
<td
|
727
|
-
<td>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>
|
728
|
-
</td>
|
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>
|
729
1010
|
</tr>
|
730
1011
|
<tr>
|
731
|
-
<td
|
732
|
-
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
733
|
-
</td>
|
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>
|
734
1015
|
</tr>
|
735
1016
|
</tbody>
|
736
1017
|
</table></div>
|
737
1018
|
</div>
|
1019
|
+
</div>
|
738
1020
|
<hr>
|
739
1021
|
<div class="refsect2">
|
740
|
-
<a name="json-node-take-array"></a><h3>json_node_take_array
|
741
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
742
|
-
|
743
|
-
<
|
744
|
-
Sets <em class="parameter"><code>array</code></em>
|
745
|
-
</
|
746
|
-
<
|
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">
|
747
1032
|
<colgroup>
|
748
|
-
<col
|
749
|
-
<col>
|
1033
|
+
<col width="150px" class="parameters_name">
|
1034
|
+
<col class="parameters_description">
|
1035
|
+
<col width="200px" class="parameters_annotations">
|
750
1036
|
</colgroup>
|
751
1037
|
<tbody>
|
752
1038
|
<tr>
|
753
|
-
<td
|
754
|
-
<td>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>
|
755
|
-
</td>
|
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>
|
756
1042
|
</tr>
|
757
1043
|
<tr>
|
758
|
-
<td
|
759
|
-
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>.
|
760
|
-
</td>
|
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>
|
761
1047
|
</tr>
|
762
1048
|
</tbody>
|
763
1049
|
</table></div>
|
764
1050
|
</div>
|
1051
|
+
</div>
|
765
1052
|
<hr>
|
766
1053
|
<div class="refsect2">
|
767
|
-
<a name="json-node-get-array"></a><h3>json_node_get_array
|
768
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a>
|
769
|
-
<
|
770
|
-
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>
|
771
|
-
|
772
|
-
<
|
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">
|
773
1061
|
<colgroup>
|
774
|
-
<col
|
775
|
-
<col>
|
1062
|
+
<col width="150px" class="parameters_name">
|
1063
|
+
<col class="parameters_description">
|
1064
|
+
<col width="200px" class="parameters_annotations">
|
776
1065
|
</colgroup>
|
777
|
-
<tbody>
|
778
|
-
<
|
779
|
-
<td><p
|
780
|
-
<td
|
781
|
-
</
|
782
|
-
</tr>
|
783
|
-
<tr>
|
784
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
785
|
-
<td>the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
786
|
-
</td>
|
787
|
-
</tr>
|
788
|
-
</tbody>
|
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>
|
789
1071
|
</table></div>
|
790
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>
|
791
1079
|
<hr>
|
792
1080
|
<div class="refsect2">
|
793
|
-
<a name="json-node-dup-array"></a><h3>json_node_dup_array
|
794
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="returnvalue">JsonArray</span></a>
|
795
|
-
<
|
796
|
-
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
|
797
|
-
with its reference count increased by one
|
798
|
-
|
799
|
-
<
|
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">
|
800
1089
|
<colgroup>
|
801
|
-
<col
|
802
|
-
<col>
|
1090
|
+
<col width="150px" class="parameters_name">
|
1091
|
+
<col class="parameters_description">
|
1092
|
+
<col width="200px" class="parameters_annotations">
|
803
1093
|
</colgroup>
|
804
|
-
<tbody>
|
805
|
-
<
|
806
|
-
<td><p
|
807
|
-
<td
|
808
|
-
</
|
809
|
-
</tr>
|
810
|
-
<tr>
|
811
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
812
|
-
<td>the <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> with its reference
|
813
|
-
count increased. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
814
|
-
</td>
|
815
|
-
</tr>
|
816
|
-
</tbody>
|
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>
|
817
1099
|
</table></div>
|
818
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>
|
819
1108
|
<hr>
|
820
1109
|
<div class="refsect2">
|
821
|
-
<a name="json-node-set-object"></a><h3>json_node_set_object
|
822
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
823
|
-
|
824
|
-
<
|
825
|
-
Sets <em class="parameter"><code>objects</code></em>
|
826
|
-
</
|
827
|
-
<
|
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">
|
828
1121
|
<colgroup>
|
829
|
-
<col
|
830
|
-
<col>
|
1122
|
+
<col width="150px" class="parameters_name">
|
1123
|
+
<col class="parameters_description">
|
1124
|
+
<col width="200px" class="parameters_annotations">
|
831
1125
|
</colgroup>
|
832
1126
|
<tbody>
|
833
1127
|
<tr>
|
834
|
-
<td
|
835
|
-
<td>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>
|
836
|
-
</td>
|
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>
|
837
1131
|
</tr>
|
838
1132
|
<tr>
|
839
|
-
<td
|
840
|
-
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
841
|
-
</td>
|
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>
|
842
1136
|
</tr>
|
843
1137
|
</tbody>
|
844
1138
|
</table></div>
|
845
1139
|
</div>
|
1140
|
+
</div>
|
846
1141
|
<hr>
|
847
1142
|
<div class="refsect2">
|
848
|
-
<a name="json-node-take-object"></a><h3>json_node_take_object
|
849
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
850
|
-
|
851
|
-
<
|
852
|
-
|
853
|
-
</
|
854
|
-
<
|
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">
|
855
1154
|
<colgroup>
|
856
|
-
<col
|
857
|
-
<col>
|
1155
|
+
<col width="150px" class="parameters_name">
|
1156
|
+
<col class="parameters_description">
|
1157
|
+
<col width="200px" class="parameters_annotations">
|
858
1158
|
</colgroup>
|
859
1159
|
<tbody>
|
860
1160
|
<tr>
|
861
|
-
<td
|
862
|
-
<td>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>
|
863
|
-
</td>
|
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>
|
864
1164
|
</tr>
|
865
1165
|
<tr>
|
866
|
-
<td
|
867
|
-
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>.
|
868
|
-
</td>
|
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>
|
869
1169
|
</tr>
|
870
1170
|
</tbody>
|
871
1171
|
</table></div>
|
872
1172
|
</div>
|
1173
|
+
</div>
|
873
1174
|
<hr>
|
874
1175
|
<div class="refsect2">
|
875
|
-
<a name="json-node-get-object"></a><h3>json_node_get_object
|
876
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a>
|
877
|
-
<
|
878
|
-
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>
|
879
|
-
|
880
|
-
<
|
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">
|
881
1183
|
<colgroup>
|
882
|
-
<col
|
883
|
-
<col>
|
1184
|
+
<col width="150px" class="parameters_name">
|
1185
|
+
<col class="parameters_description">
|
1186
|
+
<col width="200px" class="parameters_annotations">
|
884
1187
|
</colgroup>
|
885
|
-
<tbody>
|
886
|
-
<
|
887
|
-
<td><p
|
888
|
-
<td
|
889
|
-
</
|
890
|
-
</tr>
|
891
|
-
<tr>
|
892
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
893
|
-
<td>the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
894
|
-
</td>
|
895
|
-
</tr>
|
896
|
-
</tbody>
|
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>
|
897
1193
|
</table></div>
|
898
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>
|
899
1201
|
<hr>
|
900
1202
|
<div class="refsect2">
|
901
|
-
<a name="json-node-dup-object"></a><h3>json_node_dup_object
|
902
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="returnvalue">JsonObject</span></a>
|
903
|
-
<
|
904
|
-
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
|
905
|
-
|
906
|
-
|
907
|
-
<div class="
|
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">
|
908
1212
|
<colgroup>
|
909
|
-
<col
|
910
|
-
<col>
|
1213
|
+
<col width="150px" class="parameters_name">
|
1214
|
+
<col class="parameters_description">
|
1215
|
+
<col width="200px" class="parameters_annotations">
|
911
1216
|
</colgroup>
|
912
|
-
<tbody>
|
913
|
-
<
|
914
|
-
<td><p
|
915
|
-
<td
|
916
|
-
</
|
917
|
-
</tr>
|
918
|
-
<tr>
|
919
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
920
|
-
<td>the <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
921
|
-
</td>
|
922
|
-
</tr>
|
923
|
-
</tbody>
|
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>
|
924
1222
|
</table></div>
|
925
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>
|
926
1230
|
<hr>
|
927
1231
|
<div class="refsect2">
|
928
|
-
<a name="json-node-set-value"></a><h3>json_node_set_value
|
929
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
930
|
-
|
931
|
-
<
|
932
|
-
Sets <em class="parameter"><code>value</code></em>
|
933
|
-
</
|
934
|
-
<
|
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">
|
935
1242
|
<colgroup>
|
936
|
-
<col
|
937
|
-
<col>
|
1243
|
+
<col width="150px" class="parameters_name">
|
1244
|
+
<col class="parameters_description">
|
1245
|
+
<col width="200px" class="parameters_annotations">
|
938
1246
|
</colgroup>
|
939
1247
|
<tbody>
|
940
1248
|
<tr>
|
941
|
-
<td
|
942
|
-
<td>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>
|
943
|
-
</td>
|
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>
|
944
1252
|
</tr>
|
945
1253
|
<tr>
|
946
|
-
<td
|
947
|
-
<td>the <span class="type">GValue</span> to set</td>
|
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>
|
948
1257
|
</tr>
|
949
1258
|
</tbody>
|
950
1259
|
</table></div>
|
951
1260
|
</div>
|
1261
|
+
</div>
|
952
1262
|
<hr>
|
953
1263
|
<div class="refsect2">
|
954
|
-
<a name="json-node-get-value"></a><h3>json_node_get_value
|
955
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
956
|
-
|
957
|
-
<
|
958
|
-
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
|
959
|
-
|
960
|
-
</p>
|
961
|
-
<div class="
|
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">
|
962
1274
|
<colgroup>
|
963
|
-
<col
|
964
|
-
<col>
|
1275
|
+
<col width="150px" class="parameters_name">
|
1276
|
+
<col class="parameters_description">
|
1277
|
+
<col width="200px" class="parameters_annotations">
|
965
1278
|
</colgroup>
|
966
1279
|
<tbody>
|
967
1280
|
<tr>
|
968
|
-
<td
|
969
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
970
|
-
</td>
|
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>
|
971
1284
|
</tr>
|
972
1285
|
<tr>
|
973
|
-
<td
|
974
|
-
<td>return location for an uninitialized value.
|
975
|
-
</td>
|
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>
|
976
1289
|
</tr>
|
977
1290
|
</tbody>
|
978
1291
|
</table></div>
|
979
1292
|
</div>
|
1293
|
+
</div>
|
980
1294
|
<hr>
|
981
1295
|
<div class="refsect2">
|
982
|
-
<a name="json-node-set-boolean"></a><h3>json_node_set_boolean
|
983
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
984
|
-
|
985
|
-
<
|
986
|
-
Sets <em class="parameter"><code>value</code></em>
|
987
|
-
content
|
988
|
-
|
989
|
-
|
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">
|
990
1307
|
<colgroup>
|
991
|
-
<col
|
992
|
-
<col>
|
1308
|
+
<col width="150px" class="parameters_name">
|
1309
|
+
<col class="parameters_description">
|
1310
|
+
<col width="200px" class="parameters_annotations">
|
993
1311
|
</colgroup>
|
994
1312
|
<tbody>
|
995
1313
|
<tr>
|
996
|
-
<td
|
997
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
998
|
-
</td>
|
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>
|
999
1317
|
</tr>
|
1000
1318
|
<tr>
|
1001
|
-
<td
|
1002
|
-
<td>a boolean value</td>
|
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>
|
1003
1322
|
</tr>
|
1004
1323
|
</tbody>
|
1005
1324
|
</table></div>
|
1006
1325
|
</div>
|
1326
|
+
</div>
|
1007
1327
|
<hr>
|
1008
1328
|
<div class="refsect2">
|
1009
|
-
<a name="json-node-get-boolean"></a><h3>json_node_get_boolean
|
1010
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1011
|
-
<
|
1012
|
-
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>
|
1013
|
-
|
1014
|
-
<
|
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">
|
1015
1336
|
<colgroup>
|
1016
|
-
<col
|
1017
|
-
<col>
|
1337
|
+
<col width="150px" class="parameters_name">
|
1338
|
+
<col class="parameters_description">
|
1339
|
+
<col width="200px" class="parameters_annotations">
|
1018
1340
|
</colgroup>
|
1019
|
-
<tbody>
|
1020
|
-
<
|
1021
|
-
<td><p><span class="
|
1022
|
-
<td
|
1023
|
-
</
|
1024
|
-
</tr>
|
1025
|
-
<tr>
|
1026
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1027
|
-
<td>a boolean value.</td>
|
1028
|
-
</tr>
|
1029
|
-
</tbody>
|
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>
|
1030
1346
|
</table></div>
|
1031
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>
|
1032
1354
|
<hr>
|
1033
1355
|
<div class="refsect2">
|
1034
|
-
<a name="json-node-set-double"></a><h3>json_node_set_double
|
1035
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1036
|
-
|
1037
|
-
<
|
1038
|
-
Sets <em class="parameter"><code>value</code></em>
|
1039
|
-
content
|
1040
|
-
|
1041
|
-
|
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">
|
1042
1367
|
<colgroup>
|
1043
|
-
<col
|
1044
|
-
<col>
|
1368
|
+
<col width="150px" class="parameters_name">
|
1369
|
+
<col class="parameters_description">
|
1370
|
+
<col width="200px" class="parameters_annotations">
|
1045
1371
|
</colgroup>
|
1046
1372
|
<tbody>
|
1047
1373
|
<tr>
|
1048
|
-
<td
|
1049
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
1050
|
-
</td>
|
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>
|
1051
1377
|
</tr>
|
1052
1378
|
<tr>
|
1053
|
-
<td
|
1054
|
-
<td>a double value</td>
|
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>
|
1055
1382
|
</tr>
|
1056
1383
|
</tbody>
|
1057
1384
|
</table></div>
|
1058
1385
|
</div>
|
1386
|
+
</div>
|
1059
1387
|
<hr>
|
1060
1388
|
<div class="refsect2">
|
1061
|
-
<a name="json-node-get-double"></a><h3>json_node_get_double
|
1062
|
-
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
1063
|
-
<
|
1064
|
-
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>
|
1065
|
-
|
1066
|
-
<
|
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">
|
1067
1396
|
<colgroup>
|
1068
|
-
<col
|
1069
|
-
<col>
|
1397
|
+
<col width="150px" class="parameters_name">
|
1398
|
+
<col class="parameters_description">
|
1399
|
+
<col width="200px" class="parameters_annotations">
|
1070
1400
|
</colgroup>
|
1071
|
-
<tbody>
|
1072
|
-
<
|
1073
|
-
<td><p><span class="
|
1074
|
-
<td
|
1075
|
-
</
|
1076
|
-
</tr>
|
1077
|
-
<tr>
|
1078
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1079
|
-
<td>a double value.</td>
|
1080
|
-
</tr>
|
1081
|
-
</tbody>
|
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>
|
1082
1406
|
</table></div>
|
1083
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>
|
1084
1414
|
<hr>
|
1085
1415
|
<div class="refsect2">
|
1086
|
-
<a name="json-node-set-int"></a><h3>json_node_set_int
|
1087
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1088
|
-
|
1089
|
-
<
|
1090
|
-
Sets <em class="parameter"><code>value</code></em>
|
1091
|
-
content
|
1092
|
-
|
1093
|
-
|
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">
|
1094
1427
|
<colgroup>
|
1095
|
-
<col
|
1096
|
-
<col>
|
1428
|
+
<col width="150px" class="parameters_name">
|
1429
|
+
<col class="parameters_description">
|
1430
|
+
<col width="200px" class="parameters_annotations">
|
1097
1431
|
</colgroup>
|
1098
1432
|
<tbody>
|
1099
1433
|
<tr>
|
1100
|
-
<td
|
1101
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a>
|
1102
|
-
</td>
|
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>
|
1103
1437
|
</tr>
|
1104
1438
|
<tr>
|
1105
|
-
<td
|
1106
|
-
<td>an integer value</td>
|
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>
|
1107
1442
|
</tr>
|
1108
1443
|
</tbody>
|
1109
1444
|
</table></div>
|
1110
1445
|
</div>
|
1446
|
+
</div>
|
1111
1447
|
<hr>
|
1112
1448
|
<div class="refsect2">
|
1113
|
-
<a name="json-node-get-int"></a><h3>json_node_get_int
|
1114
|
-
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
1115
|
-
<
|
1116
|
-
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>
|
1117
|
-
|
1118
|
-
<
|
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">
|
1119
1456
|
<colgroup>
|
1120
|
-
<col
|
1121
|
-
<col>
|
1457
|
+
<col width="150px" class="parameters_name">
|
1458
|
+
<col class="parameters_description">
|
1459
|
+
<col width="200px" class="parameters_annotations">
|
1122
1460
|
</colgroup>
|
1123
|
-
<tbody>
|
1124
|
-
<
|
1125
|
-
<td><p><span class="
|
1126
|
-
<td
|
1127
|
-
</
|
1128
|
-
</tr>
|
1129
|
-
<tr>
|
1130
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1131
|
-
<td>an integer value.</td>
|
1132
|
-
</tr>
|
1133
|
-
</tbody>
|
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>
|
1134
1466
|
</table></div>
|
1135
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>
|
1136
1474
|
<hr>
|
1137
1475
|
<div class="refsect2">
|
1138
|
-
<a name="json-node-set-string"></a><h3>json_node_set_string
|
1139
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1140
|
-
|
1141
|
-
<
|
1142
|
-
Sets <em class="parameter"><code>value</code></em>
|
1143
|
-
content
|
1144
|
-
|
1145
|
-
|
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">
|
1146
1487
|
<colgroup>
|
1147
|
-
<col
|
1148
|
-
<col>
|
1488
|
+
<col width="150px" class="parameters_name">
|
1489
|
+
<col class="parameters_description">
|
1490
|
+
<col width="200px" class="parameters_annotations">
|
1149
1491
|
</colgroup>
|
1150
1492
|
<tbody>
|
1151
1493
|
<tr>
|
1152
|
-
<td
|
1153
|
-
<td>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>
|
1154
|
-
</td>
|
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>
|
1155
1497
|
</tr>
|
1156
1498
|
<tr>
|
1157
|
-
<td
|
1158
|
-
<td>a string value</td>
|
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>
|
1159
1502
|
</tr>
|
1160
1503
|
</tbody>
|
1161
1504
|
</table></div>
|
1162
1505
|
</div>
|
1506
|
+
</div>
|
1163
1507
|
<hr>
|
1164
1508
|
<div class="refsect2">
|
1165
|
-
<a name="json-node-get-string"></a><h3>json_node_get_string
|
1166
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
1167
|
-
<
|
1168
|
-
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>
|
1169
|
-
|
1170
|
-
<
|
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">
|
1171
1516
|
<colgroup>
|
1172
|
-
<col
|
1173
|
-
<col>
|
1517
|
+
<col width="150px" class="parameters_name">
|
1518
|
+
<col class="parameters_description">
|
1519
|
+
<col width="200px" class="parameters_annotations">
|
1174
1520
|
</colgroup>
|
1175
|
-
<tbody>
|
1176
|
-
<
|
1177
|
-
<td><p><span class="
|
1178
|
-
<td
|
1179
|
-
</
|
1180
|
-
</tr>
|
1181
|
-
<tr>
|
1182
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1183
|
-
<td>a string value.</td>
|
1184
|
-
</tr>
|
1185
|
-
</tbody>
|
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>
|
1186
1526
|
</table></div>
|
1187
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>
|
1188
1534
|
<hr>
|
1189
1535
|
<div class="refsect2">
|
1190
|
-
<a name="json-node-dup-string"></a><h3>json_node_dup_string
|
1191
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span>
|
1192
|
-
<
|
1193
|
-
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>
|
1194
|
-
|
1195
|
-
<
|
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">
|
1196
1543
|
<colgroup>
|
1197
|
-
<col
|
1198
|
-
<col>
|
1544
|
+
<col width="150px" class="parameters_name">
|
1545
|
+
<col class="parameters_description">
|
1546
|
+
<col width="200px" class="parameters_annotations">
|
1199
1547
|
</colgroup>
|
1200
|
-
<tbody>
|
1201
|
-
<
|
1202
|
-
<td><p><span class="
|
1203
|
-
<td
|
1204
|
-
</
|
1205
|
-
</tr>
|
1206
|
-
<tr>
|
1207
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1208
|
-
<td>a newly allocated string containing a copy
|
1209
|
-
of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> contents. Use <code class="function">g_free()</code> to free the allocated resources. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1210
|
-
</td>
|
1211
|
-
</tr>
|
1212
|
-
</tbody>
|
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>
|
1213
1553
|
</table></div>
|
1214
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>
|
1215
1562
|
<hr>
|
1216
1563
|
<div class="refsect2">
|
1217
|
-
<a name="json-node-set-parent"></a><h3>json_node_set_parent
|
1218
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
1219
|
-
|
1220
|
-
<
|
1221
|
-
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>
|
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>
|
1222
1569
|
</p>
|
1223
|
-
<div class="
|
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">
|
1224
1573
|
<colgroup>
|
1225
|
-
<col
|
1226
|
-
<col>
|
1574
|
+
<col width="150px" class="parameters_name">
|
1575
|
+
<col class="parameters_description">
|
1576
|
+
<col width="200px" class="parameters_annotations">
|
1227
1577
|
</colgroup>
|
1228
1578
|
<tbody>
|
1229
1579
|
<tr>
|
1230
|
-
<td
|
1231
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
1232
|
-
</td>
|
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>
|
1233
1583
|
</tr>
|
1234
1584
|
<tr>
|
1235
|
-
<td
|
1236
|
-
<td>the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em
|
1237
|
-
</td>
|
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>
|
1238
1589
|
</tr>
|
1239
1590
|
</tbody>
|
1240
1591
|
</table></div>
|
1592
|
+
</div>
|
1241
1593
|
<p class="since">Since 0.8</p>
|
1242
1594
|
</div>
|
1243
1595
|
<hr>
|
1244
1596
|
<div class="refsect2">
|
1245
|
-
<a name="json-node-get-parent"></a><h3>json_node_get_parent
|
1246
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
1247
|
-
<
|
1248
|
-
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
|
1249
|
-
|
1250
|
-
<div class="
|
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">
|
1251
1605
|
<colgroup>
|
1252
|
-
<col
|
1253
|
-
<col>
|
1606
|
+
<col width="150px" class="parameters_name">
|
1607
|
+
<col class="parameters_description">
|
1608
|
+
<col width="200px" class="parameters_annotations">
|
1254
1609
|
</colgroup>
|
1255
|
-
<tbody>
|
1256
|
-
<
|
1257
|
-
<td><p
|
1258
|
-
<td
|
1259
|
-
</
|
1260
|
-
</tr>
|
1261
|
-
<tr>
|
1262
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1263
|
-
<td>the parent node, or <code class="literal">NULL</code> if <em class="parameter"><code>node</code></em> is
|
1264
|
-
the root node. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1265
|
-
</td>
|
1266
|
-
</tr>
|
1267
|
-
</tbody>
|
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>
|
1268
1615
|
</table></div>
|
1269
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>
|
1270
1625
|
<hr>
|
1271
1626
|
<div class="refsect2">
|
1272
|
-
<a name="json-node-type-name"></a><h3>json_node_type_name
|
1273
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
1274
|
-
<
|
1275
|
-
Retrieves the user readable name of the data type contained by <em class="parameter"><code>node</code></em
|
1276
|
-
|
1277
|
-
<div class="
|
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">
|
1278
1635
|
<colgroup>
|
1279
|
-
<col
|
1280
|
-
<col>
|
1636
|
+
<col width="150px" class="parameters_name">
|
1637
|
+
<col class="parameters_description">
|
1638
|
+
<col width="200px" class="parameters_annotations">
|
1281
1639
|
</colgroup>
|
1282
|
-
<tbody>
|
1283
|
-
<
|
1284
|
-
<td><p
|
1285
|
-
<td
|
1286
|
-
</
|
1287
|
-
</tr>
|
1288
|
-
<tr>
|
1289
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1290
|
-
<td>a string containing the name of the type. The returned string
|
1291
|
-
is owned by the node and should never be modified or freed</td>
|
1292
|
-
</tr>
|
1293
|
-
</tbody>
|
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>
|
1294
1645
|
</table></div>
|
1295
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>
|
1296
1654
|
<hr>
|
1297
1655
|
<div class="refsect2">
|
1298
|
-
<a name="json-node-get-value-type"></a><h3>json_node_get_value_type
|
1299
|
-
<pre class="programlisting"><span class="returnvalue">GType</span>
|
1300
|
-
<
|
1301
|
-
Returns the <span class="type">GType</span> of the payload of the node
|
1302
|
-
|
1303
|
-
<
|
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">
|
1304
1663
|
<colgroup>
|
1305
|
-
<col
|
1306
|
-
<col>
|
1664
|
+
<col width="150px" class="parameters_name">
|
1665
|
+
<col class="parameters_description">
|
1666
|
+
<col width="200px" class="parameters_annotations">
|
1307
1667
|
</colgroup>
|
1308
|
-
<tbody>
|
1309
|
-
<
|
1310
|
-
<td><p
|
1311
|
-
<td
|
1312
|
-
</
|
1313
|
-
</tr>
|
1314
|
-
<tr>
|
1315
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1316
|
-
<td>a <span class="type">GType</span> for the payload.</td>
|
1317
|
-
</tr>
|
1318
|
-
</tbody>
|
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>
|
1319
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>
|
1320
1680
|
<p class="since">Since 0.4</p>
|
1321
1681
|
</div>
|
1322
1682
|
<hr>
|
1323
1683
|
<div class="refsect2">
|
1324
|
-
<a name="json-node-get-node-type"></a><h3>json_node_get_node_type
|
1325
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a>
|
1326
|
-
<
|
1327
|
-
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>
|
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>
|
1328
1688
|
</p>
|
1329
|
-
<div class="
|
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">
|
1330
1692
|
<colgroup>
|
1331
|
-
<col
|
1332
|
-
<col>
|
1693
|
+
<col width="150px" class="parameters_name">
|
1694
|
+
<col class="parameters_description">
|
1695
|
+
<col width="200px" class="parameters_annotations">
|
1333
1696
|
</colgroup>
|
1334
|
-
<tbody>
|
1335
|
-
<
|
1336
|
-
<td><p
|
1337
|
-
<td
|
1338
|
-
</
|
1339
|
-
</tr>
|
1340
|
-
<tr>
|
1341
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1342
|
-
<td>the type of the node</td>
|
1343
|
-
</tr>
|
1344
|
-
</tbody>
|
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>
|
1345
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>
|
1346
1709
|
<p class="since">Since 0.8</p>
|
1347
1710
|
</div>
|
1348
1711
|
<hr>
|
1349
1712
|
<div class="refsect2">
|
1350
|
-
<a name="json-node-is-null"></a><h3>json_node_is_null
|
1351
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1352
|
-
<
|
1353
|
-
Checks whether <em class="parameter"><code>node</code></em>
|
1354
|
-
</p>
|
1355
|
-
<p>
|
1356
|
-
</p>
|
1357
|
-
<div class="
|
1358
|
-
<
|
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>
|
1359
1734
|
</div>
|
1360
|
-
<
|
1361
|
-
</
|
1362
|
-
<
|
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">
|
1363
1751
|
<colgroup>
|
1364
|
-
<col
|
1365
|
-
<col>
|
1752
|
+
<col width="300px" class="enum_members_name">
|
1753
|
+
<col class="enum_members_description">
|
1754
|
+
<col width="200px" class="enum_members_annotations">
|
1366
1755
|
</colgroup>
|
1367
1756
|
<tbody>
|
1368
1757
|
<tr>
|
1369
|
-
<td
|
1370
|
-
<td
|
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>
|
1371
1768
|
</td>
|
1769
|
+
<td class="enum_member_annotations"> </td>
|
1372
1770
|
</tr>
|
1373
1771
|
<tr>
|
1374
|
-
<td
|
1375
|
-
<td>
|
1376
|
-
<
|
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>
|
1377
1784
|
</tr>
|
1378
1785
|
</tbody>
|
1379
1786
|
</table></div>
|
1380
|
-
|
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>
|
1381
1796
|
</div>
|
1382
1797
|
</div>
|
1383
1798
|
</div>
|
1384
1799
|
<div class="footer">
|
1385
1800
|
<hr>
|
1386
|
-
Generated by GTK-Doc V1.
|
1801
|
+
Generated by GTK-Doc V1.20.1</div>
|
1387
1802
|
</body>
|
1388
1803
|
</html>
|