clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,34 +2,28 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>JsonReader</title>
|
5
|
+
<title>JSON-GLib Reference Manual: JsonReader</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="ch02.html" title="Parser">
|
9
9
|
<link rel="prev" href="JsonParser.html" title="JsonParser">
|
10
10
|
<link rel="next" href="JsonPath.html" title="JsonPath">
|
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
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
|
27
|
-
|
|
28
|
-
<a href="#JsonReader.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#JsonReader.properties" class="shortcut">Properties</a>
|
31
|
-
</td></tr>
|
32
|
-
</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="#JsonReader.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#JsonReader.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
|
20
|
+
<a href="#JsonReader.properties" class="shortcut">Properties</a></span>
|
21
|
+
</td>
|
22
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
23
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
24
|
+
<td><a accesskey="p" href="JsonParser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="JsonPath.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
26
|
+
</tr></table>
|
33
27
|
<div class="refentry">
|
34
28
|
<a name="JsonReader"></a><div class="titlepage"></div>
|
35
29
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -37,69 +31,232 @@
|
|
37
31
|
<h2><span class="refentrytitle"><a name="JsonReader.top_of_page"></a>JsonReader</span></h2>
|
38
32
|
<p>JsonReader — A cursor-based parser</p>
|
39
33
|
</td>
|
40
|
-
<td valign="top" align="right"></td>
|
34
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
41
35
|
</tr></table></div>
|
42
|
-
<div class="refsynopsisdiv">
|
43
|
-
<a name="JsonReader.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<pre class="synopsis">struct <a class="link" href="JsonReader.html#JsonReader-struct" title="struct JsonReader">JsonReader</a>;
|
45
|
-
struct <a class="link" href="JsonReader.html#JsonReaderClass" title="struct JsonReaderClass">JsonReaderClass</a>;
|
46
|
-
<a class="link" href="JsonReader.html" title="JsonReader"><span class="returnvalue">JsonReader</span></a> * <a class="link" href="JsonReader.html#json-reader-new" title="json_reader_new ()">json_reader_new</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>);
|
47
|
-
<span class="returnvalue">void</span> <a class="link" href="JsonReader.html#json-reader-set-root" title="json_reader_set_root ()">json_reader_set_root</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
48
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *root</code></em>);
|
49
|
-
|
50
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-read-element" title="json_reader_read_element ()">json_reader_read_element</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);
|
52
|
-
<span class="returnvalue">void</span> <a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element ()">json_reader_end_element</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
53
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-is-array" title="json_reader_is_array ()">json_reader_is_array</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
54
|
-
<span class="returnvalue">gint</span> <a class="link" href="JsonReader.html#json-reader-count-elements" title="json_reader_count_elements ()">json_reader_count_elements</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
55
|
-
|
56
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-read-member" title="json_reader_read_member ()">json_reader_read_member</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
57
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *member_name</code></em>);
|
58
|
-
<span class="returnvalue">void</span> <a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member ()">json_reader_end_member</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
59
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-is-object" title="json_reader_is_object ()">json_reader_is_object</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
60
|
-
<span class="returnvalue">gint</span> <a class="link" href="JsonReader.html#json-reader-count-members" title="json_reader_count_members ()">json_reader_count_members</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
61
|
-
<span class="returnvalue">gchar</span> ** <a class="link" href="JsonReader.html#json-reader-list-members" title="json_reader_list_members ()">json_reader_list_members</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
62
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="JsonReader.html#json-reader-get-member-name" title="json_reader_get_member_name ()">json_reader_get_member_name</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
63
|
-
|
64
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-is-value" title="json_reader_is_value ()">json_reader_is_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</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="JsonReader.html#json-reader-get-value" title="json_reader_get_value ()">json_reader_get_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
66
|
-
<span class="returnvalue">gint64</span> <a class="link" href="JsonReader.html#json-reader-get-int-value" title="json_reader_get_int_value ()">json_reader_get_int_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
67
|
-
<span class="returnvalue">gdouble</span> <a class="link" href="JsonReader.html#json-reader-get-double-value" title="json_reader_get_double_value ()">json_reader_get_double_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
68
|
-
const <span class="returnvalue">gchar</span> * <a class="link" href="JsonReader.html#json-reader-get-string-value" title="json_reader_get_string_value ()">json_reader_get_string_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
69
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-get-boolean-value" title="json_reader_get_boolean_value ()">json_reader_get_boolean_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
70
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonReader.html#json-reader-get-null-value" title="json_reader_get_null_value ()">json_reader_get_null_value</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
71
|
-
|
72
|
-
enum <a class="link" href="JsonReader.html#JsonReaderError" title="enum JsonReaderError">JsonReaderError</a>;
|
73
|
-
#define <a class="link" href="JsonReader.html#JSON-READER-ERROR:CAPS" title="JSON_READER_ERROR">JSON_READER_ERROR</a>
|
74
|
-
const <span class="returnvalue">GError</span> * <a class="link" href="JsonReader.html#json-reader-get-error" title="json_reader_get_error ()">json_reader_get_error</a> (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);
|
75
|
-
</pre>
|
76
|
-
</div>
|
77
36
|
<div class="refsect1">
|
78
|
-
<a name="JsonReader.
|
79
|
-
<
|
80
|
-
|
81
|
-
|
82
|
-
|
37
|
+
<a name="JsonReader.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
39
|
+
<colgroup>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
42
|
+
</colgroup>
|
43
|
+
<tbody>
|
44
|
+
<tr>
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="JsonReader.html" title="JsonReader"><span class="returnvalue">JsonReader</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="JsonReader.html#json-reader-new" title="json_reader_new ()">json_reader_new</a> <span class="c_punctuation">()</span>
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">void</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="JsonReader.html#json-reader-set-root" title="json_reader_set_root ()">json_reader_set_root</a> <span class="c_punctuation">()</span>
|
58
|
+
</td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">gboolean</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="JsonReader.html#json-reader-read-element" title="json_reader_read_element ()">json_reader_read_element</a> <span class="c_punctuation">()</span>
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">void</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element ()">json_reader_end_element</a> <span class="c_punctuation">()</span>
|
74
|
+
</td>
|
75
|
+
</tr>
|
76
|
+
<tr>
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">gboolean</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="JsonReader.html#json-reader-is-array" title="json_reader_is_array ()">json_reader_is_array</a> <span class="c_punctuation">()</span>
|
82
|
+
</td>
|
83
|
+
</tr>
|
84
|
+
<tr>
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">gint</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="JsonReader.html#json-reader-count-elements" title="json_reader_count_elements ()">json_reader_count_elements</a> <span class="c_punctuation">()</span>
|
90
|
+
</td>
|
91
|
+
</tr>
|
92
|
+
<tr>
|
93
|
+
<td class="function_type">
|
94
|
+
<span class="returnvalue">gboolean</span>
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="JsonReader.html#json-reader-read-member" title="json_reader_read_member ()">json_reader_read_member</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">void</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member ()">json_reader_end_member</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<span class="returnvalue">gboolean</span>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="JsonReader.html#json-reader-is-object" title="json_reader_is_object ()">json_reader_is_object</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">gint</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="JsonReader.html#json-reader-count-members" title="json_reader_count_members ()">json_reader_count_members</a> <span class="c_punctuation">()</span>
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr>
|
125
|
+
<td class="function_type">
|
126
|
+
<span class="returnvalue">gchar</span> **
|
127
|
+
</td>
|
128
|
+
<td class="function_name">
|
129
|
+
<a class="link" href="JsonReader.html#json-reader-list-members" title="json_reader_list_members ()">json_reader_list_members</a> <span class="c_punctuation">()</span>
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr>
|
133
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<a class="link" href="JsonReader.html#json-reader-get-member-name" title="json_reader_get_member_name ()">json_reader_get_member_name</a> <span class="c_punctuation">()</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td class="function_type">
|
141
|
+
<span class="returnvalue">gboolean</span>
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<a class="link" href="JsonReader.html#json-reader-is-value" title="json_reader_is_value ()">json_reader_is_value</a> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<a class="link" href="JsonReader.html#json-reader-get-value" title="json_reader_get_value ()">json_reader_get_value</a> <span class="c_punctuation">()</span>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="function_type">
|
157
|
+
<span class="returnvalue">gint64</span>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="JsonReader.html#json-reader-get-int-value" title="json_reader_get_int_value ()">json_reader_get_int_value</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="function_type">
|
165
|
+
<span class="returnvalue">gdouble</span>
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="JsonReader.html#json-reader-get-double-value" title="json_reader_get_double_value ()">json_reader_get_double_value</a> <span class="c_punctuation">()</span>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
173
|
+
</td>
|
174
|
+
<td class="function_name">
|
175
|
+
<a class="link" href="JsonReader.html#json-reader-get-string-value" title="json_reader_get_string_value ()">json_reader_get_string_value</a> <span class="c_punctuation">()</span>
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
<tr>
|
179
|
+
<td class="function_type">
|
180
|
+
<span class="returnvalue">gboolean</span>
|
181
|
+
</td>
|
182
|
+
<td class="function_name">
|
183
|
+
<a class="link" href="JsonReader.html#json-reader-get-boolean-value" title="json_reader_get_boolean_value ()">json_reader_get_boolean_value</a> <span class="c_punctuation">()</span>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr>
|
187
|
+
<td class="function_type">
|
188
|
+
<span class="returnvalue">gboolean</span>
|
189
|
+
</td>
|
190
|
+
<td class="function_name">
|
191
|
+
<a class="link" href="JsonReader.html#json-reader-get-null-value" title="json_reader_get_null_value ()">json_reader_get_null_value</a> <span class="c_punctuation">()</span>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td class="define_keyword">#define</td>
|
196
|
+
<td class="function_name"><a class="link" href="JsonReader.html#JSON-READER-ERROR:CAPS" title="JSON_READER_ERROR">JSON_READER_ERROR</a></td>
|
197
|
+
</tr>
|
198
|
+
<tr>
|
199
|
+
<td class="function_type">const <span class="returnvalue">GError</span> *
|
200
|
+
</td>
|
201
|
+
<td class="function_name">
|
202
|
+
<a class="link" href="JsonReader.html#json-reader-get-error" title="json_reader_get_error ()">json_reader_get_error</a> <span class="c_punctuation">()</span>
|
203
|
+
</td>
|
204
|
+
</tr>
|
205
|
+
</tbody>
|
206
|
+
</table></div>
|
83
207
|
</div>
|
84
208
|
<div class="refsect1">
|
85
209
|
<a name="JsonReader.properties"></a><h2>Properties</h2>
|
86
|
-
<
|
87
|
-
|
210
|
+
<div class="informaltable"><table border="0">
|
211
|
+
<colgroup>
|
212
|
+
<col width="150px" class="properties_type">
|
213
|
+
<col width="300px" class="properties_name">
|
214
|
+
<col width="200px" class="properties_flags">
|
215
|
+
</colgroup>
|
216
|
+
<tbody><tr>
|
217
|
+
<td class="property_type">
|
218
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *</td>
|
219
|
+
<td class="property_name"><a class="link" href="JsonReader.html#JsonReader--root" title="The “root” property">root</a></td>
|
220
|
+
<td class="property_flags">Read / Write / Construct</td>
|
221
|
+
</tr></tbody>
|
222
|
+
</table></div>
|
223
|
+
</div>
|
224
|
+
<div class="refsect1">
|
225
|
+
<a name="JsonReader.other"></a><h2>Types and Values</h2>
|
226
|
+
<div class="informaltable"><table width="100%" border="0">
|
227
|
+
<colgroup>
|
228
|
+
<col width="150px" class="name">
|
229
|
+
<col class="description">
|
230
|
+
</colgroup>
|
231
|
+
<tbody>
|
232
|
+
<tr>
|
233
|
+
<td class="datatype_keyword">struct</td>
|
234
|
+
<td class="function_name"><a class="link" href="JsonReader.html#JsonReader-struct" title="struct JsonReader">JsonReader</a></td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td class="datatype_keyword">struct</td>
|
238
|
+
<td class="function_name"><a class="link" href="JsonReader.html#JsonReaderClass" title="struct JsonReaderClass">JsonReaderClass</a></td>
|
239
|
+
</tr>
|
240
|
+
<tr>
|
241
|
+
<td class="datatype_keyword">enum</td>
|
242
|
+
<td class="function_name"><a class="link" href="JsonReader.html#JsonReaderError" title="enum JsonReaderError">JsonReaderError</a></td>
|
243
|
+
</tr>
|
244
|
+
</tbody>
|
245
|
+
</table></div>
|
246
|
+
</div>
|
247
|
+
<div class="refsect1">
|
248
|
+
<a name="JsonReader.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
249
|
+
<pre class="screen"> GObject
|
250
|
+
<span class="lineart">╰──</span> JsonReader
|
88
251
|
</pre>
|
89
252
|
</div>
|
90
253
|
<div class="refsect1">
|
91
254
|
<a name="JsonReader.description"></a><h2>Description</h2>
|
92
|
-
<p>
|
93
|
-
|
94
|
-
|
95
|
-
</p>
|
96
|
-
<p>
|
97
|
-
In case of error, <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> will be set in an error state; all subsequent
|
255
|
+
<p><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> provides a simple, cursor-based API for parsing a JSON DOM. It
|
256
|
+
is similar, in spirit, to the XML Reader API.</p>
|
257
|
+
<p>In case of error, <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> will be set in an error state; all subsequent
|
98
258
|
calls will simply be ignored until a function that resets the error state is
|
99
|
-
called, e.g
|
100
|
-
</p>
|
101
|
-
<p>
|
102
|
-
</p>
|
259
|
+
called, e.g.:</p>
|
103
260
|
<div class="informalexample">
|
104
261
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
105
262
|
<tbody>
|
@@ -113,34 +270,25 @@ called, e.g.:
|
|
113
270
|
7
|
114
271
|
8
|
115
272
|
9
|
116
|
-
10
|
117
|
-
|
118
|
-
|
119
|
-
<td class="listing_code"><pre class="programlisting"><span class="comment">/* ask for the 7th element; if the element does not exist, the</span>
|
120
|
-
<span class="comment"> * reader will be put in an error state</span>
|
121
|
-
<span class="comment"> */</span>
|
273
|
+
10</pre></td>
|
274
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// ask for the 7th element; if the element does not exist, the</span>
|
275
|
+
<span class="comment">// reader will be put in an error state</span>
|
122
276
|
<span class="function"><a href="JsonReader.html#json-reader-read-element">json_reader_read_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">);</span>
|
123
277
|
|
124
|
-
<span class="comment"
|
125
|
-
<span class="comment"
|
126
|
-
<span class="comment"> */</span>
|
278
|
+
<span class="comment">// in case of error, this will return NULL, otherwise it will</span>
|
279
|
+
<span class="comment">// return the value of the element</span>
|
127
280
|
<span class="normal">str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-string-value">json_reader_get_string_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">value</span><span class="symbol">);</span>
|
128
281
|
|
129
|
-
<span class="comment"
|
282
|
+
<span class="comment">// this function resets the error state if any was set</span>
|
130
283
|
<span class="function"><a href="JsonReader.html#json-reader-end-element">json_reader_end_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span></pre></td>
|
131
284
|
</tr>
|
132
285
|
</tbody>
|
133
286
|
</table>
|
134
287
|
</div>
|
135
288
|
|
136
|
-
<p>
|
137
|
-
|
138
|
-
<p>
|
139
|
-
If you want to detect the error state as soon as possible, you can use
|
140
|
-
<a class="link" href="JsonReader.html#json-reader-get-error" title="json_reader_get_error ()"><code class="function">json_reader_get_error()</code></a>:
|
141
|
-
</p>
|
142
|
-
<p>
|
143
|
-
</p>
|
289
|
+
<p></p>
|
290
|
+
<p>If you want to detect the error state as soon as possible, you can use
|
291
|
+
<a class="link" href="JsonReader.html#json-reader-get-error" title="json_reader_get_error ()"><code class="function">json_reader_get_error()</code></a>:</p>
|
144
292
|
<div class="informalexample">
|
145
293
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
146
294
|
<tbody>
|
@@ -151,11 +299,9 @@ If you want to detect the error state as soon as possible, you can use
|
|
151
299
|
4
|
152
300
|
5
|
153
301
|
6
|
154
|
-
7
|
155
|
-
|
156
|
-
|
157
|
-
<span class="comment"> * error immediately</span>
|
158
|
-
<span class="comment"> */</span>
|
302
|
+
7</pre></td>
|
303
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// like the example above, but in this case we print out the</span>
|
304
|
+
<span class="comment">// error immediately</span>
|
159
305
|
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="function"><a href="JsonReader.html#json-reader-read-element">json_reader_read_element</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">))</span>
|
160
306
|
<span class="normal"> </span><span class="cbracket">{</span>
|
161
307
|
<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-error">json_reader_get_error</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
@@ -166,110 +312,89 @@ If you want to detect the error state as soon as possible, you can use
|
|
166
312
|
</table>
|
167
313
|
</div>
|
168
314
|
|
169
|
-
<p>
|
170
|
-
</p>
|
171
|
-
<p>
|
172
|
-
<a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is available since JSON-GLib 0.12.
|
173
|
-
</p>
|
315
|
+
<p></p>
|
316
|
+
<p><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is available since JSON-GLib 0.12.</p>
|
174
317
|
</div>
|
175
318
|
<div class="refsect1">
|
176
|
-
<a name="JsonReader.
|
177
|
-
<div class="refsect2">
|
178
|
-
<a name="JsonReader-struct"></a><h3>struct JsonReader</h3>
|
179
|
-
<pre class="programlisting">struct JsonReader;</pre>
|
180
|
-
<p>
|
181
|
-
The <span class="structname">JsonReader</span> structure contains only
|
182
|
-
private data and should only be accessed using the provided API
|
183
|
-
</p>
|
184
|
-
<p class="since">Since 0.12</p>
|
185
|
-
</div>
|
186
|
-
<hr>
|
187
|
-
<div class="refsect2">
|
188
|
-
<a name="JsonReaderClass"></a><h3>struct JsonReaderClass</h3>
|
189
|
-
<pre class="programlisting">struct JsonReaderClass {
|
190
|
-
};
|
191
|
-
</pre>
|
192
|
-
<p>
|
193
|
-
The <span class="structname">JsonReaderClass</span> structure contains only
|
194
|
-
private data
|
195
|
-
</p>
|
196
|
-
<p class="since">Since 0.12</p>
|
197
|
-
</div>
|
198
|
-
<hr>
|
319
|
+
<a name="JsonReader.functions_details"></a><h2>Functions</h2>
|
199
320
|
<div class="refsect2">
|
200
|
-
<a name="json-reader-new"></a><h3>json_reader_new
|
201
|
-
<pre class="programlisting"><a class="link" href="JsonReader.html" title="JsonReader"><span class="returnvalue">JsonReader</span></a>
|
202
|
-
<
|
203
|
-
Creates a new <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. You can use this object to read the contents of
|
321
|
+
<a name="json-reader-new"></a><h3>json_reader_new ()</h3>
|
322
|
+
<pre class="programlisting"><a class="link" href="JsonReader.html" title="JsonReader"><span class="returnvalue">JsonReader</span></a> *
|
323
|
+
json_reader_new (<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>
|
324
|
+
<p>Creates a new <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. You can use this object to read the contents of
|
204
325
|
the JSON tree starting from <em class="parameter"><code>node</code></em>
|
205
326
|
</p>
|
206
|
-
<div class="
|
327
|
+
<div class="refsect3">
|
328
|
+
<a name="id-1.4.3.3.8.2.5"></a><h4>Parameters</h4>
|
329
|
+
<div class="informaltable"><table width="100%" border="0">
|
207
330
|
<colgroup>
|
208
|
-
<col
|
209
|
-
<col>
|
331
|
+
<col width="150px" class="parameters_name">
|
332
|
+
<col class="parameters_description">
|
333
|
+
<col width="200px" class="parameters_annotations">
|
210
334
|
</colgroup>
|
211
|
-
<tbody>
|
212
|
-
<
|
213
|
-
<td><p><span class="
|
214
|
-
<td
|
215
|
-
</
|
216
|
-
</tr>
|
217
|
-
<tr>
|
218
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
219
|
-
<td>the newly created <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. Use <code class="function">g_object_unref()</code> to
|
220
|
-
release the allocated resources when done</td>
|
221
|
-
</tr>
|
222
|
-
</tbody>
|
335
|
+
<tbody><tr>
|
336
|
+
<td class="parameter_name"><p>node</p></td>
|
337
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. </p></td>
|
338
|
+
<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>
|
339
|
+
</tr></tbody>
|
223
340
|
</table></div>
|
341
|
+
</div>
|
342
|
+
<div class="refsect3">
|
343
|
+
<a name="id-1.4.3.3.8.2.6"></a><h4>Returns</h4>
|
344
|
+
<p> the newly created <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>. Use <code class="function">g_object_unref()</code> to
|
345
|
+
release the allocated resources when done</p>
|
346
|
+
<p></p>
|
347
|
+
</div>
|
224
348
|
<p class="since">Since 0.12</p>
|
225
349
|
</div>
|
226
350
|
<hr>
|
227
351
|
<div class="refsect2">
|
228
|
-
<a name="json-reader-set-root"></a><h3>json_reader_set_root
|
229
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
230
|
-
|
231
|
-
<
|
232
|
-
Sets the root <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to be read by <em class="parameter"><code>reader</code></em
|
352
|
+
<a name="json-reader-set-root"></a><h3>json_reader_set_root ()</h3>
|
353
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
354
|
+
json_reader_set_root (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
355
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *root</code></em>);</pre>
|
356
|
+
<p>Sets the root <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to be read by <em class="parameter"><code>reader</code></em>
|
357
|
+
. The <em class="parameter"><code>reader</code></em>
|
358
|
+
will take
|
233
359
|
a copy of <em class="parameter"><code>root</code></em>
|
234
360
|
</p>
|
235
|
-
<p>
|
236
|
-
|
237
|
-
</
|
238
|
-
<div class="
|
361
|
+
<p>If another <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> is currently set as root, it will be replaced.</p>
|
362
|
+
<div class="refsect3">
|
363
|
+
<a name="id-1.4.3.3.8.3.6"></a><h4>Parameters</h4>
|
364
|
+
<div class="informaltable"><table width="100%" border="0">
|
239
365
|
<colgroup>
|
240
|
-
<col
|
241
|
-
<col>
|
366
|
+
<col width="150px" class="parameters_name">
|
367
|
+
<col class="parameters_description">
|
368
|
+
<col width="200px" class="parameters_annotations">
|
242
369
|
</colgroup>
|
243
370
|
<tbody>
|
244
371
|
<tr>
|
245
|
-
<td
|
246
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
247
|
-
</td>
|
372
|
+
<td class="parameter_name"><p>reader</p></td>
|
373
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
374
|
+
<td class="parameter_annotations"> </td>
|
248
375
|
</tr>
|
249
376
|
<tr>
|
250
|
-
<td
|
251
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
252
|
-
</td>
|
377
|
+
<td class="parameter_name"><p>root</p></td>
|
378
|
+
<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>
|
379
|
+
<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>
|
253
380
|
</tr>
|
254
381
|
</tbody>
|
255
382
|
</table></div>
|
383
|
+
</div>
|
256
384
|
<p class="since">Since 0.12</p>
|
257
385
|
</div>
|
258
386
|
<hr>
|
259
387
|
<div class="refsect2">
|
260
|
-
<a name="json-reader-read-element"></a><h3>json_reader_read_element
|
261
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
262
|
-
|
263
|
-
<
|
264
|
-
Advances the cursor of <em class="parameter"><code>reader</code></em>
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
You can use the json_reader_get_value* family of functions to retrieve
|
269
|
-
the value of the element; for instance
|
270
|
-
</p>
|
271
|
-
<p>
|
272
|
-
</p>
|
388
|
+
<a name="json-reader-read-element"></a><h3>json_reader_read_element ()</h3>
|
389
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
390
|
+
json_reader_read_element (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
391
|
+
<em class="parameter"><code><span class="type">guint</span> index_</code></em>);</pre>
|
392
|
+
<p>Advances the cursor of <em class="parameter"><code>reader</code></em>
|
393
|
+
to the element <em class="parameter"><code>index_</code></em>
|
394
|
+
of the array
|
395
|
+
or the object at the current position.</p>
|
396
|
+
<p>You can use the json_reader_get_value* family of functions to retrieve
|
397
|
+
the value of the element; for instance:</p>
|
273
398
|
<div class="informalexample">
|
274
399
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
275
400
|
<tbody>
|
@@ -283,14 +408,9 @@ the value of the element; for instance:
|
|
283
408
|
</table>
|
284
409
|
</div>
|
285
410
|
|
286
|
-
<p>
|
287
|
-
|
288
|
-
<p>
|
289
|
-
After reading the value, <a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element ()"><code class="function">json_reader_end_element()</code></a> should be called to
|
290
|
-
reposition the cursor inside the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>, e.g.:
|
291
|
-
</p>
|
292
|
-
<p>
|
293
|
-
</p>
|
411
|
+
<p></p>
|
412
|
+
<p>After reading the value, <a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element ()"><code class="function">json_reader_end_element()</code></a> should be called to
|
413
|
+
reposition the cursor inside the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>, e.g.:</p>
|
294
414
|
<div class="informalexample">
|
295
415
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
296
416
|
<tbody>
|
@@ -314,132 +434,140 @@ reposition the cursor inside the <a class="link" href="JsonReader.html" title="J
|
|
314
434
|
</table>
|
315
435
|
</div>
|
316
436
|
|
317
|
-
<p>
|
318
|
-
|
319
|
-
<
|
320
|
-
|
437
|
+
<p></p>
|
438
|
+
<p>If <em class="parameter"><code>reader</code></em>
|
439
|
+
is not currently on an array or an object, or if the <em class="parameter"><code>index_</code></em>
|
440
|
+
is
|
321
441
|
bigger than the size of the array or the object, the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> will be
|
322
|
-
put in an error state until <a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element
|
323
|
-
|
324
|
-
<
|
442
|
+
put in an error state until <a class="link" href="JsonReader.html#json-reader-end-element" title="json_reader_end_element ()"><code class="function">json_reader_end_element()</code></a> is called.</p>
|
443
|
+
<div class="refsect3">
|
444
|
+
<a name="id-1.4.3.3.8.4.12"></a><h4>Parameters</h4>
|
445
|
+
<div class="informaltable"><table width="100%" border="0">
|
325
446
|
<colgroup>
|
326
|
-
<col
|
327
|
-
<col>
|
447
|
+
<col width="150px" class="parameters_name">
|
448
|
+
<col class="parameters_description">
|
449
|
+
<col width="200px" class="parameters_annotations">
|
328
450
|
</colgroup>
|
329
451
|
<tbody>
|
330
452
|
<tr>
|
331
|
-
<td
|
332
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
333
|
-
</td>
|
334
|
-
</tr>
|
335
|
-
<tr>
|
336
|
-
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
|
337
|
-
<td>the index of the element</td>
|
453
|
+
<td class="parameter_name"><p>reader</p></td>
|
454
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
455
|
+
<td class="parameter_annotations"> </td>
|
338
456
|
</tr>
|
339
457
|
<tr>
|
340
|
-
<td
|
341
|
-
<td>
|
342
|
-
<
|
458
|
+
<td class="parameter_name"><p>index_</p></td>
|
459
|
+
<td class="parameter_description"><p>the index of the element</p></td>
|
460
|
+
<td class="parameter_annotations"> </td>
|
343
461
|
</tr>
|
344
462
|
</tbody>
|
345
463
|
</table></div>
|
464
|
+
</div>
|
465
|
+
<div class="refsect3">
|
466
|
+
<a name="id-1.4.3.3.8.4.13"></a><h4>Returns</h4>
|
467
|
+
<p> <code class="literal">TRUE</code> on success, and <code class="literal">FALSE</code> otherwise</p>
|
468
|
+
<p></p>
|
469
|
+
</div>
|
346
470
|
<p class="since">Since 0.12</p>
|
347
471
|
</div>
|
348
472
|
<hr>
|
349
473
|
<div class="refsect2">
|
350
|
-
<a name="json-reader-end-element"></a><h3>json_reader_end_element
|
351
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
352
|
-
<
|
353
|
-
Moves the cursor back to the previous node after being positioned
|
354
|
-
inside an array
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
</
|
359
|
-
<div class="
|
474
|
+
<a name="json-reader-end-element"></a><h3>json_reader_end_element ()</h3>
|
475
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
476
|
+
json_reader_end_element (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
477
|
+
<p>Moves the cursor back to the previous node after being positioned
|
478
|
+
inside an array</p>
|
479
|
+
<p>This function resets the error state of <em class="parameter"><code>reader</code></em>
|
480
|
+
, if any was set</p>
|
481
|
+
<div class="refsect3">
|
482
|
+
<a name="id-1.4.3.3.8.5.6"></a><h4>Parameters</h4>
|
483
|
+
<div class="informaltable"><table width="100%" border="0">
|
360
484
|
<colgroup>
|
361
|
-
<col
|
362
|
-
<col>
|
485
|
+
<col width="150px" class="parameters_name">
|
486
|
+
<col class="parameters_description">
|
487
|
+
<col width="200px" class="parameters_annotations">
|
363
488
|
</colgroup>
|
364
489
|
<tbody><tr>
|
365
|
-
<td
|
366
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
367
|
-
</td>
|
490
|
+
<td class="parameter_name"><p>reader</p></td>
|
491
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
492
|
+
<td class="parameter_annotations"> </td>
|
368
493
|
</tr></tbody>
|
369
494
|
</table></div>
|
495
|
+
</div>
|
370
496
|
<p class="since">Since 0.12</p>
|
371
497
|
</div>
|
372
498
|
<hr>
|
373
499
|
<div class="refsect2">
|
374
|
-
<a name="json-reader-is-array"></a><h3>json_reader_is_array
|
375
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
376
|
-
<
|
377
|
-
Checks whether the <em class="parameter"><code>reader</code></em>
|
378
|
-
</p>
|
379
|
-
<div class="
|
500
|
+
<a name="json-reader-is-array"></a><h3>json_reader_is_array ()</h3>
|
501
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
502
|
+
json_reader_is_array (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
503
|
+
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
504
|
+
is currently on an array</p>
|
505
|
+
<div class="refsect3">
|
506
|
+
<a name="id-1.4.3.3.8.6.5"></a><h4>Parameters</h4>
|
507
|
+
<div class="informaltable"><table width="100%" border="0">
|
380
508
|
<colgroup>
|
381
|
-
<col
|
382
|
-
<col>
|
509
|
+
<col width="150px" class="parameters_name">
|
510
|
+
<col class="parameters_description">
|
511
|
+
<col width="200px" class="parameters_annotations">
|
383
512
|
</colgroup>
|
384
|
-
<tbody>
|
385
|
-
<
|
386
|
-
<td><p
|
387
|
-
<td
|
388
|
-
</
|
389
|
-
</tr>
|
390
|
-
<tr>
|
391
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
392
|
-
<td>
|
393
|
-
<code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an array, and <code class="literal">FALSE</code>
|
394
|
-
otherwise</td>
|
395
|
-
</tr>
|
396
|
-
</tbody>
|
513
|
+
<tbody><tr>
|
514
|
+
<td class="parameter_name"><p>reader</p></td>
|
515
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
516
|
+
<td class="parameter_annotations"> </td>
|
517
|
+
</tr></tbody>
|
397
518
|
</table></div>
|
519
|
+
</div>
|
520
|
+
<div class="refsect3">
|
521
|
+
<a name="id-1.4.3.3.8.6.6"></a><h4>Returns</h4>
|
522
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an array, and <code class="literal">FALSE</code>
|
523
|
+
otherwise</p>
|
524
|
+
<p></p>
|
525
|
+
</div>
|
398
526
|
<p class="since">Since 0.12</p>
|
399
527
|
</div>
|
400
528
|
<hr>
|
401
529
|
<div class="refsect2">
|
402
|
-
<a name="json-reader-count-elements"></a><h3>json_reader_count_elements
|
403
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
404
|
-
<
|
405
|
-
Counts the elements of the current position, if <em class="parameter"><code>reader</code></em>
|
406
|
-
|
407
|
-
</p>
|
408
|
-
<div class="
|
530
|
+
<a name="json-reader-count-elements"></a><h3>json_reader_count_elements ()</h3>
|
531
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
532
|
+
json_reader_count_elements (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
533
|
+
<p>Counts the elements of the current position, if <em class="parameter"><code>reader</code></em>
|
534
|
+
is
|
535
|
+
positioned on an array</p>
|
536
|
+
<div class="refsect3">
|
537
|
+
<a name="id-1.4.3.3.8.7.5"></a><h4>Parameters</h4>
|
538
|
+
<div class="informaltable"><table width="100%" border="0">
|
409
539
|
<colgroup>
|
410
|
-
<col
|
411
|
-
<col>
|
540
|
+
<col width="150px" class="parameters_name">
|
541
|
+
<col class="parameters_description">
|
542
|
+
<col width="200px" class="parameters_annotations">
|
412
543
|
</colgroup>
|
413
|
-
<tbody>
|
414
|
-
<
|
415
|
-
<td><p
|
416
|
-
<td
|
417
|
-
</
|
418
|
-
</tr>
|
419
|
-
<tr>
|
420
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
421
|
-
<td>the number of elements, or -1. In case of failure
|
422
|
-
the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is set in an error state</td>
|
423
|
-
</tr>
|
424
|
-
</tbody>
|
544
|
+
<tbody><tr>
|
545
|
+
<td class="parameter_name"><p>reader</p></td>
|
546
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
547
|
+
<td class="parameter_annotations"> </td>
|
548
|
+
</tr></tbody>
|
425
549
|
</table></div>
|
550
|
+
</div>
|
551
|
+
<div class="refsect3">
|
552
|
+
<a name="id-1.4.3.3.8.7.6"></a><h4>Returns</h4>
|
553
|
+
<p> the number of elements, or -1. In case of failure
|
554
|
+
the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is set in an error state</p>
|
555
|
+
<p></p>
|
556
|
+
</div>
|
426
557
|
<p class="since">Since 0.12</p>
|
427
558
|
</div>
|
428
559
|
<hr>
|
429
560
|
<div class="refsect2">
|
430
|
-
<a name="json-reader-read-member"></a><h3>json_reader_read_member
|
431
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
432
|
-
|
433
|
-
<
|
434
|
-
Advances the cursor of <em class="parameter"><code>reader</code></em>
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
You can use the json_reader_get_value* family of functions to retrieve
|
439
|
-
the value of the member; for instance
|
440
|
-
</p>
|
441
|
-
<p>
|
442
|
-
</p>
|
561
|
+
<a name="json-reader-read-member"></a><h3>json_reader_read_member ()</h3>
|
562
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
563
|
+
json_reader_read_member (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>,
|
564
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *member_name</code></em>);</pre>
|
565
|
+
<p>Advances the cursor of <em class="parameter"><code>reader</code></em>
|
566
|
+
to the <em class="parameter"><code>member_name</code></em>
|
567
|
+
of the object at the
|
568
|
+
current position.</p>
|
569
|
+
<p>You can use the json_reader_get_value* family of functions to retrieve
|
570
|
+
the value of the member; for instance:</p>
|
443
571
|
<div class="informalexample">
|
444
572
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
445
573
|
<tbody>
|
@@ -453,14 +581,9 @@ the value of the member; for instance:
|
|
453
581
|
</table>
|
454
582
|
</div>
|
455
583
|
|
456
|
-
<p>
|
457
|
-
|
458
|
-
<p>
|
459
|
-
After reading the value, <a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member ()"><code class="function">json_reader_end_member()</code></a> should be called to
|
460
|
-
reposition the cursor inside the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>, e.g.:
|
461
|
-
</p>
|
462
|
-
<p>
|
463
|
-
</p>
|
584
|
+
<p></p>
|
585
|
+
<p>After reading the value, <a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member ()"><code class="function">json_reader_end_member()</code></a> should be called to
|
586
|
+
reposition the cursor inside the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>, e.g.:</p>
|
464
587
|
<div class="informalexample">
|
465
588
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
466
589
|
<tbody>
|
@@ -474,488 +597,544 @@ reposition the cursor inside the <a class="link" href="JsonReader.html" title="J
|
|
474
597
|
7</pre></td>
|
475
598
|
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="JsonReader.html#json-reader-read-member">json_reader_read_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"author"</span><span class="symbol">);</span>
|
476
599
|
<span class="normal">author </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-string-value">json_reader_get_string_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
477
|
-
<span class="function"><a href="JsonReader.html#json-reader-end-
|
600
|
+
<span class="function"><a href="JsonReader.html#json-reader-end-member">json_reader_end_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
478
601
|
|
479
|
-
<span class="function"><a href="JsonReader.html#json-reader-read-
|
602
|
+
<span class="function"><a href="JsonReader.html#json-reader-read-member">json_reader_read_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"title"</span><span class="symbol">);</span>
|
480
603
|
<span class="normal">title </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonReader.html#json-reader-get-string-value">json_reader_get_string_value</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span>
|
481
|
-
<span class="function"><a href="JsonReader.html#json-reader-end-
|
604
|
+
<span class="function"><a href="JsonReader.html#json-reader-end-member">json_reader_end_member</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">reader</span><span class="symbol">);</span></pre></td>
|
482
605
|
</tr>
|
483
606
|
</tbody>
|
484
607
|
</table>
|
485
608
|
</div>
|
486
609
|
|
487
|
-
<p>
|
488
|
-
|
489
|
-
<
|
490
|
-
|
610
|
+
<p></p>
|
611
|
+
<p>If <em class="parameter"><code>reader</code></em>
|
612
|
+
is not currently on an object, or if the <em class="parameter"><code>member_name</code></em>
|
613
|
+
is not
|
491
614
|
defined in the object, the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> will be put in an error state until
|
492
|
-
<a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member
|
493
|
-
|
494
|
-
<
|
615
|
+
<a class="link" href="JsonReader.html#json-reader-end-member" title="json_reader_end_member ()"><code class="function">json_reader_end_member()</code></a> is called.</p>
|
616
|
+
<div class="refsect3">
|
617
|
+
<a name="id-1.4.3.3.8.8.12"></a><h4>Parameters</h4>
|
618
|
+
<div class="informaltable"><table width="100%" border="0">
|
495
619
|
<colgroup>
|
496
|
-
<col
|
497
|
-
<col>
|
620
|
+
<col width="150px" class="parameters_name">
|
621
|
+
<col class="parameters_description">
|
622
|
+
<col width="200px" class="parameters_annotations">
|
498
623
|
</colgroup>
|
499
624
|
<tbody>
|
500
625
|
<tr>
|
501
|
-
<td
|
502
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
503
|
-
</td>
|
626
|
+
<td class="parameter_name"><p>reader</p></td>
|
627
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
628
|
+
<td class="parameter_annotations"> </td>
|
504
629
|
</tr>
|
505
630
|
<tr>
|
506
|
-
<td
|
507
|
-
<td>the name of the member to read</td>
|
508
|
-
</
|
509
|
-
<tr>
|
510
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
511
|
-
<td>
|
512
|
-
<code class="literal">TRUE</code> on success, and <code class="literal">FALSE</code> otherwise</td>
|
631
|
+
<td class="parameter_name"><p>member_name</p></td>
|
632
|
+
<td class="parameter_description"><p>the name of the member to read</p></td>
|
633
|
+
<td class="parameter_annotations"> </td>
|
513
634
|
</tr>
|
514
635
|
</tbody>
|
515
636
|
</table></div>
|
637
|
+
</div>
|
638
|
+
<div class="refsect3">
|
639
|
+
<a name="id-1.4.3.3.8.8.13"></a><h4>Returns</h4>
|
640
|
+
<p> <code class="literal">TRUE</code> on success, and <code class="literal">FALSE</code> otherwise</p>
|
641
|
+
<p></p>
|
642
|
+
</div>
|
516
643
|
<p class="since">Since 0.12</p>
|
517
644
|
</div>
|
518
645
|
<hr>
|
519
646
|
<div class="refsect2">
|
520
|
-
<a name="json-reader-end-member"></a><h3>json_reader_end_member
|
521
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
522
|
-
<
|
523
|
-
Moves the cursor back to the previous node after being positioned
|
524
|
-
inside an object
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
</
|
529
|
-
<div class="
|
647
|
+
<a name="json-reader-end-member"></a><h3>json_reader_end_member ()</h3>
|
648
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
649
|
+
json_reader_end_member (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
650
|
+
<p>Moves the cursor back to the previous node after being positioned
|
651
|
+
inside an object</p>
|
652
|
+
<p>This function resets the error state of <em class="parameter"><code>reader</code></em>
|
653
|
+
, if any was set</p>
|
654
|
+
<div class="refsect3">
|
655
|
+
<a name="id-1.4.3.3.8.9.6"></a><h4>Parameters</h4>
|
656
|
+
<div class="informaltable"><table width="100%" border="0">
|
530
657
|
<colgroup>
|
531
|
-
<col
|
532
|
-
<col>
|
658
|
+
<col width="150px" class="parameters_name">
|
659
|
+
<col class="parameters_description">
|
660
|
+
<col width="200px" class="parameters_annotations">
|
533
661
|
</colgroup>
|
534
662
|
<tbody><tr>
|
535
|
-
<td
|
536
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
537
|
-
</td>
|
663
|
+
<td class="parameter_name"><p>reader</p></td>
|
664
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
665
|
+
<td class="parameter_annotations"> </td>
|
538
666
|
</tr></tbody>
|
539
667
|
</table></div>
|
668
|
+
</div>
|
540
669
|
<p class="since">Since 0.12</p>
|
541
670
|
</div>
|
542
671
|
<hr>
|
543
672
|
<div class="refsect2">
|
544
|
-
<a name="json-reader-is-object"></a><h3>json_reader_is_object
|
545
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
546
|
-
<
|
547
|
-
Checks whether the <em class="parameter"><code>reader</code></em>
|
548
|
-
</p>
|
549
|
-
<div class="
|
673
|
+
<a name="json-reader-is-object"></a><h3>json_reader_is_object ()</h3>
|
674
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
675
|
+
json_reader_is_object (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
676
|
+
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
677
|
+
is currently on an object</p>
|
678
|
+
<div class="refsect3">
|
679
|
+
<a name="id-1.4.3.3.8.10.5"></a><h4>Parameters</h4>
|
680
|
+
<div class="informaltable"><table width="100%" border="0">
|
550
681
|
<colgroup>
|
551
|
-
<col
|
552
|
-
<col>
|
682
|
+
<col width="150px" class="parameters_name">
|
683
|
+
<col class="parameters_description">
|
684
|
+
<col width="200px" class="parameters_annotations">
|
553
685
|
</colgroup>
|
554
|
-
<tbody>
|
555
|
-
<
|
556
|
-
<td><p
|
557
|
-
<td
|
558
|
-
</
|
559
|
-
</tr>
|
560
|
-
<tr>
|
561
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
562
|
-
<td>
|
563
|
-
<code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an object, and <code class="literal">FALSE</code>
|
564
|
-
otherwise</td>
|
565
|
-
</tr>
|
566
|
-
</tbody>
|
686
|
+
<tbody><tr>
|
687
|
+
<td class="parameter_name"><p>reader</p></td>
|
688
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
689
|
+
<td class="parameter_annotations"> </td>
|
690
|
+
</tr></tbody>
|
567
691
|
</table></div>
|
692
|
+
</div>
|
693
|
+
<div class="refsect3">
|
694
|
+
<a name="id-1.4.3.3.8.10.6"></a><h4>Returns</h4>
|
695
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on an object, and <code class="literal">FALSE</code>
|
696
|
+
otherwise</p>
|
697
|
+
<p></p>
|
698
|
+
</div>
|
568
699
|
<p class="since">Since 0.12</p>
|
569
700
|
</div>
|
570
701
|
<hr>
|
571
702
|
<div class="refsect2">
|
572
|
-
<a name="json-reader-count-members"></a><h3>json_reader_count_members
|
573
|
-
<pre class="programlisting"><span class="returnvalue">gint</span>
|
574
|
-
<
|
575
|
-
Counts the members of the current position, if <em class="parameter"><code>reader</code></em>
|
576
|
-
|
577
|
-
</p>
|
578
|
-
<div class="
|
703
|
+
<a name="json-reader-count-members"></a><h3>json_reader_count_members ()</h3>
|
704
|
+
<pre class="programlisting"><span class="returnvalue">gint</span>
|
705
|
+
json_reader_count_members (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
706
|
+
<p>Counts the members of the current position, if <em class="parameter"><code>reader</code></em>
|
707
|
+
is
|
708
|
+
positioned on an object</p>
|
709
|
+
<div class="refsect3">
|
710
|
+
<a name="id-1.4.3.3.8.11.5"></a><h4>Parameters</h4>
|
711
|
+
<div class="informaltable"><table width="100%" border="0">
|
579
712
|
<colgroup>
|
580
|
-
<col
|
581
|
-
<col>
|
713
|
+
<col width="150px" class="parameters_name">
|
714
|
+
<col class="parameters_description">
|
715
|
+
<col width="200px" class="parameters_annotations">
|
582
716
|
</colgroup>
|
583
|
-
<tbody>
|
584
|
-
<
|
585
|
-
<td><p
|
586
|
-
<td
|
587
|
-
</
|
588
|
-
</tr>
|
589
|
-
<tr>
|
590
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
591
|
-
<td>the number of members, or -1. In case of failure
|
592
|
-
the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is set in an error state</td>
|
593
|
-
</tr>
|
594
|
-
</tbody>
|
717
|
+
<tbody><tr>
|
718
|
+
<td class="parameter_name"><p>reader</p></td>
|
719
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
720
|
+
<td class="parameter_annotations"> </td>
|
721
|
+
</tr></tbody>
|
595
722
|
</table></div>
|
723
|
+
</div>
|
724
|
+
<div class="refsect3">
|
725
|
+
<a name="id-1.4.3.3.8.11.6"></a><h4>Returns</h4>
|
726
|
+
<p> the number of members, or -1. In case of failure
|
727
|
+
the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is set in an error state</p>
|
728
|
+
<p></p>
|
729
|
+
</div>
|
596
730
|
<p class="since">Since 0.12</p>
|
597
731
|
</div>
|
598
732
|
<hr>
|
599
733
|
<div class="refsect2">
|
600
|
-
<a name="json-reader-list-members"></a><h3>json_reader_list_members
|
601
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span>
|
602
|
-
<
|
603
|
-
Retrieves a list of member names from the current position, if <em class="parameter"><code>reader</code></em>
|
604
|
-
|
605
|
-
|
606
|
-
<div class="
|
734
|
+
<a name="json-reader-list-members"></a><h3>json_reader_list_members ()</h3>
|
735
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> **
|
736
|
+
json_reader_list_members (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
737
|
+
<p>Retrieves a list of member names from the current position, if <em class="parameter"><code>reader</code></em>
|
738
|
+
|
739
|
+
is positioned on an object.</p>
|
740
|
+
<div class="refsect3">
|
741
|
+
<a name="id-1.4.3.3.8.12.5"></a><h4>Parameters</h4>
|
742
|
+
<div class="informaltable"><table width="100%" border="0">
|
607
743
|
<colgroup>
|
608
|
-
<col
|
609
|
-
<col>
|
744
|
+
<col width="150px" class="parameters_name">
|
745
|
+
<col class="parameters_description">
|
746
|
+
<col width="200px" class="parameters_annotations">
|
610
747
|
</colgroup>
|
611
|
-
<tbody>
|
612
|
-
<
|
613
|
-
<td><p
|
614
|
-
<td
|
615
|
-
</
|
616
|
-
</tr>
|
617
|
-
<tr>
|
618
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
619
|
-
<td>a newly allocated, <code class="literal">NULL</code>-terminated
|
620
|
-
array of strings holding the members name. Use <code class="function">g_strfreev()</code> when
|
621
|
-
done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
622
|
-
</td>
|
623
|
-
</tr>
|
624
|
-
</tbody>
|
748
|
+
<tbody><tr>
|
749
|
+
<td class="parameter_name"><p>reader</p></td>
|
750
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
751
|
+
<td class="parameter_annotations"> </td>
|
752
|
+
</tr></tbody>
|
625
753
|
</table></div>
|
754
|
+
</div>
|
755
|
+
<div class="refsect3">
|
756
|
+
<a name="id-1.4.3.3.8.12.6"></a><h4>Returns</h4>
|
757
|
+
<p> a newly allocated, <code class="literal">NULL</code>-terminated
|
758
|
+
array of strings holding the members name. Use <code class="function">g_strfreev()</code> when
|
759
|
+
done. </p>
|
760
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
761
|
+
</div>
|
626
762
|
<p class="since">Since 0.14</p>
|
627
763
|
</div>
|
628
764
|
<hr>
|
629
765
|
<div class="refsect2">
|
630
|
-
<a name="json-reader-get-member-name"></a><h3>json_reader_get_member_name
|
631
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
632
|
-
<
|
633
|
-
Retrieves the name of the current member
|
634
|
-
|
635
|
-
<
|
766
|
+
<a name="json-reader-get-member-name"></a><h3>json_reader_get_member_name ()</h3>
|
767
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
768
|
+
json_reader_get_member_name (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
769
|
+
<p>Retrieves the name of the current member.</p>
|
770
|
+
<div class="refsect3">
|
771
|
+
<a name="id-1.4.3.3.8.13.5"></a><h4>Parameters</h4>
|
772
|
+
<div class="informaltable"><table width="100%" border="0">
|
636
773
|
<colgroup>
|
637
|
-
<col
|
638
|
-
<col>
|
774
|
+
<col width="150px" class="parameters_name">
|
775
|
+
<col class="parameters_description">
|
776
|
+
<col width="200px" class="parameters_annotations">
|
639
777
|
</colgroup>
|
640
|
-
<tbody>
|
641
|
-
<
|
642
|
-
<td><p
|
643
|
-
<td
|
644
|
-
</
|
645
|
-
</tr>
|
646
|
-
<tr>
|
647
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
648
|
-
<td>the name of the member, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
649
|
-
</td>
|
650
|
-
</tr>
|
651
|
-
</tbody>
|
778
|
+
<tbody><tr>
|
779
|
+
<td class="parameter_name"><p>reader</p></td>
|
780
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
781
|
+
<td class="parameter_annotations"> </td>
|
782
|
+
</tr></tbody>
|
652
783
|
</table></div>
|
784
|
+
</div>
|
785
|
+
<div class="refsect3">
|
786
|
+
<a name="id-1.4.3.3.8.13.6"></a><h4>Returns</h4>
|
787
|
+
<p> the name of the member, or <code class="literal">NULL</code>. </p>
|
788
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
789
|
+
</div>
|
653
790
|
<p class="since">Since 0.14</p>
|
654
791
|
</div>
|
655
792
|
<hr>
|
656
793
|
<div class="refsect2">
|
657
|
-
<a name="json-reader-is-value"></a><h3>json_reader_is_value
|
658
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
659
|
-
<
|
660
|
-
Checks whether the <em class="parameter"><code>reader</code></em>
|
661
|
-
</p>
|
662
|
-
<div class="
|
794
|
+
<a name="json-reader-is-value"></a><h3>json_reader_is_value ()</h3>
|
795
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
796
|
+
json_reader_is_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
797
|
+
<p>Checks whether the <em class="parameter"><code>reader</code></em>
|
798
|
+
is currently on a value</p>
|
799
|
+
<div class="refsect3">
|
800
|
+
<a name="id-1.4.3.3.8.14.5"></a><h4>Parameters</h4>
|
801
|
+
<div class="informaltable"><table width="100%" border="0">
|
663
802
|
<colgroup>
|
664
|
-
<col
|
665
|
-
<col>
|
803
|
+
<col width="150px" class="parameters_name">
|
804
|
+
<col class="parameters_description">
|
805
|
+
<col width="200px" class="parameters_annotations">
|
666
806
|
</colgroup>
|
667
|
-
<tbody>
|
668
|
-
<
|
669
|
-
<td><p
|
670
|
-
<td
|
671
|
-
</
|
672
|
-
</tr>
|
673
|
-
<tr>
|
674
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
675
|
-
<td>
|
676
|
-
<code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on a value, and <code class="literal">FALSE</code>
|
677
|
-
otherwise</td>
|
678
|
-
</tr>
|
679
|
-
</tbody>
|
807
|
+
<tbody><tr>
|
808
|
+
<td class="parameter_name"><p>reader</p></td>
|
809
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
810
|
+
<td class="parameter_annotations"> </td>
|
811
|
+
</tr></tbody>
|
680
812
|
</table></div>
|
813
|
+
</div>
|
814
|
+
<div class="refsect3">
|
815
|
+
<a name="id-1.4.3.3.8.14.6"></a><h4>Returns</h4>
|
816
|
+
<p> <code class="literal">TRUE</code> if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> is on a value, and <code class="literal">FALSE</code>
|
817
|
+
otherwise</p>
|
818
|
+
<p></p>
|
819
|
+
</div>
|
681
820
|
<p class="since">Since 0.12</p>
|
682
821
|
</div>
|
683
822
|
<hr>
|
684
823
|
<div class="refsect2">
|
685
|
-
<a name="json-reader-get-value"></a><h3>json_reader_get_value
|
686
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
687
|
-
<
|
688
|
-
Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of the current position of <em class="parameter"><code>reader</code></em>
|
824
|
+
<a name="json-reader-get-value"></a><h3>json_reader_get_value ()</h3>
|
825
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
826
|
+
json_reader_get_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
827
|
+
<p>Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of the current position of <em class="parameter"><code>reader</code></em>
|
689
828
|
</p>
|
690
|
-
<div class="
|
829
|
+
<div class="refsect3">
|
830
|
+
<a name="id-1.4.3.3.8.15.5"></a><h4>Parameters</h4>
|
831
|
+
<div class="informaltable"><table width="100%" border="0">
|
691
832
|
<colgroup>
|
692
|
-
<col
|
693
|
-
<col>
|
833
|
+
<col width="150px" class="parameters_name">
|
834
|
+
<col class="parameters_description">
|
835
|
+
<col width="200px" class="parameters_annotations">
|
694
836
|
</colgroup>
|
695
|
-
<tbody>
|
696
|
-
<
|
697
|
-
<td><p
|
698
|
-
<td
|
699
|
-
</
|
700
|
-
</tr>
|
701
|
-
<tr>
|
702
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
703
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. The returned node
|
704
|
-
is owned by the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> and it should not be modified or freed
|
705
|
-
directly. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
706
|
-
</td>
|
707
|
-
</tr>
|
708
|
-
</tbody>
|
837
|
+
<tbody><tr>
|
838
|
+
<td class="parameter_name"><p>reader</p></td>
|
839
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
840
|
+
<td class="parameter_annotations"> </td>
|
841
|
+
</tr></tbody>
|
709
842
|
</table></div>
|
843
|
+
</div>
|
844
|
+
<div class="refsect3">
|
845
|
+
<a name="id-1.4.3.3.8.15.6"></a><h4>Returns</h4>
|
846
|
+
<p> a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>, or <code class="literal">NULL</code>. The returned node
|
847
|
+
is owned by the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> and it should not be modified or freed
|
848
|
+
directly. </p>
|
849
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
850
|
+
</div>
|
710
851
|
<p class="since">Since 0.12</p>
|
711
852
|
</div>
|
712
853
|
<hr>
|
713
854
|
<div class="refsect2">
|
714
|
-
<a name="json-reader-get-int-value"></a><h3>json_reader_get_int_value
|
715
|
-
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
716
|
-
<
|
717
|
-
Retrieves the integer value of the current position of <em class="parameter"><code>reader</code></em>
|
855
|
+
<a name="json-reader-get-int-value"></a><h3>json_reader_get_int_value ()</h3>
|
856
|
+
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
857
|
+
json_reader_get_int_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
858
|
+
<p>Retrieves the integer value of the current position of <em class="parameter"><code>reader</code></em>
|
718
859
|
</p>
|
719
|
-
<div class="
|
860
|
+
<div class="refsect3">
|
861
|
+
<a name="id-1.4.3.3.8.16.5"></a><h4>Parameters</h4>
|
862
|
+
<div class="informaltable"><table width="100%" border="0">
|
720
863
|
<colgroup>
|
721
|
-
<col
|
722
|
-
<col>
|
864
|
+
<col width="150px" class="parameters_name">
|
865
|
+
<col class="parameters_description">
|
866
|
+
<col width="200px" class="parameters_annotations">
|
723
867
|
</colgroup>
|
724
|
-
<tbody>
|
725
|
-
<
|
726
|
-
<td><p
|
727
|
-
<td
|
728
|
-
</
|
729
|
-
</tr>
|
730
|
-
<tr>
|
731
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
732
|
-
<td>the integer value</td>
|
733
|
-
</tr>
|
734
|
-
</tbody>
|
868
|
+
<tbody><tr>
|
869
|
+
<td class="parameter_name"><p>reader</p></td>
|
870
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
871
|
+
<td class="parameter_annotations"> </td>
|
872
|
+
</tr></tbody>
|
735
873
|
</table></div>
|
874
|
+
</div>
|
875
|
+
<div class="refsect3">
|
876
|
+
<a name="id-1.4.3.3.8.16.6"></a><h4>Returns</h4>
|
877
|
+
<p> the integer value</p>
|
878
|
+
<p></p>
|
879
|
+
</div>
|
736
880
|
<p class="since">Since 0.12</p>
|
737
881
|
</div>
|
738
882
|
<hr>
|
739
883
|
<div class="refsect2">
|
740
|
-
<a name="json-reader-get-double-value"></a><h3>json_reader_get_double_value
|
741
|
-
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
742
|
-
<
|
743
|
-
Retrieves the floating point value of the current position of <em class="parameter"><code>reader</code></em>
|
884
|
+
<a name="json-reader-get-double-value"></a><h3>json_reader_get_double_value ()</h3>
|
885
|
+
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
886
|
+
json_reader_get_double_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
887
|
+
<p>Retrieves the floating point value of the current position of <em class="parameter"><code>reader</code></em>
|
744
888
|
</p>
|
745
|
-
<div class="
|
889
|
+
<div class="refsect3">
|
890
|
+
<a name="id-1.4.3.3.8.17.5"></a><h4>Parameters</h4>
|
891
|
+
<div class="informaltable"><table width="100%" border="0">
|
746
892
|
<colgroup>
|
747
|
-
<col
|
748
|
-
<col>
|
893
|
+
<col width="150px" class="parameters_name">
|
894
|
+
<col class="parameters_description">
|
895
|
+
<col width="200px" class="parameters_annotations">
|
749
896
|
</colgroup>
|
750
|
-
<tbody>
|
751
|
-
<
|
752
|
-
<td><p
|
753
|
-
<td
|
754
|
-
</
|
755
|
-
</tr>
|
756
|
-
<tr>
|
757
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
758
|
-
<td>the floating point value</td>
|
759
|
-
</tr>
|
760
|
-
</tbody>
|
897
|
+
<tbody><tr>
|
898
|
+
<td class="parameter_name"><p>reader</p></td>
|
899
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
900
|
+
<td class="parameter_annotations"> </td>
|
901
|
+
</tr></tbody>
|
761
902
|
</table></div>
|
903
|
+
</div>
|
904
|
+
<div class="refsect3">
|
905
|
+
<a name="id-1.4.3.3.8.17.6"></a><h4>Returns</h4>
|
906
|
+
<p> the floating point value</p>
|
907
|
+
<p></p>
|
908
|
+
</div>
|
762
909
|
<p class="since">Since 0.12</p>
|
763
910
|
</div>
|
764
911
|
<hr>
|
765
912
|
<div class="refsect2">
|
766
|
-
<a name="json-reader-get-string-value"></a><h3>json_reader_get_string_value
|
767
|
-
<pre class="programlisting">const <span class="returnvalue">gchar</span>
|
768
|
-
<
|
769
|
-
Retrieves the string value of the current position of <em class="parameter"><code>reader</code></em>
|
913
|
+
<a name="json-reader-get-string-value"></a><h3>json_reader_get_string_value ()</h3>
|
914
|
+
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
915
|
+
json_reader_get_string_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
916
|
+
<p>Retrieves the string value of the current position of <em class="parameter"><code>reader</code></em>
|
770
917
|
</p>
|
771
|
-
<div class="
|
918
|
+
<div class="refsect3">
|
919
|
+
<a name="id-1.4.3.3.8.18.5"></a><h4>Parameters</h4>
|
920
|
+
<div class="informaltable"><table width="100%" border="0">
|
772
921
|
<colgroup>
|
773
|
-
<col
|
774
|
-
<col>
|
922
|
+
<col width="150px" class="parameters_name">
|
923
|
+
<col class="parameters_description">
|
924
|
+
<col width="200px" class="parameters_annotations">
|
775
925
|
</colgroup>
|
776
|
-
<tbody>
|
777
|
-
<
|
778
|
-
<td><p
|
779
|
-
<td
|
780
|
-
</
|
781
|
-
</tr>
|
782
|
-
<tr>
|
783
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
784
|
-
<td>the string value</td>
|
785
|
-
</tr>
|
786
|
-
</tbody>
|
926
|
+
<tbody><tr>
|
927
|
+
<td class="parameter_name"><p>reader</p></td>
|
928
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
929
|
+
<td class="parameter_annotations"> </td>
|
930
|
+
</tr></tbody>
|
787
931
|
</table></div>
|
932
|
+
</div>
|
933
|
+
<div class="refsect3">
|
934
|
+
<a name="id-1.4.3.3.8.18.6"></a><h4>Returns</h4>
|
935
|
+
<p> the string value</p>
|
936
|
+
<p></p>
|
937
|
+
</div>
|
788
938
|
<p class="since">Since 0.12</p>
|
789
939
|
</div>
|
790
940
|
<hr>
|
791
941
|
<div class="refsect2">
|
792
|
-
<a name="json-reader-get-boolean-value"></a><h3>json_reader_get_boolean_value
|
793
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
794
|
-
<
|
795
|
-
Retrieves the boolean value of the current position of <em class="parameter"><code>reader</code></em>
|
942
|
+
<a name="json-reader-get-boolean-value"></a><h3>json_reader_get_boolean_value ()</h3>
|
943
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
944
|
+
json_reader_get_boolean_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
945
|
+
<p>Retrieves the boolean value of the current position of <em class="parameter"><code>reader</code></em>
|
796
946
|
</p>
|
797
|
-
<div class="
|
947
|
+
<div class="refsect3">
|
948
|
+
<a name="id-1.4.3.3.8.19.5"></a><h4>Parameters</h4>
|
949
|
+
<div class="informaltable"><table width="100%" border="0">
|
798
950
|
<colgroup>
|
799
|
-
<col
|
800
|
-
<col>
|
951
|
+
<col width="150px" class="parameters_name">
|
952
|
+
<col class="parameters_description">
|
953
|
+
<col width="200px" class="parameters_annotations">
|
801
954
|
</colgroup>
|
802
|
-
<tbody>
|
803
|
-
<
|
804
|
-
<td><p
|
805
|
-
<td
|
806
|
-
</
|
807
|
-
</tr>
|
808
|
-
<tr>
|
809
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
810
|
-
<td>the boolean value</td>
|
811
|
-
</tr>
|
812
|
-
</tbody>
|
955
|
+
<tbody><tr>
|
956
|
+
<td class="parameter_name"><p>reader</p></td>
|
957
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
958
|
+
<td class="parameter_annotations"> </td>
|
959
|
+
</tr></tbody>
|
813
960
|
</table></div>
|
961
|
+
</div>
|
962
|
+
<div class="refsect3">
|
963
|
+
<a name="id-1.4.3.3.8.19.6"></a><h4>Returns</h4>
|
964
|
+
<p> the boolean value</p>
|
965
|
+
<p></p>
|
966
|
+
</div>
|
814
967
|
<p class="since">Since 0.12</p>
|
815
968
|
</div>
|
816
969
|
<hr>
|
817
970
|
<div class="refsect2">
|
818
|
-
<a name="json-reader-get-null-value"></a><h3>json_reader_get_null_value
|
819
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
820
|
-
<
|
821
|
-
Checks whether the value of the current position of <em class="parameter"><code>reader</code></em>
|
822
|
-
</p>
|
823
|
-
<div class="
|
971
|
+
<a name="json-reader-get-null-value"></a><h3>json_reader_get_null_value ()</h3>
|
972
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
973
|
+
json_reader_get_null_value (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
974
|
+
<p>Checks whether the value of the current position of <em class="parameter"><code>reader</code></em>
|
975
|
+
is 'null'</p>
|
976
|
+
<div class="refsect3">
|
977
|
+
<a name="id-1.4.3.3.8.20.5"></a><h4>Parameters</h4>
|
978
|
+
<div class="informaltable"><table width="100%" border="0">
|
824
979
|
<colgroup>
|
825
|
-
<col
|
826
|
-
<col>
|
980
|
+
<col width="150px" class="parameters_name">
|
981
|
+
<col class="parameters_description">
|
982
|
+
<col width="200px" class="parameters_annotations">
|
827
983
|
</colgroup>
|
828
|
-
<tbody>
|
829
|
-
<
|
830
|
-
<td><p
|
831
|
-
<td
|
832
|
-
</
|
833
|
-
</tr>
|
834
|
-
<tr>
|
835
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
836
|
-
<td>
|
837
|
-
<code class="literal">TRUE</code> if 'null' is set, and <code class="literal">FALSE</code> otherwise</td>
|
838
|
-
</tr>
|
839
|
-
</tbody>
|
984
|
+
<tbody><tr>
|
985
|
+
<td class="parameter_name"><p>reader</p></td>
|
986
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
987
|
+
<td class="parameter_annotations"> </td>
|
988
|
+
</tr></tbody>
|
840
989
|
</table></div>
|
990
|
+
</div>
|
991
|
+
<div class="refsect3">
|
992
|
+
<a name="id-1.4.3.3.8.20.6"></a><h4>Returns</h4>
|
993
|
+
<p> <code class="literal">TRUE</code> if 'null' is set, and <code class="literal">FALSE</code> otherwise</p>
|
994
|
+
<p></p>
|
995
|
+
</div>
|
841
996
|
<p class="since">Since 0.12</p>
|
842
997
|
</div>
|
843
998
|
<hr>
|
844
999
|
<div class="refsect2">
|
845
|
-
<a name="
|
846
|
-
<pre class="programlisting"
|
847
|
-
JSON_READER_ERROR_NO_ARRAY,
|
848
|
-
JSON_READER_ERROR_INVALID_INDEX,
|
849
|
-
JSON_READER_ERROR_NO_OBJECT,
|
850
|
-
JSON_READER_ERROR_INVALID_MEMBER,
|
851
|
-
JSON_READER_ERROR_INVALID_NODE,
|
852
|
-
JSON_READER_ERROR_NO_VALUE,
|
853
|
-
JSON_READER_ERROR_INVALID_TYPE
|
854
|
-
} JsonReaderError;
|
1000
|
+
<a name="JSON-READER-ERROR:CAPS"></a><h3>JSON_READER_ERROR</h3>
|
1001
|
+
<pre class="programlisting">#define JSON_READER_ERROR (json_reader_error_quark ())
|
855
1002
|
</pre>
|
856
|
-
<p>
|
857
|
-
|
858
|
-
</
|
859
|
-
<
|
1003
|
+
<p>Error domain for <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> errors</p>
|
1004
|
+
<p class="since">Since 0.12</p>
|
1005
|
+
</div>
|
1006
|
+
<hr>
|
1007
|
+
<div class="refsect2">
|
1008
|
+
<a name="json-reader-get-error"></a><h3>json_reader_get_error ()</h3>
|
1009
|
+
<pre class="programlisting">const <span class="returnvalue">GError</span> *
|
1010
|
+
json_reader_get_error (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
1011
|
+
<p>Retrieves the <span class="type">GError</span> currently set on <em class="parameter"><code>reader</code></em>
|
1012
|
+
, if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
1013
|
+
is in error state</p>
|
1014
|
+
<div class="refsect3">
|
1015
|
+
<a name="id-1.4.3.3.8.22.5"></a><h4>Parameters</h4>
|
1016
|
+
<div class="informaltable"><table width="100%" border="0">
|
860
1017
|
<colgroup>
|
861
|
-
<col
|
862
|
-
<col>
|
1018
|
+
<col width="150px" class="parameters_name">
|
1019
|
+
<col class="parameters_description">
|
1020
|
+
<col width="200px" class="parameters_annotations">
|
1021
|
+
</colgroup>
|
1022
|
+
<tbody><tr>
|
1023
|
+
<td class="parameter_name"><p>reader</p></td>
|
1024
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a></p></td>
|
1025
|
+
<td class="parameter_annotations"> </td>
|
1026
|
+
</tr></tbody>
|
1027
|
+
</table></div>
|
1028
|
+
</div>
|
1029
|
+
<div class="refsect3">
|
1030
|
+
<a name="id-1.4.3.3.8.22.6"></a><h4>Returns</h4>
|
1031
|
+
<p> the pointer to the error, or <code class="literal">NULL</code>. </p>
|
1032
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1033
|
+
</div>
|
1034
|
+
<p class="since">Since 0.12</p>
|
1035
|
+
</div>
|
1036
|
+
</div>
|
1037
|
+
<div class="refsect1">
|
1038
|
+
<a name="JsonReader.other_details"></a><h2>Types and Values</h2>
|
1039
|
+
<div class="refsect2">
|
1040
|
+
<a name="JsonReader-struct"></a><h3>struct JsonReader</h3>
|
1041
|
+
<pre class="programlisting">struct JsonReader;</pre>
|
1042
|
+
<p>The <code class="literal">JsonReader</code> structure contains only private data and should
|
1043
|
+
be accessed using the provided API</p>
|
1044
|
+
<p class="since">Since 0.12</p>
|
1045
|
+
</div>
|
1046
|
+
<hr>
|
1047
|
+
<div class="refsect2">
|
1048
|
+
<a name="JsonReaderClass"></a><h3>struct JsonReaderClass</h3>
|
1049
|
+
<pre class="programlisting">struct JsonReaderClass {
|
1050
|
+
};
|
1051
|
+
</pre>
|
1052
|
+
<p>The <code class="literal">JsonReaderClass</code> structure contains only private data</p>
|
1053
|
+
<p class="since">Since 0.12</p>
|
1054
|
+
</div>
|
1055
|
+
<hr>
|
1056
|
+
<div class="refsect2">
|
1057
|
+
<a name="JsonReaderError"></a><h3>enum JsonReaderError</h3>
|
1058
|
+
<p>Error codes enumeration for <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> errors</p>
|
1059
|
+
<div class="refsect3">
|
1060
|
+
<a name="id-1.4.3.3.9.4.4"></a><h4>Members</h4>
|
1061
|
+
<div class="informaltable"><table width="100%" border="0">
|
1062
|
+
<colgroup>
|
1063
|
+
<col width="300px" class="enum_members_name">
|
1064
|
+
<col class="enum_members_description">
|
1065
|
+
<col width="200px" class="enum_members_annotations">
|
863
1066
|
</colgroup>
|
864
1067
|
<tbody>
|
865
1068
|
<tr>
|
866
|
-
<td><p><a name="JSON-READER-ERROR-NO-ARRAY:CAPS"></a
|
867
|
-
<td>
|
1069
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-NO-ARRAY:CAPS"></a>JSON_READER_ERROR_NO_ARRAY</p></td>
|
1070
|
+
<td class="enum_member_description">
|
1071
|
+
<p>No array found at the current position</p>
|
868
1072
|
</td>
|
1073
|
+
<td class="enum_member_annotations"> </td>
|
869
1074
|
</tr>
|
870
1075
|
<tr>
|
871
|
-
<td><p><a name="JSON-READER-ERROR-INVALID-INDEX:CAPS"></a
|
872
|
-
<td>
|
1076
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-INVALID-INDEX:CAPS"></a>JSON_READER_ERROR_INVALID_INDEX</p></td>
|
1077
|
+
<td class="enum_member_description">
|
1078
|
+
<p>Index out of bounds</p>
|
873
1079
|
</td>
|
1080
|
+
<td class="enum_member_annotations"> </td>
|
874
1081
|
</tr>
|
875
1082
|
<tr>
|
876
|
-
<td><p><a name="JSON-READER-ERROR-NO-OBJECT:CAPS"></a
|
877
|
-
<td>
|
1083
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-NO-OBJECT:CAPS"></a>JSON_READER_ERROR_NO_OBJECT</p></td>
|
1084
|
+
<td class="enum_member_description">
|
1085
|
+
<p>No object found at the current position</p>
|
878
1086
|
</td>
|
1087
|
+
<td class="enum_member_annotations"> </td>
|
879
1088
|
</tr>
|
880
1089
|
<tr>
|
881
|
-
<td><p><a name="JSON-READER-ERROR-INVALID-MEMBER:CAPS"></a
|
882
|
-
<td>
|
1090
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-INVALID-MEMBER:CAPS"></a>JSON_READER_ERROR_INVALID_MEMBER</p></td>
|
1091
|
+
<td class="enum_member_description">
|
1092
|
+
<p>Member not found</p>
|
883
1093
|
</td>
|
1094
|
+
<td class="enum_member_annotations"> </td>
|
884
1095
|
</tr>
|
885
1096
|
<tr>
|
886
|
-
<td><p><a name="JSON-READER-ERROR-INVALID-NODE:CAPS"></a
|
887
|
-
<td>
|
1097
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-INVALID-NODE:CAPS"></a>JSON_READER_ERROR_INVALID_NODE</p></td>
|
1098
|
+
<td class="enum_member_description">
|
1099
|
+
<p>No valid node found at the current position</p>
|
888
1100
|
</td>
|
1101
|
+
<td class="enum_member_annotations"> </td>
|
889
1102
|
</tr>
|
890
1103
|
<tr>
|
891
|
-
<td><p><a name="JSON-READER-ERROR-NO-VALUE:CAPS"></a
|
892
|
-
<td>
|
893
|
-
|
1104
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-NO-VALUE:CAPS"></a>JSON_READER_ERROR_NO_VALUE</p></td>
|
1105
|
+
<td class="enum_member_description">
|
1106
|
+
<p>The node at the current position does not
|
1107
|
+
hold a value</p>
|
894
1108
|
</td>
|
1109
|
+
<td class="enum_member_annotations"> </td>
|
895
1110
|
</tr>
|
896
1111
|
<tr>
|
897
|
-
<td><p><a name="JSON-READER-ERROR-INVALID-TYPE:CAPS"></a
|
898
|
-
<td>
|
899
|
-
|
1112
|
+
<td class="enum_member_name"><p><a name="JSON-READER-ERROR-INVALID-TYPE:CAPS"></a>JSON_READER_ERROR_INVALID_TYPE</p></td>
|
1113
|
+
<td class="enum_member_description">
|
1114
|
+
<p>The node at the current position does not
|
1115
|
+
hold a value of the desired type</p>
|
900
1116
|
</td>
|
1117
|
+
<td class="enum_member_annotations"> </td>
|
901
1118
|
</tr>
|
902
1119
|
</tbody>
|
903
1120
|
</table></div>
|
904
|
-
<p class="since">Since 0.12</p>
|
905
1121
|
</div>
|
906
|
-
<hr>
|
907
|
-
<div class="refsect2">
|
908
|
-
<a name="JSON-READER-ERROR:CAPS"></a><h3>JSON_READER_ERROR</h3>
|
909
|
-
<pre class="programlisting">#define JSON_READER_ERROR (json_reader_error_quark ())
|
910
|
-
</pre>
|
911
|
-
<p>
|
912
|
-
Error domain for <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> errors
|
913
|
-
</p>
|
914
|
-
<p class="since">Since 0.12</p>
|
915
|
-
</div>
|
916
|
-
<hr>
|
917
|
-
<div class="refsect2">
|
918
|
-
<a name="json-reader-get-error"></a><h3>json_reader_get_error ()</h3>
|
919
|
-
<pre class="programlisting">const <span class="returnvalue">GError</span> * json_reader_get_error (<em class="parameter"><code><a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> *reader</code></em>);</pre>
|
920
|
-
<p>
|
921
|
-
Retrieves the <span class="type">GError</span> currently set on <em class="parameter"><code>reader</code></em>, if the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
922
|
-
is in error state
|
923
|
-
</p>
|
924
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
925
|
-
<colgroup>
|
926
|
-
<col align="left" valign="top">
|
927
|
-
<col>
|
928
|
-
</colgroup>
|
929
|
-
<tbody>
|
930
|
-
<tr>
|
931
|
-
<td><p><span class="term"><em class="parameter"><code>reader</code></em> :</span></p></td>
|
932
|
-
<td>a <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a>
|
933
|
-
</td>
|
934
|
-
</tr>
|
935
|
-
<tr>
|
936
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
937
|
-
<td>the pointer to the error, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
938
|
-
</td>
|
939
|
-
</tr>
|
940
|
-
</tbody>
|
941
|
-
</table></div>
|
942
1122
|
<p class="since">Since 0.12</p>
|
943
1123
|
</div>
|
944
1124
|
</div>
|
945
1125
|
<div class="refsect1">
|
946
1126
|
<a name="JsonReader.property-details"></a><h2>Property Details</h2>
|
947
1127
|
<div class="refsect2">
|
948
|
-
<a name="JsonReader--root"></a><h3>The <code class="literal"
|
949
|
-
<pre class="programlisting">
|
950
|
-
<p>
|
951
|
-
|
952
|
-
</p>
|
1128
|
+
<a name="JsonReader--root"></a><h3>The <code class="literal">“root”</code> property</h3>
|
1129
|
+
<pre class="programlisting"> “root” <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *</pre>
|
1130
|
+
<p>The root of the JSON tree that the <a class="link" href="JsonReader.html" title="JsonReader"><span class="type">JsonReader</span></a> should read.</p>
|
1131
|
+
<p>Flags: Read / Write / Construct</p>
|
953
1132
|
<p class="since">Since 0.12</p>
|
954
1133
|
</div>
|
955
1134
|
</div>
|
956
1135
|
</div>
|
957
1136
|
<div class="footer">
|
958
1137
|
<hr>
|
959
|
-
Generated by GTK-Doc V1.
|
1138
|
+
Generated by GTK-Doc V1.20.1</div>
|
960
1139
|
</body>
|
961
1140
|
</html>
|