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>JsonParser</title>
|
5
|
+
<title>JSON-GLib Reference Manual: JsonParser</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="ch02.html" title="Parser">
|
10
10
|
<link rel="next" href="JsonReader.html" title="JsonReader">
|
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="#JsonParser.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
|
|
30
|
-
<a href="#JsonParser.signals" class="shortcut">Signals</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="#JsonParser.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#JsonParser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span>
|
20
|
+
<a href="#JsonParser.signals" class="shortcut">Signals</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="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
25
|
+
<td><a accesskey="n" href="JsonReader.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="JsonParser"></a><div class="titlepage"></div>
|
35
29
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -37,571 +31,557 @@
|
|
37
31
|
<h2><span class="refentrytitle"><a name="JsonParser.top_of_page"></a>JsonParser</span></h2>
|
38
32
|
<p>JsonParser — Parse JSON data streams</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="JsonParser.synopsis"></a><h2>Synopsis</h2>
|
44
|
-
<pre class="synopsis">enum <a class="link" href="JsonParser.html#JsonParserError" title="enum JsonParserError">JsonParserError</a>;
|
45
|
-
|
46
|
-
struct <a class="link" href="JsonParser.html#JsonParser-struct" title="struct JsonParser">JsonParser</a>;
|
47
|
-
struct <a class="link" href="JsonParser.html#JsonParserClass" title="struct JsonParserClass">JsonParserClass</a>;
|
48
|
-
<a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> * <a class="link" href="JsonParser.html#json-parser-new" title="json_parser_new ()">json_parser_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
49
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonParser.html#json-parser-load-from-file" title="json_parser_load_from_file ()">json_parser_load_from_file</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
50
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
51
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
52
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()">json_parser_load_from_data</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
53
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
56
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()">json_parser_load_from_stream</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
57
|
-
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
60
|
-
<span class="returnvalue">void</span> <a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()">json_parser_load_from_stream_async</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
61
|
-
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
62
|
-
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
63
|
-
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
64
|
-
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
|
65
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()">json_parser_load_from_stream_finish</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
66
|
-
<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
|
67
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
68
|
-
|
69
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> * <a class="link" href="JsonParser.html#json-parser-get-root" title="json_parser_get_root ()">json_parser_get_root</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);
|
70
|
-
|
71
|
-
<span class="returnvalue">guint</span> <a class="link" href="JsonParser.html#json-parser-get-current-line" title="json_parser_get_current_line ()">json_parser_get_current_line</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);
|
72
|
-
<span class="returnvalue">guint</span> <a class="link" href="JsonParser.html#json-parser-get-current-pos" title="json_parser_get_current_pos ()">json_parser_get_current_pos</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);
|
73
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="JsonParser.html#json-parser-has-assignment" title="json_parser_has_assignment ()">json_parser_has_assignment</a> (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
74
|
-
<em class="parameter"><code><span class="type">gchar</span> **variable_name</code></em>);
|
75
|
-
</pre>
|
76
|
-
</div>
|
77
|
-
<div class="refsect1">
|
78
|
-
<a name="JsonParser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
79
|
-
<pre class="synopsis">
|
80
|
-
GObject
|
81
|
-
+----JsonParser
|
82
|
-
</pre>
|
83
|
-
</div>
|
84
|
-
<div class="refsect1">
|
85
|
-
<a name="JsonParser.signals"></a><h2>Signals</h2>
|
86
|
-
<pre class="synopsis">
|
87
|
-
"<a class="link" href="JsonParser.html#JsonParser-array-element" title='The "array-element" signal'>array-element</a>" : <code class="literal">Run Last</code>
|
88
|
-
"<a class="link" href="JsonParser.html#JsonParser-array-end" title='The "array-end" signal'>array-end</a>" : <code class="literal">Run Last</code>
|
89
|
-
"<a class="link" href="JsonParser.html#JsonParser-array-start" title='The "array-start" signal'>array-start</a>" : <code class="literal">Run Last</code>
|
90
|
-
"<a class="link" href="JsonParser.html#JsonParser-error" title='The "error" signal'>error</a>" : <code class="literal">Run Last</code>
|
91
|
-
"<a class="link" href="JsonParser.html#JsonParser-object-end" title='The "object-end" signal'>object-end</a>" : <code class="literal">Run Last</code>
|
92
|
-
"<a class="link" href="JsonParser.html#JsonParser-object-member" title='The "object-member" signal'>object-member</a>" : <code class="literal">Run Last</code>
|
93
|
-
"<a class="link" href="JsonParser.html#JsonParser-object-start" title='The "object-start" signal'>object-start</a>" : <code class="literal">Run Last</code>
|
94
|
-
"<a class="link" href="JsonParser.html#JsonParser-parse-end" title='The "parse-end" signal'>parse-end</a>" : <code class="literal">Run Last</code>
|
95
|
-
"<a class="link" href="JsonParser.html#JsonParser-parse-start" title='The "parse-start" signal'>parse-start</a>" : <code class="literal">Run Last</code>
|
96
|
-
</pre>
|
97
|
-
</div>
|
98
36
|
<div class="refsect1">
|
99
|
-
<a name="JsonParser.
|
100
|
-
<
|
101
|
-
<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> provides an object for parsing a JSON data stream, either
|
102
|
-
inside a file or inside a static buffer.
|
103
|
-
</p>
|
104
|
-
</div>
|
105
|
-
<div class="refsect1">
|
106
|
-
<a name="JsonParser.details"></a><h2>Details</h2>
|
107
|
-
<div class="refsect2">
|
108
|
-
<a name="JsonParserError"></a><h3>enum JsonParserError</h3>
|
109
|
-
<pre class="programlisting">typedef enum {
|
110
|
-
JSON_PARSER_ERROR_PARSE,
|
111
|
-
JSON_PARSER_ERROR_TRAILING_COMMA,
|
112
|
-
JSON_PARSER_ERROR_MISSING_COMMA,
|
113
|
-
JSON_PARSER_ERROR_MISSING_COLON,
|
114
|
-
JSON_PARSER_ERROR_INVALID_BAREWORD,
|
115
|
-
JSON_PARSER_ERROR_EMPTY_MEMBER_NAME,
|
116
|
-
|
117
|
-
JSON_PARSER_ERROR_UNKNOWN
|
118
|
-
} JsonParserError;
|
119
|
-
</pre>
|
120
|
-
<p>
|
121
|
-
Error enumeration for <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
122
|
-
</p>
|
123
|
-
<p>
|
124
|
-
This enumeration can be extended at later date
|
125
|
-
</p>
|
126
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
37
|
+
<a name="JsonParser.functions"></a><h2>Functions</h2>
|
38
|
+
<div class="informaltable"><table width="100%" border="0">
|
127
39
|
<colgroup>
|
128
|
-
<col
|
129
|
-
<col>
|
40
|
+
<col width="150px" class="functions_return">
|
41
|
+
<col class="functions_name">
|
130
42
|
</colgroup>
|
131
43
|
<tbody>
|
132
44
|
<tr>
|
133
|
-
<td
|
134
|
-
<
|
45
|
+
<td class="function_type">
|
46
|
+
<a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
|
47
|
+
</td>
|
48
|
+
<td class="function_name">
|
49
|
+
<a class="link" href="JsonParser.html#json-parser-new" title="json_parser_new ()">json_parser_new</a> <span class="c_punctuation">()</span>
|
135
50
|
</td>
|
136
51
|
</tr>
|
137
52
|
<tr>
|
138
|
-
<td
|
139
|
-
<
|
53
|
+
<td class="function_type">
|
54
|
+
<span class="returnvalue">gboolean</span>
|
55
|
+
</td>
|
56
|
+
<td class="function_name">
|
57
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-file" title="json_parser_load_from_file ()">json_parser_load_from_file</a> <span class="c_punctuation">()</span>
|
140
58
|
</td>
|
141
59
|
</tr>
|
142
60
|
<tr>
|
143
|
-
<td
|
144
|
-
<
|
61
|
+
<td class="function_type">
|
62
|
+
<span class="returnvalue">gboolean</span>
|
63
|
+
</td>
|
64
|
+
<td class="function_name">
|
65
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()">json_parser_load_from_data</a> <span class="c_punctuation">()</span>
|
145
66
|
</td>
|
146
67
|
</tr>
|
147
68
|
<tr>
|
148
|
-
<td
|
149
|
-
<
|
69
|
+
<td class="function_type">
|
70
|
+
<span class="returnvalue">gboolean</span>
|
71
|
+
</td>
|
72
|
+
<td class="function_name">
|
73
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()">json_parser_load_from_stream</a> <span class="c_punctuation">()</span>
|
150
74
|
</td>
|
151
75
|
</tr>
|
152
76
|
<tr>
|
153
|
-
<td
|
154
|
-
<
|
77
|
+
<td class="function_type">
|
78
|
+
<span class="returnvalue">void</span>
|
79
|
+
</td>
|
80
|
+
<td class="function_name">
|
81
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()">json_parser_load_from_stream_async</a> <span class="c_punctuation">()</span>
|
155
82
|
</td>
|
156
83
|
</tr>
|
157
84
|
<tr>
|
158
|
-
<td
|
159
|
-
<
|
85
|
+
<td class="function_type">
|
86
|
+
<span class="returnvalue">gboolean</span>
|
87
|
+
</td>
|
88
|
+
<td class="function_name">
|
89
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()">json_parser_load_from_stream_finish</a> <span class="c_punctuation">()</span>
|
160
90
|
</td>
|
161
91
|
</tr>
|
162
92
|
<tr>
|
163
|
-
<td
|
164
|
-
<
|
93
|
+
<td class="function_type">
|
94
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
95
|
+
</td>
|
96
|
+
<td class="function_name">
|
97
|
+
<a class="link" href="JsonParser.html#json-parser-get-root" title="json_parser_get_root ()">json_parser_get_root</a> <span class="c_punctuation">()</span>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td class="function_type">
|
102
|
+
<span class="returnvalue">guint</span>
|
103
|
+
</td>
|
104
|
+
<td class="function_name">
|
105
|
+
<a class="link" href="JsonParser.html#json-parser-get-current-line" title="json_parser_get_current_line ()">json_parser_get_current_line</a> <span class="c_punctuation">()</span>
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr>
|
109
|
+
<td class="function_type">
|
110
|
+
<span class="returnvalue">guint</span>
|
111
|
+
</td>
|
112
|
+
<td class="function_name">
|
113
|
+
<a class="link" href="JsonParser.html#json-parser-get-current-pos" title="json_parser_get_current_pos ()">json_parser_get_current_pos</a> <span class="c_punctuation">()</span>
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr>
|
117
|
+
<td class="function_type">
|
118
|
+
<span class="returnvalue">gboolean</span>
|
119
|
+
</td>
|
120
|
+
<td class="function_name">
|
121
|
+
<a class="link" href="JsonParser.html#json-parser-has-assignment" title="json_parser_has_assignment ()">json_parser_has_assignment</a> <span class="c_punctuation">()</span>
|
165
122
|
</td>
|
166
123
|
</tr>
|
167
124
|
</tbody>
|
168
125
|
</table></div>
|
169
126
|
</div>
|
170
|
-
<
|
171
|
-
<
|
172
|
-
<
|
173
|
-
<pre class="programlisting">struct JsonParser;</pre>
|
174
|
-
<p>
|
175
|
-
JSON data streams parser. The contents of the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> structure are
|
176
|
-
private and should only be accessed via the provided API.
|
177
|
-
</p>
|
178
|
-
</div>
|
179
|
-
<hr>
|
180
|
-
<div class="refsect2">
|
181
|
-
<a name="JsonParserClass"></a><h3>struct JsonParserClass</h3>
|
182
|
-
<pre class="programlisting">struct JsonParserClass {
|
183
|
-
void (* parse_start) (JsonParser *parser);
|
184
|
-
|
185
|
-
void (* object_start) (JsonParser *parser);
|
186
|
-
void (* object_member) (JsonParser *parser,
|
187
|
-
JsonObject *object,
|
188
|
-
const gchar *member_name);
|
189
|
-
void (* object_end) (JsonParser *parser,
|
190
|
-
JsonObject *object);
|
191
|
-
|
192
|
-
void (* array_start) (JsonParser *parser);
|
193
|
-
void (* array_element) (JsonParser *parser,
|
194
|
-
JsonArray *array,
|
195
|
-
gint index_);
|
196
|
-
void (* array_end) (JsonParser *parser,
|
197
|
-
JsonArray *array);
|
198
|
-
|
199
|
-
void (* parse_end) (JsonParser *parser);
|
200
|
-
|
201
|
-
void (* error) (JsonParser *parser,
|
202
|
-
const GError *error);
|
203
|
-
};
|
204
|
-
</pre>
|
205
|
-
<p>
|
206
|
-
<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> class.
|
207
|
-
</p>
|
208
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
127
|
+
<div class="refsect1">
|
128
|
+
<a name="JsonParser.signals"></a><h2>Signals</h2>
|
129
|
+
<div class="informaltable"><table border="0">
|
209
130
|
<colgroup>
|
210
|
-
<col
|
211
|
-
<col>
|
131
|
+
<col width="150px" class="signals_return">
|
132
|
+
<col width="300px" class="signals_name">
|
133
|
+
<col width="200px" class="signals_flags">
|
212
134
|
</colgroup>
|
213
135
|
<tbody>
|
214
136
|
<tr>
|
215
|
-
<td
|
216
|
-
<td
|
137
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
138
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-element" title="The “array-element” signal">array-element</a></td>
|
139
|
+
<td class="signal_flags">Run Last</td>
|
217
140
|
</tr>
|
218
141
|
<tr>
|
219
|
-
<td
|
220
|
-
<td
|
142
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
143
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-end" title="The “array-end” signal">array-end</a></td>
|
144
|
+
<td class="signal_flags">Run Last</td>
|
221
145
|
</tr>
|
222
146
|
<tr>
|
223
|
-
<td
|
224
|
-
<td
|
147
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
148
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-array-start" title="The “array-start” signal">array-start</a></td>
|
149
|
+
<td class="signal_flags">Run Last</td>
|
225
150
|
</tr>
|
226
151
|
<tr>
|
227
|
-
<td
|
228
|
-
<td
|
152
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
153
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-error" title="The “error” signal">error</a></td>
|
154
|
+
<td class="signal_flags">Run Last</td>
|
229
155
|
</tr>
|
230
156
|
<tr>
|
231
|
-
<td
|
232
|
-
<td
|
157
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
158
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-end" title="The “object-end” signal">object-end</a></td>
|
159
|
+
<td class="signal_flags">Run Last</td>
|
233
160
|
</tr>
|
234
161
|
<tr>
|
235
|
-
<td
|
236
|
-
<td
|
162
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
163
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-member" title="The “object-member” signal">object-member</a></td>
|
164
|
+
<td class="signal_flags">Run Last</td>
|
237
165
|
</tr>
|
238
166
|
<tr>
|
239
|
-
<td
|
240
|
-
<td
|
167
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
168
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-object-start" title="The “object-start” signal">object-start</a></td>
|
169
|
+
<td class="signal_flags">Run Last</td>
|
241
170
|
</tr>
|
242
171
|
<tr>
|
243
|
-
<td
|
244
|
-
<td
|
172
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
173
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-end" title="The “parse-end” signal">parse-end</a></td>
|
174
|
+
<td class="signal_flags">Run Last</td>
|
245
175
|
</tr>
|
246
176
|
<tr>
|
247
|
-
<td
|
248
|
-
<td
|
177
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
178
|
+
<td class="signal_name"><a class="link" href="JsonParser.html#JsonParser-parse-start" title="The “parse-start” signal">parse-start</a></td>
|
179
|
+
<td class="signal_flags">Run Last</td>
|
249
180
|
</tr>
|
250
181
|
</tbody>
|
251
182
|
</table></div>
|
252
183
|
</div>
|
253
|
-
<
|
254
|
-
<
|
255
|
-
<
|
256
|
-
<pre class="programlisting"><a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> * json_parser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
257
|
-
<p>
|
258
|
-
Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> instance. You can use the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> to
|
259
|
-
load a JSON stream from either a file or a buffer and then walk the
|
260
|
-
hierarchy using the data types API.
|
261
|
-
</p>
|
262
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
184
|
+
<div class="refsect1">
|
185
|
+
<a name="JsonParser.other"></a><h2>Types and Values</h2>
|
186
|
+
<div class="informaltable"><table width="100%" border="0">
|
263
187
|
<colgroup>
|
264
|
-
<col
|
265
|
-
<col>
|
188
|
+
<col width="150px" class="name">
|
189
|
+
<col class="description">
|
266
190
|
</colgroup>
|
267
|
-
<tbody
|
268
|
-
<
|
269
|
-
<td
|
270
|
-
|
271
|
-
</tr
|
191
|
+
<tbody>
|
192
|
+
<tr>
|
193
|
+
<td class="datatype_keyword">enum</td>
|
194
|
+
<td class="function_name"><a class="link" href="JsonParser.html#JsonParserError" title="enum JsonParserError">JsonParserError</a></td>
|
195
|
+
</tr>
|
196
|
+
<tr>
|
197
|
+
<td class="datatype_keyword">struct</td>
|
198
|
+
<td class="function_name"><a class="link" href="JsonParser.html#JsonParser-struct" title="struct JsonParser">JsonParser</a></td>
|
199
|
+
</tr>
|
200
|
+
<tr>
|
201
|
+
<td class="datatype_keyword">struct</td>
|
202
|
+
<td class="function_name"><a class="link" href="JsonParser.html#JsonParserClass" title="struct JsonParserClass">JsonParserClass</a></td>
|
203
|
+
</tr>
|
204
|
+
</tbody>
|
272
205
|
</table></div>
|
273
206
|
</div>
|
207
|
+
<div class="refsect1">
|
208
|
+
<a name="JsonParser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
209
|
+
<pre class="screen"> GObject
|
210
|
+
<span class="lineart">╰──</span> JsonParser
|
211
|
+
</pre>
|
212
|
+
</div>
|
213
|
+
<div class="refsect1">
|
214
|
+
<a name="JsonParser.description"></a><h2>Description</h2>
|
215
|
+
<p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> provides an object for parsing a JSON data stream, either
|
216
|
+
inside a file or inside a static buffer.</p>
|
217
|
+
</div>
|
218
|
+
<div class="refsect1">
|
219
|
+
<a name="JsonParser.functions_details"></a><h2>Functions</h2>
|
220
|
+
<div class="refsect2">
|
221
|
+
<a name="json-parser-new"></a><h3>json_parser_new ()</h3>
|
222
|
+
<pre class="programlisting"><a class="link" href="JsonParser.html" title="JsonParser"><span class="returnvalue">JsonParser</span></a> *
|
223
|
+
json_parser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
224
|
+
<p>Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> instance. You can use the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> to
|
225
|
+
load a JSON stream from either a file or a buffer and then walk the
|
226
|
+
hierarchy using the data types API.</p>
|
227
|
+
<div class="refsect3">
|
228
|
+
<a name="id-1.4.3.2.8.2.5"></a><h4>Returns</h4>
|
229
|
+
<p> the newly created <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. Use <code class="function">g_object_unref()</code>
|
230
|
+
to release all the memory it allocates.</p>
|
231
|
+
<p></p>
|
232
|
+
</div>
|
233
|
+
</div>
|
274
234
|
<hr>
|
275
235
|
<div class="refsect2">
|
276
|
-
<a name="json-parser-load-from-file"></a><h3>json_parser_load_from_file
|
277
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
278
|
-
|
279
|
-
|
280
|
-
<
|
281
|
-
Loads a JSON stream from the content of <em class="parameter"><code>filename</code></em>
|
282
|
-
|
283
|
-
</p>
|
284
|
-
<div class="
|
236
|
+
<a name="json-parser-load-from-file"></a><h3>json_parser_load_from_file ()</h3>
|
237
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
238
|
+
json_parser_load_from_file (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
239
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
|
240
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
241
|
+
<p>Loads a JSON stream from the content of <em class="parameter"><code>filename</code></em>
|
242
|
+
and parses it. See
|
243
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()"><code class="function">json_parser_load_from_data()</code></a>.</p>
|
244
|
+
<div class="refsect3">
|
245
|
+
<a name="id-1.4.3.2.8.3.5"></a><h4>Parameters</h4>
|
246
|
+
<div class="informaltable"><table width="100%" border="0">
|
285
247
|
<colgroup>
|
286
|
-
<col
|
287
|
-
<col>
|
248
|
+
<col width="150px" class="parameters_name">
|
249
|
+
<col class="parameters_description">
|
250
|
+
<col width="200px" class="parameters_annotations">
|
288
251
|
</colgroup>
|
289
252
|
<tbody>
|
290
253
|
<tr>
|
291
|
-
<td
|
292
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
293
|
-
</td>
|
294
|
-
</tr>
|
295
|
-
<tr>
|
296
|
-
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
297
|
-
<td>the path for the file to parse</td>
|
254
|
+
<td class="parameter_name"><p>parser</p></td>
|
255
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
256
|
+
<td class="parameter_annotations"> </td>
|
298
257
|
</tr>
|
299
258
|
<tr>
|
300
|
-
<td
|
301
|
-
<td
|
302
|
-
</td>
|
259
|
+
<td class="parameter_name"><p>filename</p></td>
|
260
|
+
<td class="parameter_description"><p>the path for the file to parse</p></td>
|
261
|
+
<td class="parameter_annotations"> </td>
|
303
262
|
</tr>
|
304
263
|
<tr>
|
305
|
-
<td
|
306
|
-
<td>
|
307
|
-
<
|
308
|
-
In case of error, <em class="parameter"><code>error</code></em> is set accordingly and <code class="literal">FALSE</code> is returned</td>
|
264
|
+
<td class="parameter_name"><p>error</p></td>
|
265
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
266
|
+
<td class="parameter_annotations"> </td>
|
309
267
|
</tr>
|
310
268
|
</tbody>
|
311
269
|
</table></div>
|
312
270
|
</div>
|
271
|
+
<div class="refsect3">
|
272
|
+
<a name="id-1.4.3.2.8.3.6"></a><h4>Returns</h4>
|
273
|
+
<p> <code class="literal">TRUE</code> if the file was successfully loaded and parsed.
|
274
|
+
In case of error, <em class="parameter"><code>error</code></em>
|
275
|
+
is set accordingly and <code class="literal">FALSE</code> is returned</p>
|
276
|
+
<p></p>
|
277
|
+
</div>
|
278
|
+
</div>
|
313
279
|
<hr>
|
314
280
|
<div class="refsect2">
|
315
|
-
<a name="json-parser-load-from-data"></a><h3>json_parser_load_from_data
|
316
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
<
|
321
|
-
Loads a JSON stream from a buffer and parses it. You can call this function
|
281
|
+
<a name="json-parser-load-from-data"></a><h3>json_parser_load_from_data ()</h3>
|
282
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
283
|
+
json_parser_load_from_data (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
284
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>,
|
285
|
+
<em class="parameter"><code><span class="type">gssize</span> length</code></em>,
|
286
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
287
|
+
<p>Loads a JSON stream from a buffer and parses it. You can call this function
|
322
288
|
multiple times with the same <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> object, but the contents of the
|
323
|
-
parser will be destroyed each time
|
324
|
-
|
325
|
-
<
|
289
|
+
parser will be destroyed each time.</p>
|
290
|
+
<div class="refsect3">
|
291
|
+
<a name="id-1.4.3.2.8.4.5"></a><h4>Parameters</h4>
|
292
|
+
<div class="informaltable"><table width="100%" border="0">
|
326
293
|
<colgroup>
|
327
|
-
<col
|
328
|
-
<col>
|
294
|
+
<col width="150px" class="parameters_name">
|
295
|
+
<col class="parameters_description">
|
296
|
+
<col width="200px" class="parameters_annotations">
|
329
297
|
</colgroup>
|
330
298
|
<tbody>
|
331
299
|
<tr>
|
332
|
-
<td
|
333
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
334
|
-
</td>
|
300
|
+
<td class="parameter_name"><p>parser</p></td>
|
301
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
302
|
+
<td class="parameter_annotations"> </td>
|
335
303
|
</tr>
|
336
304
|
<tr>
|
337
|
-
<td
|
338
|
-
<td>the buffer to parse</td>
|
305
|
+
<td class="parameter_name"><p>data</p></td>
|
306
|
+
<td class="parameter_description"><p>the buffer to parse</p></td>
|
307
|
+
<td class="parameter_annotations"> </td>
|
339
308
|
</tr>
|
340
309
|
<tr>
|
341
|
-
<td
|
342
|
-
<td>the length of the buffer, or -1</td>
|
343
|
-
</
|
344
|
-
<tr>
|
345
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
346
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
347
|
-
</td>
|
310
|
+
<td class="parameter_name"><p>length</p></td>
|
311
|
+
<td class="parameter_description"><p>the length of the buffer, or -1</p></td>
|
312
|
+
<td class="parameter_annotations"> </td>
|
348
313
|
</tr>
|
349
314
|
<tr>
|
350
|
-
<td
|
351
|
-
<td>
|
352
|
-
<
|
353
|
-
of error, <em class="parameter"><code>error</code></em> is set accordingly and <code class="literal">FALSE</code> is returned</td>
|
315
|
+
<td class="parameter_name"><p>error</p></td>
|
316
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
317
|
+
<td class="parameter_annotations"> </td>
|
354
318
|
</tr>
|
355
319
|
</tbody>
|
356
320
|
</table></div>
|
357
321
|
</div>
|
322
|
+
<div class="refsect3">
|
323
|
+
<a name="id-1.4.3.2.8.4.6"></a><h4>Returns</h4>
|
324
|
+
<p> <code class="literal">TRUE</code> if the buffer was succesfully parser. In case
|
325
|
+
of error, <em class="parameter"><code>error</code></em>
|
326
|
+
is set accordingly and <code class="literal">FALSE</code> is returned</p>
|
327
|
+
<p></p>
|
328
|
+
</div>
|
329
|
+
</div>
|
358
330
|
<hr>
|
359
331
|
<div class="refsect2">
|
360
|
-
<a name="json-parser-load-from-stream"></a><h3>json_parser_load_from_stream
|
361
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
<
|
366
|
-
Loads the contents of an input stream and parses them
|
367
|
-
|
368
|
-
<
|
369
|
-
|
370
|
-
|
332
|
+
<a name="json-parser-load-from-stream"></a><h3>json_parser_load_from_stream ()</h3>
|
333
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
334
|
+
json_parser_load_from_stream (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
335
|
+
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
336
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
337
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
338
|
+
<p>Loads the contents of an input stream and parses them.</p>
|
339
|
+
<p>If <em class="parameter"><code>cancellable</code></em>
|
340
|
+
is not <code class="literal">NULL</code>, then the operation can be cancelled by
|
341
|
+
triggering the <em class="parameter"><code>cancellable</code></em>
|
342
|
+
object from another thread. If the
|
371
343
|
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be set
|
372
|
-
on the passed <em class="parameter"><code>error</code></em
|
373
|
-
|
374
|
-
<div class="
|
344
|
+
on the passed <em class="parameter"><code>error</code></em>
|
345
|
+
.</p>
|
346
|
+
<div class="refsect3">
|
347
|
+
<a name="id-1.4.3.2.8.5.6"></a><h4>Parameters</h4>
|
348
|
+
<div class="informaltable"><table width="100%" border="0">
|
375
349
|
<colgroup>
|
376
|
-
<col
|
377
|
-
<col>
|
350
|
+
<col width="150px" class="parameters_name">
|
351
|
+
<col class="parameters_description">
|
352
|
+
<col width="200px" class="parameters_annotations">
|
378
353
|
</colgroup>
|
379
354
|
<tbody>
|
380
355
|
<tr>
|
381
|
-
<td
|
382
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
383
|
-
</td>
|
356
|
+
<td class="parameter_name"><p>parser</p></td>
|
357
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
358
|
+
<td class="parameter_annotations"> </td>
|
384
359
|
</tr>
|
385
360
|
<tr>
|
386
|
-
<td
|
387
|
-
<td>an open <span class="type">GInputStream</span>
|
388
|
-
</td>
|
361
|
+
<td class="parameter_name"><p>stream</p></td>
|
362
|
+
<td class="parameter_description"><p>an open <span class="type">GInputStream</span></p></td>
|
363
|
+
<td class="parameter_annotations"> </td>
|
389
364
|
</tr>
|
390
365
|
<tr>
|
391
|
-
<td
|
392
|
-
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>.
|
393
|
-
</td>
|
394
|
-
</tr>
|
395
|
-
<tr>
|
396
|
-
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
397
|
-
<td>the return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
398
|
-
</td>
|
366
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
367
|
+
<td class="parameter_description"><p> a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. </p></td>
|
368
|
+
<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>
|
399
369
|
</tr>
|
400
370
|
<tr>
|
401
|
-
<td
|
402
|
-
<td>
|
403
|
-
<
|
404
|
-
parsed, and <code class="literal">FALSE</code> otherwise</td>
|
371
|
+
<td class="parameter_name"><p>error</p></td>
|
372
|
+
<td class="parameter_description"><p>the return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
373
|
+
<td class="parameter_annotations"> </td>
|
405
374
|
</tr>
|
406
375
|
</tbody>
|
407
376
|
</table></div>
|
377
|
+
</div>
|
378
|
+
<div class="refsect3">
|
379
|
+
<a name="id-1.4.3.2.8.5.7"></a><h4>Returns</h4>
|
380
|
+
<p> <code class="literal">TRUE</code> if the data stream was successfully read and
|
381
|
+
parsed, and <code class="literal">FALSE</code> otherwise</p>
|
382
|
+
<p></p>
|
383
|
+
</div>
|
408
384
|
<p class="since">Since 0.12</p>
|
409
385
|
</div>
|
410
386
|
<hr>
|
411
387
|
<div class="refsect2">
|
412
|
-
<a name="json-parser-load-from-stream-async"></a><h3>json_parser_load_from_stream_async
|
413
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
<
|
419
|
-
Asynchronously reads the contents of <em class="parameter"><code>stream</code></em
|
420
|
-
|
421
|
-
<p>
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
<
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
388
|
+
<a name="json-parser-load-from-stream-async"></a><h3>json_parser_load_from_stream_async ()</h3>
|
389
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
390
|
+
json_parser_load_from_stream_async (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
391
|
+
<em class="parameter"><code><span class="type">GInputStream</span> *stream</code></em>,
|
392
|
+
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
|
393
|
+
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
|
394
|
+
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
|
395
|
+
<p>Asynchronously reads the contents of <em class="parameter"><code>stream</code></em>
|
396
|
+
.</p>
|
397
|
+
<p>For more details, see <a class="link" href="JsonParser.html#json-parser-load-from-stream" title="json_parser_load_from_stream ()"><code class="function">json_parser_load_from_stream()</code></a> which is the
|
398
|
+
synchronous version of this call.</p>
|
399
|
+
<p>When the operation is finished, <em class="parameter"><code>callback</code></em>
|
400
|
+
will be called. You should
|
401
|
+
then call <a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()"><code class="function">json_parser_load_from_stream_finish()</code></a> to get the result
|
402
|
+
of the operation.</p>
|
403
|
+
<div class="refsect3">
|
404
|
+
<a name="id-1.4.3.2.8.6.7"></a><h4>Parameters</h4>
|
405
|
+
<div class="informaltable"><table width="100%" border="0">
|
431
406
|
<colgroup>
|
432
|
-
<col
|
433
|
-
<col>
|
407
|
+
<col width="150px" class="parameters_name">
|
408
|
+
<col class="parameters_description">
|
409
|
+
<col width="200px" class="parameters_annotations">
|
434
410
|
</colgroup>
|
435
411
|
<tbody>
|
436
412
|
<tr>
|
437
|
-
<td
|
438
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
439
|
-
</td>
|
413
|
+
<td class="parameter_name"><p>parser</p></td>
|
414
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
415
|
+
<td class="parameter_annotations"> </td>
|
440
416
|
</tr>
|
441
417
|
<tr>
|
442
|
-
<td
|
443
|
-
<td>a <span class="type">GInputStream</span>
|
444
|
-
</td>
|
418
|
+
<td class="parameter_name"><p>stream</p></td>
|
419
|
+
<td class="parameter_description"><p>a <span class="type">GInputStream</span></p></td>
|
420
|
+
<td class="parameter_annotations"> </td>
|
445
421
|
</tr>
|
446
422
|
<tr>
|
447
|
-
<td
|
448
|
-
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>.
|
449
|
-
</td>
|
423
|
+
<td class="parameter_name"><p>cancellable</p></td>
|
424
|
+
<td class="parameter_description"><p> a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. </p></td>
|
425
|
+
<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>
|
450
426
|
</tr>
|
451
427
|
<tr>
|
452
|
-
<td
|
453
|
-
<td>a <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied</td>
|
428
|
+
<td class="parameter_name"><p>callback</p></td>
|
429
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncReadyCallback</span> to call when the request is satisfied</p></td>
|
430
|
+
<td class="parameter_annotations"> </td>
|
454
431
|
</tr>
|
455
432
|
<tr>
|
456
|
-
<td
|
457
|
-
<td>the data to pass to <em class="parameter"><code>callback</code></em>
|
458
|
-
</td>
|
433
|
+
<td class="parameter_name"><p>user_data</p></td>
|
434
|
+
<td class="parameter_description"><p>the data to pass to <em class="parameter"><code>callback</code></em>
|
435
|
+
</p></td>
|
436
|
+
<td class="parameter_annotations"> </td>
|
459
437
|
</tr>
|
460
438
|
</tbody>
|
461
439
|
</table></div>
|
440
|
+
</div>
|
462
441
|
<p class="since">Since 0.12</p>
|
463
442
|
</div>
|
464
443
|
<hr>
|
465
444
|
<div class="refsect2">
|
466
|
-
<a name="json-parser-load-from-stream-finish"></a><h3>json_parser_load_from_stream_finish
|
467
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
468
|
-
|
469
|
-
|
470
|
-
<
|
471
|
-
Finishes an asynchronous stream loading started with
|
472
|
-
<a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async
|
473
|
-
|
474
|
-
<
|
445
|
+
<a name="json-parser-load-from-stream-finish"></a><h3>json_parser_load_from_stream_finish ()</h3>
|
446
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
447
|
+
json_parser_load_from_stream_finish (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
448
|
+
<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
|
449
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
450
|
+
<p>Finishes an asynchronous stream loading started with
|
451
|
+
<a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()"><code class="function">json_parser_load_from_stream_async()</code></a>.</p>
|
452
|
+
<div class="refsect3">
|
453
|
+
<a name="id-1.4.3.2.8.7.5"></a><h4>Parameters</h4>
|
454
|
+
<div class="informaltable"><table width="100%" border="0">
|
475
455
|
<colgroup>
|
476
|
-
<col
|
477
|
-
<col>
|
456
|
+
<col width="150px" class="parameters_name">
|
457
|
+
<col class="parameters_description">
|
458
|
+
<col width="200px" class="parameters_annotations">
|
478
459
|
</colgroup>
|
479
460
|
<tbody>
|
480
461
|
<tr>
|
481
|
-
<td
|
482
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
483
|
-
</td>
|
462
|
+
<td class="parameter_name"><p>parser</p></td>
|
463
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
464
|
+
<td class="parameter_annotations"> </td>
|
484
465
|
</tr>
|
485
466
|
<tr>
|
486
|
-
<td
|
487
|
-
<td>a <span class="type">GAsyncResult</span>
|
488
|
-
</td>
|
467
|
+
<td class="parameter_name"><p>result</p></td>
|
468
|
+
<td class="parameter_description"><p>a <span class="type">GAsyncResult</span></p></td>
|
469
|
+
<td class="parameter_annotations"> </td>
|
489
470
|
</tr>
|
490
471
|
<tr>
|
491
|
-
<td
|
492
|
-
<td>the return location for a <span class="type">GError</span> or <code class="literal">NULL</code>
|
493
|
-
</td>
|
494
|
-
</tr>
|
495
|
-
<tr>
|
496
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
497
|
-
<td>
|
498
|
-
<code class="literal">TRUE</code> if the content of the stream was successfully retrieves
|
499
|
-
and parsed, and <code class="literal">FALSE</code> otherwise. In case of error, the <span class="type">GError</span> will be
|
500
|
-
filled accordingly.</td>
|
472
|
+
<td class="parameter_name"><p>error</p></td>
|
473
|
+
<td class="parameter_description"><p>the return location for a <span class="type">GError</span> or <code class="literal">NULL</code></p></td>
|
474
|
+
<td class="parameter_annotations"> </td>
|
501
475
|
</tr>
|
502
476
|
</tbody>
|
503
477
|
</table></div>
|
478
|
+
</div>
|
479
|
+
<div class="refsect3">
|
480
|
+
<a name="id-1.4.3.2.8.7.6"></a><h4>Returns</h4>
|
481
|
+
<p> <code class="literal">TRUE</code> if the content of the stream was successfully retrieves
|
482
|
+
and parsed, and <code class="literal">FALSE</code> otherwise. In case of error, the <span class="type">GError</span> will be
|
483
|
+
filled accordingly.</p>
|
484
|
+
<p></p>
|
485
|
+
</div>
|
504
486
|
<p class="since">Since 0.12</p>
|
505
487
|
</div>
|
506
488
|
<hr>
|
507
489
|
<div class="refsect2">
|
508
|
-
<a name="json-parser-get-root"></a><h3>json_parser_get_root
|
509
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
510
|
-
<
|
511
|
-
Retrieves the top level node from the parsed JSON stream
|
512
|
-
|
513
|
-
<
|
490
|
+
<a name="json-parser-get-root"></a><h3>json_parser_get_root ()</h3>
|
491
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
492
|
+
json_parser_get_root (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
|
493
|
+
<p>Retrieves the top level node from the parsed JSON stream.</p>
|
494
|
+
<div class="refsect3">
|
495
|
+
<a name="id-1.4.3.2.8.8.5"></a><h4>Parameters</h4>
|
496
|
+
<div class="informaltable"><table width="100%" border="0">
|
514
497
|
<colgroup>
|
515
|
-
<col
|
516
|
-
<col>
|
498
|
+
<col width="150px" class="parameters_name">
|
499
|
+
<col class="parameters_description">
|
500
|
+
<col width="200px" class="parameters_annotations">
|
517
501
|
</colgroup>
|
518
|
-
<tbody>
|
519
|
-
<
|
520
|
-
<td><p
|
521
|
-
<td
|
522
|
-
</
|
523
|
-
</tr>
|
524
|
-
<tr>
|
525
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
526
|
-
<td>the root <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> . The returned
|
527
|
-
node is owned by the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should never be modified
|
528
|
-
or freed. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
529
|
-
</td>
|
530
|
-
</tr>
|
531
|
-
</tbody>
|
502
|
+
<tbody><tr>
|
503
|
+
<td class="parameter_name"><p>parser</p></td>
|
504
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
505
|
+
<td class="parameter_annotations"> </td>
|
506
|
+
</tr></tbody>
|
532
507
|
</table></div>
|
533
508
|
</div>
|
509
|
+
<div class="refsect3">
|
510
|
+
<a name="id-1.4.3.2.8.8.6"></a><h4>Returns</h4>
|
511
|
+
<p> the root <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> . The returned
|
512
|
+
node is owned by the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should never be modified
|
513
|
+
or freed. </p>
|
514
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
515
|
+
</div>
|
516
|
+
</div>
|
534
517
|
<hr>
|
535
518
|
<div class="refsect2">
|
536
|
-
<a name="json-parser-get-current-line"></a><h3>json_parser_get_current_line
|
537
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
538
|
-
<
|
539
|
-
Retrieves the line currently parsed, starting from 1
|
540
|
-
|
541
|
-
<p>
|
542
|
-
This function has defined behaviour only while parsing; calling this
|
519
|
+
<a name="json-parser-get-current-line"></a><h3>json_parser_get_current_line ()</h3>
|
520
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
521
|
+
json_parser_get_current_line (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
|
522
|
+
<p>Retrieves the line currently parsed, starting from 1.</p>
|
523
|
+
<p>This function has defined behaviour only while parsing; calling this
|
543
524
|
function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
|
544
|
-
yield 0
|
545
|
-
|
546
|
-
<
|
525
|
+
yield 0.</p>
|
526
|
+
<div class="refsect3">
|
527
|
+
<a name="id-1.4.3.2.8.9.6"></a><h4>Parameters</h4>
|
528
|
+
<div class="informaltable"><table width="100%" border="0">
|
547
529
|
<colgroup>
|
548
|
-
<col
|
549
|
-
<col>
|
530
|
+
<col width="150px" class="parameters_name">
|
531
|
+
<col class="parameters_description">
|
532
|
+
<col width="200px" class="parameters_annotations">
|
550
533
|
</colgroup>
|
551
|
-
<tbody>
|
552
|
-
<
|
553
|
-
<td><p
|
554
|
-
<td
|
555
|
-
</
|
556
|
-
</tr>
|
557
|
-
<tr>
|
558
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
559
|
-
<td>the currently parsed line, or 0.</td>
|
560
|
-
</tr>
|
561
|
-
</tbody>
|
534
|
+
<tbody><tr>
|
535
|
+
<td class="parameter_name"><p>parser</p></td>
|
536
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
537
|
+
<td class="parameter_annotations"> </td>
|
538
|
+
</tr></tbody>
|
562
539
|
</table></div>
|
563
540
|
</div>
|
541
|
+
<div class="refsect3">
|
542
|
+
<a name="id-1.4.3.2.8.9.7"></a><h4>Returns</h4>
|
543
|
+
<p> the currently parsed line, or 0.</p>
|
544
|
+
<p></p>
|
545
|
+
</div>
|
546
|
+
</div>
|
564
547
|
<hr>
|
565
548
|
<div class="refsect2">
|
566
|
-
<a name="json-parser-get-current-pos"></a><h3>json_parser_get_current_pos
|
567
|
-
<pre class="programlisting"><span class="returnvalue">guint</span>
|
568
|
-
<
|
569
|
-
Retrieves the current position inside the current line, starting
|
570
|
-
from 0
|
571
|
-
|
572
|
-
<p>
|
573
|
-
This function has defined behaviour only while parsing; calling this
|
549
|
+
<a name="json-parser-get-current-pos"></a><h3>json_parser_get_current_pos ()</h3>
|
550
|
+
<pre class="programlisting"><span class="returnvalue">guint</span>
|
551
|
+
json_parser_get_current_pos (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>);</pre>
|
552
|
+
<p>Retrieves the current position inside the current line, starting
|
553
|
+
from 0.</p>
|
554
|
+
<p>This function has defined behaviour only while parsing; calling this
|
574
555
|
function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
|
575
|
-
yield 0
|
576
|
-
|
577
|
-
<
|
556
|
+
yield 0.</p>
|
557
|
+
<div class="refsect3">
|
558
|
+
<a name="id-1.4.3.2.8.10.6"></a><h4>Parameters</h4>
|
559
|
+
<div class="informaltable"><table width="100%" border="0">
|
578
560
|
<colgroup>
|
579
|
-
<col
|
580
|
-
<col>
|
561
|
+
<col width="150px" class="parameters_name">
|
562
|
+
<col class="parameters_description">
|
563
|
+
<col width="200px" class="parameters_annotations">
|
581
564
|
</colgroup>
|
582
|
-
<tbody>
|
583
|
-
<
|
584
|
-
<td><p
|
585
|
-
<td
|
586
|
-
</
|
587
|
-
</tr>
|
588
|
-
<tr>
|
589
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
590
|
-
<td>the position in the current line, or 0.</td>
|
591
|
-
</tr>
|
592
|
-
</tbody>
|
565
|
+
<tbody><tr>
|
566
|
+
<td class="parameter_name"><p>parser</p></td>
|
567
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
568
|
+
<td class="parameter_annotations"> </td>
|
569
|
+
</tr></tbody>
|
593
570
|
</table></div>
|
594
571
|
</div>
|
572
|
+
<div class="refsect3">
|
573
|
+
<a name="id-1.4.3.2.8.10.7"></a><h4>Returns</h4>
|
574
|
+
<p> the position in the current line, or 0.</p>
|
575
|
+
<p></p>
|
576
|
+
</div>
|
577
|
+
</div>
|
595
578
|
<hr>
|
596
579
|
<div class="refsect2">
|
597
|
-
<a name="json-parser-has-assignment"></a><h3>json_parser_has_assignment
|
598
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
599
|
-
|
600
|
-
<
|
601
|
-
A JSON data stream might sometimes contain an assignment, like
|
602
|
-
</p>
|
603
|
-
<p>
|
604
|
-
</p>
|
580
|
+
<a name="json-parser-has-assignment"></a><h3>json_parser_has_assignment ()</h3>
|
581
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
582
|
+
json_parser_has_assignment (<em class="parameter"><code><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser</code></em>,
|
583
|
+
<em class="parameter"><code><span class="type">gchar</span> **variable_name</code></em>);</pre>
|
584
|
+
<p>A JSON data stream might sometimes contain an assignment, like:</p>
|
605
585
|
<div class="informalexample">
|
606
586
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
607
587
|
<tbody>
|
@@ -613,328 +593,552 @@ A JSON data stream might sometimes contain an assignment, like:
|
|
613
593
|
</table>
|
614
594
|
</div>
|
615
595
|
|
616
|
-
<p>
|
617
|
-
|
618
|
-
<p>
|
619
|
-
even though it would technically constitute a violation of the RFC.
|
620
|
-
</p>
|
621
|
-
<p>
|
622
|
-
<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will ignore the left hand identifier and parse the right
|
596
|
+
<p></p>
|
597
|
+
<p>even though it would technically constitute a violation of the RFC.</p>
|
598
|
+
<p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will ignore the left hand identifier and parse the right
|
623
599
|
hand value of the assignment. <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will record, though, the
|
624
600
|
existence of the assignment in the data stream and the variable name
|
625
|
-
used
|
626
|
-
|
627
|
-
<
|
601
|
+
used.</p>
|
602
|
+
<div class="refsect3">
|
603
|
+
<a name="id-1.4.3.2.8.11.9"></a><h4>Parameters</h4>
|
604
|
+
<div class="informaltable"><table width="100%" border="0">
|
628
605
|
<colgroup>
|
629
|
-
<col
|
630
|
-
<col>
|
606
|
+
<col width="150px" class="parameters_name">
|
607
|
+
<col class="parameters_description">
|
608
|
+
<col width="200px" class="parameters_annotations">
|
631
609
|
</colgroup>
|
632
610
|
<tbody>
|
633
611
|
<tr>
|
634
|
-
<td
|
635
|
-
<td>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
612
|
+
<td class="parameter_name"><p>parser</p></td>
|
613
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p></td>
|
614
|
+
<td class="parameter_annotations"> </td>
|
615
|
+
</tr>
|
616
|
+
<tr>
|
617
|
+
<td class="parameter_name"><p>variable_name</p></td>
|
618
|
+
<td class="parameter_description"><p> Return location for the variable
|
619
|
+
name, or <code class="literal">NULL</code>. </p></td>
|
620
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
621
|
+
</tr>
|
622
|
+
</tbody>
|
623
|
+
</table></div>
|
624
|
+
</div>
|
625
|
+
<div class="refsect3">
|
626
|
+
<a name="id-1.4.3.2.8.11.10"></a><h4>Returns</h4>
|
627
|
+
<p> <code class="literal">TRUE</code> if there was an assignment, <code class="literal">FALSE</code> otherwise. If
|
628
|
+
<em class="parameter"><code>variable_name</code></em>
|
629
|
+
is not <code class="literal">NULL</code> it will be set to the name of the variable
|
630
|
+
used in the assignment. The string is owned by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should
|
631
|
+
never be modified or freed.</p>
|
632
|
+
<p></p>
|
633
|
+
</div>
|
634
|
+
<p class="since">Since 0.4</p>
|
635
|
+
</div>
|
636
|
+
</div>
|
637
|
+
<div class="refsect1">
|
638
|
+
<a name="JsonParser.other_details"></a><h2>Types and Values</h2>
|
639
|
+
<div class="refsect2">
|
640
|
+
<a name="JsonParserError"></a><h3>enum JsonParserError</h3>
|
641
|
+
<p>Error enumeration for <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a></p>
|
642
|
+
<p>This enumeration can be extended at later date</p>
|
643
|
+
<div class="refsect3">
|
644
|
+
<a name="id-1.4.3.2.9.2.5"></a><h4>Members</h4>
|
645
|
+
<div class="informaltable"><table width="100%" border="0">
|
646
|
+
<colgroup>
|
647
|
+
<col width="300px" class="enum_members_name">
|
648
|
+
<col class="enum_members_description">
|
649
|
+
<col width="200px" class="enum_members_annotations">
|
650
|
+
</colgroup>
|
651
|
+
<tbody>
|
652
|
+
<tr>
|
653
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-PARSE:CAPS"></a>JSON_PARSER_ERROR_PARSE</p></td>
|
654
|
+
<td class="enum_member_description">
|
655
|
+
<p>parse error</p>
|
636
656
|
</td>
|
657
|
+
<td class="enum_member_annotations"> </td>
|
637
658
|
</tr>
|
638
659
|
<tr>
|
639
|
-
<td
|
640
|
-
<td>
|
641
|
-
|
660
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-TRAILING-COMMA:CAPS"></a>JSON_PARSER_ERROR_TRAILING_COMMA</p></td>
|
661
|
+
<td class="enum_member_description">
|
662
|
+
<p>unexpected trailing comma</p>
|
642
663
|
</td>
|
664
|
+
<td class="enum_member_annotations"> </td>
|
643
665
|
</tr>
|
644
666
|
<tr>
|
645
|
-
<td
|
646
|
-
<td>
|
647
|
-
<
|
648
|
-
|
649
|
-
|
650
|
-
|
667
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-MISSING-COMMA:CAPS"></a>JSON_PARSER_ERROR_MISSING_COMMA</p></td>
|
668
|
+
<td class="enum_member_description">
|
669
|
+
<p>expected comma</p>
|
670
|
+
</td>
|
671
|
+
<td class="enum_member_annotations"> </td>
|
672
|
+
</tr>
|
673
|
+
<tr>
|
674
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-MISSING-COLON:CAPS"></a>JSON_PARSER_ERROR_MISSING_COLON</p></td>
|
675
|
+
<td class="enum_member_description">
|
676
|
+
<p>expected colon</p>
|
677
|
+
</td>
|
678
|
+
<td class="enum_member_annotations"> </td>
|
679
|
+
</tr>
|
680
|
+
<tr>
|
681
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-INVALID-BAREWORD:CAPS"></a>JSON_PARSER_ERROR_INVALID_BAREWORD</p></td>
|
682
|
+
<td class="enum_member_description">
|
683
|
+
<p>invalid bareword</p>
|
684
|
+
</td>
|
685
|
+
<td class="enum_member_annotations"> </td>
|
686
|
+
</tr>
|
687
|
+
<tr>
|
688
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-EMPTY-MEMBER-NAME:CAPS"></a>JSON_PARSER_ERROR_EMPTY_MEMBER_NAME</p></td>
|
689
|
+
<td class="enum_member_description">
|
690
|
+
<p>empty member name (Since: 0.16)</p>
|
691
|
+
</td>
|
692
|
+
<td class="enum_member_annotations"> </td>
|
693
|
+
</tr>
|
694
|
+
<tr>
|
695
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-INVALID-DATA:CAPS"></a>JSON_PARSER_ERROR_INVALID_DATA</p></td>
|
696
|
+
<td class="enum_member_description">
|
697
|
+
<p>invalid data (Since: 0.18)</p>
|
698
|
+
</td>
|
699
|
+
<td class="enum_member_annotations"> </td>
|
700
|
+
</tr>
|
701
|
+
<tr>
|
702
|
+
<td class="enum_member_name"><p><a name="JSON-PARSER-ERROR-UNKNOWN:CAPS"></a>JSON_PARSER_ERROR_UNKNOWN</p></td>
|
703
|
+
<td class="enum_member_description">
|
704
|
+
<p>unknown error</p>
|
705
|
+
</td>
|
706
|
+
<td class="enum_member_annotations"> </td>
|
651
707
|
</tr>
|
652
708
|
</tbody>
|
653
709
|
</table></div>
|
654
|
-
|
710
|
+
</div>
|
711
|
+
</div>
|
712
|
+
<hr>
|
713
|
+
<div class="refsect2">
|
714
|
+
<a name="JsonParser-struct"></a><h3>struct JsonParser</h3>
|
715
|
+
<pre class="programlisting">struct JsonParser;</pre>
|
716
|
+
<p>JSON data streams parser. The contents of the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> structure are
|
717
|
+
private and should only be accessed via the provided API.</p>
|
718
|
+
</div>
|
719
|
+
<hr>
|
720
|
+
<div class="refsect2">
|
721
|
+
<a name="JsonParserClass"></a><h3>struct JsonParserClass</h3>
|
722
|
+
<pre class="programlisting">struct JsonParserClass {
|
723
|
+
void (* parse_start) (JsonParser *parser);
|
724
|
+
|
725
|
+
void (* object_start) (JsonParser *parser);
|
726
|
+
void (* object_member) (JsonParser *parser,
|
727
|
+
JsonObject *object,
|
728
|
+
const gchar *member_name);
|
729
|
+
void (* object_end) (JsonParser *parser,
|
730
|
+
JsonObject *object);
|
731
|
+
|
732
|
+
void (* array_start) (JsonParser *parser);
|
733
|
+
void (* array_element) (JsonParser *parser,
|
734
|
+
JsonArray *array,
|
735
|
+
gint index_);
|
736
|
+
void (* array_end) (JsonParser *parser,
|
737
|
+
JsonArray *array);
|
738
|
+
|
739
|
+
void (* parse_end) (JsonParser *parser);
|
740
|
+
|
741
|
+
void (* error) (JsonParser *parser,
|
742
|
+
const GError *error);
|
743
|
+
};
|
744
|
+
</pre>
|
745
|
+
<p><a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> class.</p>
|
746
|
+
<div class="refsect3">
|
747
|
+
<a name="id-1.4.3.2.9.4.5"></a><h4>Members</h4>
|
748
|
+
<div class="informaltable"><table width="100%" border="0">
|
749
|
+
<colgroup>
|
750
|
+
<col width="300px" class="struct_members_name">
|
751
|
+
<col class="struct_members_description">
|
752
|
+
<col width="200px" class="struct_members_annotations">
|
753
|
+
</colgroup>
|
754
|
+
<tbody>
|
755
|
+
<tr>
|
756
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.parse-start"></a>parse_start</code></em> ()</p></td>
|
757
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::parse-start signal</p></td>
|
758
|
+
<td class="struct_member_annotations"> </td>
|
759
|
+
</tr>
|
760
|
+
<tr>
|
761
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-start"></a>object_start</code></em> ()</p></td>
|
762
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::object-start signal</p></td>
|
763
|
+
<td class="struct_member_annotations"> </td>
|
764
|
+
</tr>
|
765
|
+
<tr>
|
766
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-member"></a>object_member</code></em> ()</p></td>
|
767
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::object-member signal</p></td>
|
768
|
+
<td class="struct_member_annotations"> </td>
|
769
|
+
</tr>
|
770
|
+
<tr>
|
771
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.object-end"></a>object_end</code></em> ()</p></td>
|
772
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::object-end signal</p></td>
|
773
|
+
<td class="struct_member_annotations"> </td>
|
774
|
+
</tr>
|
775
|
+
<tr>
|
776
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-start"></a>array_start</code></em> ()</p></td>
|
777
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::array-start signal</p></td>
|
778
|
+
<td class="struct_member_annotations"> </td>
|
779
|
+
</tr>
|
780
|
+
<tr>
|
781
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-element"></a>array_element</code></em> ()</p></td>
|
782
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::array-element signal</p></td>
|
783
|
+
<td class="struct_member_annotations"> </td>
|
784
|
+
</tr>
|
785
|
+
<tr>
|
786
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.array-end"></a>array_end</code></em> ()</p></td>
|
787
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::array-end signal</p></td>
|
788
|
+
<td class="struct_member_annotations"> </td>
|
789
|
+
</tr>
|
790
|
+
<tr>
|
791
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.parse-end"></a>parse_end</code></em> ()</p></td>
|
792
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::parse-end signal</p></td>
|
793
|
+
<td class="struct_member_annotations"> </td>
|
794
|
+
</tr>
|
795
|
+
<tr>
|
796
|
+
<td class="struct_member_name"><p><em class="structfield"><code><a name="JsonParserClass.error"></a>error</code></em> ()</p></td>
|
797
|
+
<td class="struct_member_description"><p>class handler for the JsonParser::error signal</p></td>
|
798
|
+
<td class="struct_member_annotations"> </td>
|
799
|
+
</tr>
|
800
|
+
</tbody>
|
801
|
+
</table></div>
|
802
|
+
</div>
|
655
803
|
</div>
|
656
804
|
</div>
|
657
805
|
<div class="refsect1">
|
658
806
|
<a name="JsonParser.signal-details"></a><h2>Signal Details</h2>
|
659
807
|
<div class="refsect2">
|
660
|
-
<a name="JsonParser-array-element"></a><h3>The <code class="literal"
|
661
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
<
|
666
|
-
The ::array-element signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
808
|
+
<a name="JsonParser-array-element"></a><h3>The <code class="literal">“array-element”</code> signal</h3>
|
809
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
810
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
811
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array,
|
812
|
+
<span class="type">gint</span> index_,
|
813
|
+
<span class="type">gpointer</span> user_data)</pre>
|
814
|
+
<p>The ::array-element signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
667
815
|
has successfully parsed a single element of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. The
|
668
|
-
array and element index are passed to the signal handlers
|
669
|
-
|
670
|
-
<
|
816
|
+
array and element index are passed to the signal handlers.</p>
|
817
|
+
<div class="refsect3">
|
818
|
+
<a name="id-1.4.3.2.10.2.5"></a><h4>Parameters</h4>
|
819
|
+
<div class="informaltable"><table width="100%" border="0">
|
671
820
|
<colgroup>
|
672
|
-
<col
|
673
|
-
<col>
|
821
|
+
<col width="150px" class="parameters_name">
|
822
|
+
<col class="parameters_description">
|
823
|
+
<col width="200px" class="parameters_annotations">
|
674
824
|
</colgroup>
|
675
825
|
<tbody>
|
676
826
|
<tr>
|
677
|
-
<td
|
678
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
827
|
+
<td class="parameter_name"><p>parser</p></td>
|
828
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
829
|
+
<td class="parameter_annotations"> </td>
|
679
830
|
</tr>
|
680
831
|
<tr>
|
681
|
-
<td
|
682
|
-
<td>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
683
|
-
</td>
|
832
|
+
<td class="parameter_name"><p>array</p></td>
|
833
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p></td>
|
834
|
+
<td class="parameter_annotations"> </td>
|
684
835
|
</tr>
|
685
836
|
<tr>
|
686
|
-
<td
|
687
|
-
<td>the index of the newly parsed element</td>
|
837
|
+
<td class="parameter_name"><p>index_</p></td>
|
838
|
+
<td class="parameter_description"><p>the index of the newly parsed element</p></td>
|
839
|
+
<td class="parameter_annotations"> </td>
|
688
840
|
</tr>
|
689
841
|
<tr>
|
690
|
-
<td
|
691
|
-
<td>user data set when the signal handler was connected.</td>
|
842
|
+
<td class="parameter_name"><p>user_data</p></td>
|
843
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
844
|
+
<td class="parameter_annotations"> </td>
|
692
845
|
</tr>
|
693
846
|
</tbody>
|
694
847
|
</table></div>
|
695
848
|
</div>
|
849
|
+
<p>Flags: Run Last</p>
|
850
|
+
</div>
|
696
851
|
<hr>
|
697
852
|
<div class="refsect2">
|
698
|
-
<a name="JsonParser-array-end"></a><h3>The <code class="literal"
|
699
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
700
|
-
|
701
|
-
|
702
|
-
<
|
703
|
-
The ::array-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
704
|
-
has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
705
|
-
|
706
|
-
<
|
853
|
+
<a name="JsonParser-array-end"></a><h3>The <code class="literal">“array-end”</code> signal</h3>
|
854
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
855
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
856
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> *array,
|
857
|
+
<span class="type">gpointer</span> user_data)</pre>
|
858
|
+
<p>The ::array-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
859
|
+
has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p>
|
860
|
+
<div class="refsect3">
|
861
|
+
<a name="id-1.4.3.2.10.3.5"></a><h4>Parameters</h4>
|
862
|
+
<div class="informaltable"><table width="100%" border="0">
|
707
863
|
<colgroup>
|
708
|
-
<col
|
709
|
-
<col>
|
864
|
+
<col width="150px" class="parameters_name">
|
865
|
+
<col class="parameters_description">
|
866
|
+
<col width="200px" class="parameters_annotations">
|
710
867
|
</colgroup>
|
711
868
|
<tbody>
|
712
869
|
<tr>
|
713
|
-
<td
|
714
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
870
|
+
<td class="parameter_name"><p>parser</p></td>
|
871
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
872
|
+
<td class="parameter_annotations"> </td>
|
715
873
|
</tr>
|
716
874
|
<tr>
|
717
|
-
<td
|
718
|
-
<td>the parsed <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
719
|
-
</td>
|
875
|
+
<td class="parameter_name"><p>array</p></td>
|
876
|
+
<td class="parameter_description"><p>the parsed <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p></td>
|
877
|
+
<td class="parameter_annotations"> </td>
|
720
878
|
</tr>
|
721
879
|
<tr>
|
722
|
-
<td
|
723
|
-
<td>user data set when the signal handler was connected.</td>
|
880
|
+
<td class="parameter_name"><p>user_data</p></td>
|
881
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
882
|
+
<td class="parameter_annotations"> </td>
|
724
883
|
</tr>
|
725
884
|
</tbody>
|
726
885
|
</table></div>
|
727
886
|
</div>
|
887
|
+
<p>Flags: Run Last</p>
|
888
|
+
</div>
|
728
889
|
<hr>
|
729
890
|
<div class="refsect2">
|
730
|
-
<a name="JsonParser-array-start"></a><h3>The <code class="literal"
|
731
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
732
|
-
|
733
|
-
<
|
734
|
-
The ::array-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
735
|
-
starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
736
|
-
|
737
|
-
<
|
891
|
+
<a name="JsonParser-array-start"></a><h3>The <code class="literal">“array-start”</code> signal</h3>
|
892
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
893
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
894
|
+
<span class="type">gpointer</span> user_data)</pre>
|
895
|
+
<p>The ::array-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
896
|
+
starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a></p>
|
897
|
+
<div class="refsect3">
|
898
|
+
<a name="id-1.4.3.2.10.4.5"></a><h4>Parameters</h4>
|
899
|
+
<div class="informaltable"><table width="100%" border="0">
|
738
900
|
<colgroup>
|
739
|
-
<col
|
740
|
-
<col>
|
901
|
+
<col width="150px" class="parameters_name">
|
902
|
+
<col class="parameters_description">
|
903
|
+
<col width="200px" class="parameters_annotations">
|
741
904
|
</colgroup>
|
742
905
|
<tbody>
|
743
906
|
<tr>
|
744
|
-
<td
|
745
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
907
|
+
<td class="parameter_name"><p>parser</p></td>
|
908
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
909
|
+
<td class="parameter_annotations"> </td>
|
746
910
|
</tr>
|
747
911
|
<tr>
|
748
|
-
<td
|
749
|
-
<td>user data set when the signal handler was connected.</td>
|
912
|
+
<td class="parameter_name"><p>user_data</p></td>
|
913
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
914
|
+
<td class="parameter_annotations"> </td>
|
750
915
|
</tr>
|
751
916
|
</tbody>
|
752
917
|
</table></div>
|
753
918
|
</div>
|
919
|
+
<p>Flags: Run Last</p>
|
920
|
+
</div>
|
754
921
|
<hr>
|
755
922
|
<div class="refsect2">
|
756
|
-
<a name="JsonParser-error"></a><h3>The <code class="literal"
|
757
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
758
|
-
|
759
|
-
|
760
|
-
<
|
761
|
-
The ::error signal is emitted each time a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> encounters
|
762
|
-
an error in a JSON stream
|
763
|
-
|
764
|
-
<
|
923
|
+
<a name="JsonParser-error"></a><h3>The <code class="literal">“error”</code> signal</h3>
|
924
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
925
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
926
|
+
<span class="type">gpointer</span> error,
|
927
|
+
<span class="type">gpointer</span> user_data)</pre>
|
928
|
+
<p>The ::error signal is emitted each time a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> encounters
|
929
|
+
an error in a JSON stream.</p>
|
930
|
+
<div class="refsect3">
|
931
|
+
<a name="id-1.4.3.2.10.5.5"></a><h4>Parameters</h4>
|
932
|
+
<div class="informaltable"><table width="100%" border="0">
|
765
933
|
<colgroup>
|
766
|
-
<col
|
767
|
-
<col>
|
934
|
+
<col width="150px" class="parameters_name">
|
935
|
+
<col class="parameters_description">
|
936
|
+
<col width="200px" class="parameters_annotations">
|
768
937
|
</colgroup>
|
769
938
|
<tbody>
|
770
939
|
<tr>
|
771
|
-
<td
|
772
|
-
<td>the parser instance that received the signal</td>
|
940
|
+
<td class="parameter_name"><p>parser</p></td>
|
941
|
+
<td class="parameter_description"><p>the parser instance that received the signal</p></td>
|
942
|
+
<td class="parameter_annotations"> </td>
|
773
943
|
</tr>
|
774
944
|
<tr>
|
775
|
-
<td
|
776
|
-
<td>a pointer to the <span class="type">GError</span>
|
777
|
-
</td>
|
945
|
+
<td class="parameter_name"><p>error</p></td>
|
946
|
+
<td class="parameter_description"><p>a pointer to the <span class="type">GError</span></p></td>
|
947
|
+
<td class="parameter_annotations"> </td>
|
778
948
|
</tr>
|
779
949
|
<tr>
|
780
|
-
<td
|
781
|
-
<td>user data set when the signal handler was connected.</td>
|
950
|
+
<td class="parameter_name"><p>user_data</p></td>
|
951
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
952
|
+
<td class="parameter_annotations"> </td>
|
782
953
|
</tr>
|
783
954
|
</tbody>
|
784
955
|
</table></div>
|
785
956
|
</div>
|
957
|
+
<p>Flags: Run Last</p>
|
958
|
+
</div>
|
786
959
|
<hr>
|
787
960
|
<div class="refsect2">
|
788
|
-
<a name="JsonParser-object-end"></a><h3>The <code class="literal"
|
789
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
790
|
-
|
791
|
-
|
792
|
-
<
|
793
|
-
The ::object-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
794
|
-
has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a
|
795
|
-
|
796
|
-
<
|
961
|
+
<a name="JsonParser-object-end"></a><h3>The <code class="literal">“object-end”</code> signal</h3>
|
962
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
963
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
964
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object,
|
965
|
+
<span class="type">gpointer</span> user_data)</pre>
|
966
|
+
<p>The ::object-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
967
|
+
has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>.</p>
|
968
|
+
<div class="refsect3">
|
969
|
+
<a name="id-1.4.3.2.10.6.5"></a><h4>Parameters</h4>
|
970
|
+
<div class="informaltable"><table width="100%" border="0">
|
797
971
|
<colgroup>
|
798
|
-
<col
|
799
|
-
<col>
|
972
|
+
<col width="150px" class="parameters_name">
|
973
|
+
<col class="parameters_description">
|
974
|
+
<col width="200px" class="parameters_annotations">
|
800
975
|
</colgroup>
|
801
976
|
<tbody>
|
802
977
|
<tr>
|
803
|
-
<td
|
804
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
978
|
+
<td class="parameter_name"><p>parser</p></td>
|
979
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
980
|
+
<td class="parameter_annotations"> </td>
|
805
981
|
</tr>
|
806
982
|
<tr>
|
807
|
-
<td
|
808
|
-
<td>the parsed <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
809
|
-
</td>
|
983
|
+
<td class="parameter_name"><p>object</p></td>
|
984
|
+
<td class="parameter_description"><p>the parsed <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a></p></td>
|
985
|
+
<td class="parameter_annotations"> </td>
|
810
986
|
</tr>
|
811
987
|
<tr>
|
812
|
-
<td
|
813
|
-
<td>user data set when the signal handler was connected.</td>
|
988
|
+
<td class="parameter_name"><p>user_data</p></td>
|
989
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
990
|
+
<td class="parameter_annotations"> </td>
|
814
991
|
</tr>
|
815
992
|
</tbody>
|
816
993
|
</table></div>
|
817
994
|
</div>
|
995
|
+
<p>Flags: Run Last</p>
|
996
|
+
</div>
|
818
997
|
<hr>
|
819
998
|
<div class="refsect2">
|
820
|
-
<a name="JsonParser-object-member"></a><h3>The <code class="literal"
|
821
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
<
|
826
|
-
The ::object-member signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
999
|
+
<a name="JsonParser-object-member"></a><h3>The <code class="literal">“object-member”</code> signal</h3>
|
1000
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1001
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1002
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a> *object,
|
1003
|
+
<span class="type">gchar</span> *member_name,
|
1004
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1005
|
+
<p>The ::object-member signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
827
1006
|
has successfully parsed a single member of a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. The
|
828
|
-
object and member are passed to the signal handlers
|
829
|
-
|
830
|
-
<
|
1007
|
+
object and member are passed to the signal handlers.</p>
|
1008
|
+
<div class="refsect3">
|
1009
|
+
<a name="id-1.4.3.2.10.7.5"></a><h4>Parameters</h4>
|
1010
|
+
<div class="informaltable"><table width="100%" border="0">
|
831
1011
|
<colgroup>
|
832
|
-
<col
|
833
|
-
<col>
|
1012
|
+
<col width="150px" class="parameters_name">
|
1013
|
+
<col class="parameters_description">
|
1014
|
+
<col width="200px" class="parameters_annotations">
|
834
1015
|
</colgroup>
|
835
1016
|
<tbody>
|
836
1017
|
<tr>
|
837
|
-
<td
|
838
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
1018
|
+
<td class="parameter_name"><p>parser</p></td>
|
1019
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
1020
|
+
<td class="parameter_annotations"> </td>
|
839
1021
|
</tr>
|
840
1022
|
<tr>
|
841
|
-
<td
|
842
|
-
<td>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>
|
843
|
-
</td>
|
1023
|
+
<td class="parameter_name"><p>object</p></td>
|
1024
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a></p></td>
|
1025
|
+
<td class="parameter_annotations"> </td>
|
844
1026
|
</tr>
|
845
1027
|
<tr>
|
846
|
-
<td
|
847
|
-
<td>the name of the newly parsed member</td>
|
1028
|
+
<td class="parameter_name"><p>member_name</p></td>
|
1029
|
+
<td class="parameter_description"><p>the name of the newly parsed member</p></td>
|
1030
|
+
<td class="parameter_annotations"> </td>
|
848
1031
|
</tr>
|
849
1032
|
<tr>
|
850
|
-
<td
|
851
|
-
<td>user data set when the signal handler was connected.</td>
|
1033
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1034
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1035
|
+
<td class="parameter_annotations"> </td>
|
852
1036
|
</tr>
|
853
1037
|
</tbody>
|
854
1038
|
</table></div>
|
855
1039
|
</div>
|
1040
|
+
<p>Flags: Run Last</p>
|
1041
|
+
</div>
|
856
1042
|
<hr>
|
857
1043
|
<div class="refsect2">
|
858
|
-
<a name="JsonParser-object-start"></a><h3>The <code class="literal"
|
859
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
860
|
-
|
861
|
-
<
|
862
|
-
The ::object-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
863
|
-
starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a
|
864
|
-
|
865
|
-
<
|
1044
|
+
<a name="JsonParser-object-start"></a><h3>The <code class="literal">“object-start”</code> signal</h3>
|
1045
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1046
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1047
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1048
|
+
<p>The ::object-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
1049
|
+
starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>.</p>
|
1050
|
+
<div class="refsect3">
|
1051
|
+
<a name="id-1.4.3.2.10.8.5"></a><h4>Parameters</h4>
|
1052
|
+
<div class="informaltable"><table width="100%" border="0">
|
866
1053
|
<colgroup>
|
867
|
-
<col
|
868
|
-
<col>
|
1054
|
+
<col width="150px" class="parameters_name">
|
1055
|
+
<col class="parameters_description">
|
1056
|
+
<col width="200px" class="parameters_annotations">
|
869
1057
|
</colgroup>
|
870
1058
|
<tbody>
|
871
1059
|
<tr>
|
872
|
-
<td
|
873
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
1060
|
+
<td class="parameter_name"><p>parser</p></td>
|
1061
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
1062
|
+
<td class="parameter_annotations"> </td>
|
874
1063
|
</tr>
|
875
1064
|
<tr>
|
876
|
-
<td
|
877
|
-
<td>user data set when the signal handler was connected.</td>
|
1065
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1066
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1067
|
+
<td class="parameter_annotations"> </td>
|
878
1068
|
</tr>
|
879
1069
|
</tbody>
|
880
1070
|
</table></div>
|
881
1071
|
</div>
|
1072
|
+
<p>Flags: Run Last</p>
|
1073
|
+
</div>
|
882
1074
|
<hr>
|
883
1075
|
<div class="refsect2">
|
884
|
-
<a name="JsonParser-parse-end"></a><h3>The <code class="literal"
|
885
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
886
|
-
|
887
|
-
<
|
888
|
-
The ::parse-end signal is emitted when the parser successfully
|
889
|
-
finished parsing a JSON data stream
|
890
|
-
|
891
|
-
<
|
1076
|
+
<a name="JsonParser-parse-end"></a><h3>The <code class="literal">“parse-end”</code> signal</h3>
|
1077
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1078
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1079
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1080
|
+
<p>The ::parse-end signal is emitted when the parser successfully
|
1081
|
+
finished parsing a JSON data stream</p>
|
1082
|
+
<div class="refsect3">
|
1083
|
+
<a name="id-1.4.3.2.10.9.5"></a><h4>Parameters</h4>
|
1084
|
+
<div class="informaltable"><table width="100%" border="0">
|
892
1085
|
<colgroup>
|
893
|
-
<col
|
894
|
-
<col>
|
1086
|
+
<col width="150px" class="parameters_name">
|
1087
|
+
<col class="parameters_description">
|
1088
|
+
<col width="200px" class="parameters_annotations">
|
895
1089
|
</colgroup>
|
896
1090
|
<tbody>
|
897
1091
|
<tr>
|
898
|
-
<td
|
899
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
1092
|
+
<td class="parameter_name"><p>parser</p></td>
|
1093
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
1094
|
+
<td class="parameter_annotations"> </td>
|
900
1095
|
</tr>
|
901
1096
|
<tr>
|
902
|
-
<td
|
903
|
-
<td>user data set when the signal handler was connected.</td>
|
1097
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1098
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1099
|
+
<td class="parameter_annotations"> </td>
|
904
1100
|
</tr>
|
905
1101
|
</tbody>
|
906
1102
|
</table></div>
|
907
1103
|
</div>
|
1104
|
+
<p>Flags: Run Last</p>
|
1105
|
+
</div>
|
908
1106
|
<hr>
|
909
1107
|
<div class="refsect2">
|
910
|
-
<a name="JsonParser-parse-start"></a><h3>The <code class="literal"
|
911
|
-
<pre class="programlisting"><span class="returnvalue">void</span>
|
912
|
-
|
913
|
-
<
|
914
|
-
The ::parse-start signal is emitted when the parser began parsing
|
915
|
-
a JSON data stream
|
916
|
-
|
917
|
-
<
|
1108
|
+
<a name="JsonParser-parse-start"></a><h3>The <code class="literal">“parse-start”</code> signal</h3>
|
1109
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1110
|
+
user_function (<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> *parser,
|
1111
|
+
<span class="type">gpointer</span> user_data)</pre>
|
1112
|
+
<p>The ::parse-start signal is emitted when the parser began parsing
|
1113
|
+
a JSON data stream.</p>
|
1114
|
+
<div class="refsect3">
|
1115
|
+
<a name="id-1.4.3.2.10.10.5"></a><h4>Parameters</h4>
|
1116
|
+
<div class="informaltable"><table width="100%" border="0">
|
918
1117
|
<colgroup>
|
919
|
-
<col
|
920
|
-
<col>
|
1118
|
+
<col width="150px" class="parameters_name">
|
1119
|
+
<col class="parameters_description">
|
1120
|
+
<col width="200px" class="parameters_annotations">
|
921
1121
|
</colgroup>
|
922
1122
|
<tbody>
|
923
1123
|
<tr>
|
924
|
-
<td
|
925
|
-
<td>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</td>
|
1124
|
+
<td class="parameter_name"><p>parser</p></td>
|
1125
|
+
<td class="parameter_description"><p>the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> that received the signal</p></td>
|
1126
|
+
<td class="parameter_annotations"> </td>
|
926
1127
|
</tr>
|
927
1128
|
<tr>
|
928
|
-
<td
|
929
|
-
<td>user data set when the signal handler was connected.</td>
|
1129
|
+
<td class="parameter_name"><p>user_data</p></td>
|
1130
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
1131
|
+
<td class="parameter_annotations"> </td>
|
930
1132
|
</tr>
|
931
1133
|
</tbody>
|
932
1134
|
</table></div>
|
933
1135
|
</div>
|
1136
|
+
<p>Flags: Run Last</p>
|
1137
|
+
</div>
|
934
1138
|
</div>
|
935
1139
|
</div>
|
936
1140
|
<div class="footer">
|
937
1141
|
<hr>
|
938
|
-
Generated by GTK-Doc V1.
|
1142
|
+
Generated by GTK-Doc V1.20.1</div>
|
939
1143
|
</body>
|
940
1144
|
</html>
|