clutter 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +14 -5
- data/lib/clutter.rb +1 -2
- data/vendor/local/bin/json-glib-format.exe +0 -0
- data/vendor/local/bin/json-glib-validate.exe +0 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/{libcogl-15.dll → libcogl-20.dll} +0 -0
- data/vendor/local/bin/libcogl-pango-20.dll +0 -0
- data/vendor/local/bin/libcogl-path-20.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/cally/cally-actor.h +9 -4
- data/vendor/local/include/clutter-1.0/cally/cally-clone.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-group.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-main.h +7 -2
- data/vendor/local/include/clutter-1.0/cally/cally-rectangle.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-root.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-stage.h +5 -3
- data/vendor/local/include/clutter-1.0/cally/cally-text.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-texture.h +6 -4
- data/vendor/local/include/clutter-1.0/cally/cally-util.h +7 -3
- data/vendor/local/include/clutter-1.0/clutter/clutter-action.h +13 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor-meta.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +90 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-align-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-animatable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +15 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-bin-layout.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-bind-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-binding-pool.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-blur-effect.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-box-layout.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-brightness-contrast-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-cairo.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +7 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-child-meta.h +10 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-click-action.h +8 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-clone.h +8 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-color.h +32 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-colorize-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +14 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-container.h +49 -37
- data/vendor/local/include/clutter-1.0/clutter/clutter-content.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-deform-effect.h +19 -13
- data/vendor/local/include/clutter-1.0/clutter/clutter-deprecated.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-desaturate-effect.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +6 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drag-action.h +12 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-drop-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-effect.h +11 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +62 -55
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +23 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +74 -8
- data/vendor/local/include/clutter-1.0/clutter/clutter-feature.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-fixed-layout.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-gesture-action.h +27 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-image.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +20 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-interval.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +13 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-meta.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-list-model.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +67 -33
- data/vendor/local/include/clutter-1.0/clutter/clutter-main.h +36 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-model.h +42 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-page-turn-effect.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-paint-nodes.h +5 -5
- data/vendor/local/include/clutter-1.0/clutter/clutter-pan-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-path-constraint.h +7 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-path.h +26 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-property-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-rotate-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-script.h +16 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scriptable.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-scroll-actor.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-settings.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-effect.h +9 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-shader-types.h +10 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-snap-constraint.h +9 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage-manager.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +35 -9
- data/vendor/local/include/clutter-1.0/clutter/clutter-swipe-action.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-tap-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-test-utils.h +164 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text-buffer.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +67 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-timeline.h +25 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-transition.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +60 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-units.h +18 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +37 -20
- data/vendor/local/include/clutter-1.0/clutter/clutter-zoom-action.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter.h +2 -3
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +1 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-state.h +3 -3
- data/vendor/local/include/clutter-1.0/clutter/{clutter-table-layout.h → deprecated/clutter-table-layout.h} +15 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h +1 -1
- data/vendor/local/include/clutter-1.0/clutter/win32/clutter-win32.h +5 -0
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +33 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path-types.h +18 -14
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +22 -12
- data/vendor/local/include/cogl/cogl-path/cogl1-path-functions.h +20 -13
- data/vendor/local/include/cogl/cogl-path/cogl2-path-functions.h +35 -13
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +81 -53
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +26 -13
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +244 -15
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl-color.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-context.h +41 -14
- data/vendor/local/include/cogl/cogl/cogl-defines.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-deprecated.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-display.h +33 -14
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +9 -6
- data/vendor/local/include/cogl/cogl/cogl-error.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-euler.h +31 -13
- data/vendor/local/include/cogl/cogl/cogl-fence.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-fixed.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +70 -29
- data/vendor/local/include/cogl/cogl/cogl-gles2.h +64 -18
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-indices.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-macros.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +37 -12
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-object.h +40 -12
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +63 -12
- data/vendor/local/include/cogl/cogl/cogl-output.h +31 -12
- data/vendor/local/include/cogl/cogl/cogl-pango.h +18 -11
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +31 -11
- data/vendor/local/include/cogl/cogl/cogl-poll.h +20 -14
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +25 -12
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +32 -13
- data/vendor/local/include/cogl/cogl/cogl-primitives.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +34 -15
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +33 -15
- data/vendor/local/include/cogl/cogl/cogl-shader.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +27 -12
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +29 -15
- data/vendor/local/include/cogl/cogl/cogl-swap-chain.h +33 -13
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +29 -24
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +54 -49
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +81 -65
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +71 -54
- data/vendor/local/include/cogl/cogl/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +61 -48
- data/vendor/local/include/cogl/cogl/cogl-texture.h +157 -241
- data/vendor/local/include/cogl/cogl/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +23 -11
- data/vendor/local/include/cogl/cogl/cogl-vector.h +20 -15
- data/vendor/local/include/cogl/cogl/cogl-version.h +28 -12
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +20 -13
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +18 -13
- data/vendor/local/include/cogl/cogl/cogl.h +61 -22
- data/vendor/local/include/cogl/cogl/cogl1-context.h +20 -434
- data/vendor/local/include/cogl/cogl/cogl2-experimental.h +18 -12
- data/vendor/local/include/cogl/cogl/deprecated/cogl-auto-texture.h +221 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clip-state.h +266 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-clutter.h +54 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-fixed.h +811 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h +264 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-material-compat.h +1391 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-shader.h +704 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-texture-deprecated.h +105 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-type-casts.h +53 -0
- data/vendor/local/include/cogl/cogl/deprecated/cogl-vertex-buffer.h +451 -0
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-gles2-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-glsl-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles-core-functions.h +18 -11
- data/vendor/local/include/cogl/cogl/gl-prototypes/cogl-in-gles2-core-functions.h +18 -11
- data/vendor/local/include/json-glib-1.0/json-glib/json-builder.h +21 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +8 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-generator.h +16 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-glib.h +1 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +23 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-gvariant.h +9 -2
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +17 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-path.h +13 -8
- data/vendor/local/include/json-glib-1.0/json-glib/json-reader.h +28 -7
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +97 -12
- data/vendor/local/include/json-glib-1.0/json-glib/json-version-macros.h +135 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +14 -12
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-2.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +4 -4
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +41 -0
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +3 -3
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.pc +13 -0
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +4 -2
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +4527 -1814
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1194 -1881
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +20369 -0
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +9 -5
- data/vendor/local/share/gir-1.0/CoglPango-2.0.gir +331 -0
- data/vendor/local/share/gir-1.0/Json-1.0.gir +363 -163
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +356 -259
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +91 -69
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +89 -71
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +72 -59
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +92 -70
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +90 -66
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +90 -68
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +42 -37
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +109 -86
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +16 -16
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +47 -29
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +27 -29
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +25 -27
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +47 -45
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +11634 -9660
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +283 -206
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +335 -242
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +595 -523
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +341 -273
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +995 -804
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +583 -432
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +565 -457
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +207 -169
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +718 -518
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +211 -172
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +338 -283
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +506 -367
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +322 -275
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +329 -901
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +374 -553
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +65 -55
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +491 -419
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1032 -790
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +316 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +613 -755
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +367 -373
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +181 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +399 -316
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +177 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +154 -105
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +137 -262
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1119 -851
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +238 -177
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +293 -225
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +159 -114
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +330 -243
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +772 -873
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +304 -766
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +353 -267
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +70 -57
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +646 -825
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +991 -555
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +725 -510
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +177 -133
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +380 -512
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1252 -962
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +414 -320
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +830 -923
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +118 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +144 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +742 -586
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1398 -1058
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +563 -425
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +322 -265
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +292 -194
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +473 -333
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +653 -489
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1107 -855
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +277 -188
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +178 -130
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +334 -216
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +131 -95
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +709 -569
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +958 -899
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +242 -186
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +263 -606
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +243 -165
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +469 -368
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +353 -245
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1967 -1513
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1273 -1005
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +200 -144
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +995 -745
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +123 -93
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +2742 -1997
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +647 -474
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1482 -1223
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +2161 -1735
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +496 -383
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +175 -135
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +313 -236
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -13
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +4 -7
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +4 -8
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +3059 -2295
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +181 -137
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +340 -197
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +306 -222
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1272 -988
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +154 -69
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +2714 -1972
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +151 -116
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +205 -154
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1455 -1890
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1449 -1804
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +134 -112
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +625 -520
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +302 -239
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +872 -637
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +293 -213
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +674 -508
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +454 -339
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +816 -623
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +346 -302
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +60 -34
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +200 -170
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +162 -119
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +678 -565
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +1937 -2272
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +4 -11
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +87 -87
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +5 -5
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +11 -4
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +11 -11
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +842 -978
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +7 -7
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +2005 -1923
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +663 -470
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +122 -124
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +217 -219
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +148 -150
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +349 -351
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +177 -179
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +214 -216
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +83 -85
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +80 -82
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +219 -221
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +212 -214
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +22 -32
- data/vendor/local/share/gtk-doc/html/clutter/license.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +16 -16
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +15 -15
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +17 -17
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +260 -105
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +513 -392
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +479 -347
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +804 -600
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +395 -362
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +788 -609
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +32 -43
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/ch05.html +40 -0
- data/vendor/local/share/gtk-doc/html/json-glib/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +15 -6
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +82 -73
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +230 -227
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +20 -25
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +17 -22
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +50 -55
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +30 -35
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +39 -44
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +35 -40
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +12 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +84 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +306 -221
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +261 -204
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +843 -583
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +223 -199
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +1327 -912
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +986 -694
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +386 -301
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +151 -87
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +204 -218
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +19 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +72 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +38 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/up.png +0 -0
- data/vendor/local/share/license/cogl/COPYING +107 -502
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/man/man1/json-glib-format.1 +60 -0
- data/vendor/local/share/man/man1/json-glib-validate.1 +56 -0
- metadata +66 -27
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +0 -38
@@ -2,32 +2,27 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>JsonPath</title>
|
5
|
+
<title>JSON-GLib Reference Manual: JsonPath</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="JsonReader.html" title="JsonReader">
|
10
10
|
<link rel="next" href="ch03.html" title="Generator">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
-
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="
|
16
|
-
<
|
17
|
-
<
|
18
|
-
<
|
19
|
-
<
|
20
|
-
|
21
|
-
<td><a accesskey="
|
22
|
-
|
23
|
-
<
|
24
|
-
<a href="
|
25
|
-
|
26
|
-
<a href="#JsonPath.description" class="shortcut">Description</a>
|
27
|
-
|
|
28
|
-
<a href="#JsonPath.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
-
</td></tr>
|
30
|
-
</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="#JsonPath.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#JsonPath.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
20
|
+
</td>
|
21
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
22
|
+
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
23
|
+
<td><a accesskey="p" href="JsonReader.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
24
|
+
<td><a accesskey="n" href="ch03.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
25
|
+
</tr></table>
|
31
26
|
<div class="refentry">
|
32
27
|
<a name="JsonPath"></a><div class="titlepage"></div>
|
33
28
|
<div class="refnamediv"><table width="100%"><tr>
|
@@ -35,62 +30,105 @@
|
|
35
30
|
<h2><span class="refentrytitle"><a name="JsonPath.top_of_page"></a>JsonPath</span></h2>
|
36
31
|
<p>JsonPath — JSONPath implementation</p>
|
37
32
|
</td>
|
38
|
-
<td valign="top" align="right"></td>
|
33
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
39
34
|
</tr></table></div>
|
40
|
-
<div class="
|
41
|
-
<a name="JsonPath.
|
42
|
-
<
|
43
|
-
|
44
|
-
<
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
|
50
|
-
<a class="link" href="
|
51
|
-
|
52
|
-
|
53
|
-
<a class="link" href="
|
54
|
-
|
55
|
-
|
56
|
-
|
35
|
+
<div class="refsect1">
|
36
|
+
<a name="JsonPath.functions"></a><h2>Functions</h2>
|
37
|
+
<div class="informaltable"><table width="100%" border="0">
|
38
|
+
<colgroup>
|
39
|
+
<col width="150px" class="functions_return">
|
40
|
+
<col class="functions_name">
|
41
|
+
</colgroup>
|
42
|
+
<tbody>
|
43
|
+
<tr>
|
44
|
+
<td class="function_type">
|
45
|
+
<a class="link" href="JsonPath.html" title="JsonPath"><span class="returnvalue">JsonPath</span></a> *
|
46
|
+
</td>
|
47
|
+
<td class="function_name">
|
48
|
+
<a class="link" href="JsonPath.html#json-path-new" title="json_path_new ()">json_path_new</a> <span class="c_punctuation">()</span>
|
49
|
+
</td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="define_keyword">#define</td>
|
53
|
+
<td class="function_name"><a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR">JSON_PATH_ERROR</a></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="function_type">
|
57
|
+
<span class="returnvalue">gboolean</span>
|
58
|
+
</td>
|
59
|
+
<td class="function_name">
|
60
|
+
<a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()">json_path_compile</a> <span class="c_punctuation">()</span>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="function_type">
|
65
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
66
|
+
</td>
|
67
|
+
<td class="function_name">
|
68
|
+
<a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()">json_path_match</a> <span class="c_punctuation">()</span>
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
<tr>
|
72
|
+
<td class="function_type">
|
73
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
74
|
+
</td>
|
75
|
+
<td class="function_name">
|
76
|
+
<a class="link" href="JsonPath.html#json-path-query" title="json_path_query ()">json_path_query</a> <span class="c_punctuation">()</span>
|
77
|
+
</td>
|
78
|
+
</tr>
|
79
|
+
</tbody>
|
80
|
+
</table></div>
|
81
|
+
</div>
|
82
|
+
<div class="refsect1">
|
83
|
+
<a name="JsonPath.other"></a><h2>Types and Values</h2>
|
84
|
+
<div class="informaltable"><table width="100%" border="0">
|
85
|
+
<colgroup>
|
86
|
+
<col width="150px" class="name">
|
87
|
+
<col class="description">
|
88
|
+
</colgroup>
|
89
|
+
<tbody>
|
90
|
+
<tr>
|
91
|
+
<td class="datatype_keyword"> </td>
|
92
|
+
<td class="function_name"><a class="link" href="JsonPath.html#JsonPath-struct" title="JsonPath">JsonPath</a></td>
|
93
|
+
</tr>
|
94
|
+
<tr>
|
95
|
+
<td class="datatype_keyword"> </td>
|
96
|
+
<td class="function_name"><a class="link" href="JsonPath.html#JsonPathClass" title="JsonPathClass">JsonPathClass</a></td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td class="datatype_keyword">enum</td>
|
100
|
+
<td class="function_name"><a class="link" href="JsonPath.html#JsonPathError" title="enum JsonPathError">JsonPathError</a></td>
|
101
|
+
</tr>
|
102
|
+
</tbody>
|
103
|
+
</table></div>
|
57
104
|
</div>
|
58
105
|
<div class="refsect1">
|
59
106
|
<a name="JsonPath.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
60
|
-
<pre class="
|
61
|
-
|
62
|
-
+----JsonPath
|
107
|
+
<pre class="screen"> GObject
|
108
|
+
<span class="lineart">╰──</span> JsonPath
|
63
109
|
</pre>
|
64
110
|
</div>
|
65
111
|
<div class="refsect1">
|
66
112
|
<a name="JsonPath.description"></a><h2>Description</h2>
|
67
|
-
<p>
|
68
|
-
<a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> is a simple class implementing the JSONPath syntax for extracting
|
113
|
+
<p><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> is a simple class implementing the JSONPath syntax for extracting
|
69
114
|
data out of a JSON tree. While the semantics of the JSONPath expressions are
|
70
115
|
heavily borrowed by the XPath specification for XML, the syntax follows the
|
71
|
-
ECMAScript origins of JSON
|
72
|
-
|
73
|
-
<
|
74
|
-
Once a <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance has been created, it has to compile a JSONPath
|
75
|
-
expression using <a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a> before being able to match it to a
|
116
|
+
ECMAScript origins of JSON.</p>
|
117
|
+
<p>Once a <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance has been created, it has to compile a JSONPath
|
118
|
+
expression using <a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a> before being able to match it to a
|
76
119
|
JSON tree; the same <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance can be used to match multiple JSON
|
77
120
|
trees. It it also possible to compile a new JSONPath expression using the
|
78
121
|
same <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance; the previous expression will be discarded only if
|
79
|
-
the compilation of the new expression is successful
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
</p>
|
85
|
-
<p>
|
86
|
-
</p>
|
87
|
-
<div class="refsect2">
|
88
|
-
<a name="json-path-syntax"></a><h3>Syntax of the JSONPath expressions</h3>
|
122
|
+
the compilation of the new expression is successful.</p>
|
123
|
+
<p>The simple convenience function <a class="link" href="JsonPath.html#json-path-query" title="json_path_query ()"><code class="function">json_path_query()</code></a> can be used for one-off
|
124
|
+
matching.</p>
|
125
|
+
<div class="refsect3">
|
126
|
+
<a name="id-1.4.3.4.6.5"></a><h4>Syntax of the JSONPath expressions</h4>
|
89
127
|
<p>A JSONPath expression is composed by path indices and operators.
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
128
|
+
Each path index can either be a member name or an element index inside
|
129
|
+
a JSON tree. A JSONPath expression must start with the '$' operator; each
|
130
|
+
path index is separated using either the dot notation or the bracket
|
131
|
+
notation, e.g.:</p>
|
94
132
|
<div class="informalexample">
|
95
133
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
96
134
|
<tbody>
|
@@ -98,215 +136,183 @@ matching.
|
|
98
136
|
<td class="listing_lines" align="right"><pre>1
|
99
137
|
2
|
100
138
|
3
|
101
|
-
4
|
102
|
-
|
139
|
+
4
|
140
|
+
5</pre></td>
|
141
|
+
<td class="listing_code"><pre class="programlisting"><span class="comment">// dot notation</span>
|
103
142
|
<span class="normal">$</span><span class="symbol">.</span><span class="normal">store</span><span class="symbol">.</span><span class="normal">book</span><span class="symbol">[</span><span class="number">0</span><span class="symbol">].</span><span class="normal">title</span>
|
104
|
-
|
143
|
+
|
144
|
+
<span class="comment">// bracket notation</span>
|
105
145
|
<span class="normal">$</span><span class="symbol">[</span><span class="string">'store'</span><span class="symbol">][</span><span class="string">'book'</span><span class="symbol">][</span><span class="number">0</span><span class="symbol">][</span><span class="string">'title'</span><span class="symbol">]</span></pre></td>
|
106
146
|
</tr>
|
107
147
|
</tbody>
|
108
148
|
</table>
|
109
149
|
</div>
|
110
150
|
|
151
|
+
<p></p>
|
111
152
|
<p>The available operators are:</p>
|
112
|
-
<div class="
|
113
|
-
<
|
114
|
-
|
115
|
-
|
116
|
-
<
|
117
|
-
<
|
118
|
-
|
119
|
-
<
|
120
|
-
|
121
|
-
<
|
122
|
-
<
|
123
|
-
<
|
124
|
-
|
125
|
-
<
|
126
|
-
</
|
127
|
-
|
128
|
-
<
|
129
|
-
<
|
130
|
-
|
131
|
-
|
132
|
-
<
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
<
|
138
|
-
|
139
|
-
</
|
140
|
-
<
|
141
|
-
<
|
142
|
-
<td>Recursive descent</td>
|
143
|
-
<td>$..author</td>
|
144
|
-
<td>The content of the author member in every object</td>
|
145
|
-
</tr>
|
146
|
-
<tr>
|
147
|
-
<td>*</td>
|
148
|
-
<td>Wildcard</td>
|
149
|
-
<td>$.store.book[*].author</td>
|
150
|
-
<td>The content of the author member of any object of the
|
151
|
-
array contained in the book member of the store object</td>
|
152
|
-
</tr>
|
153
|
-
<tr>
|
154
|
-
<td>[]</td>
|
155
|
-
<td>Subscript</td>
|
156
|
-
<td>$.store.book[0]</td>
|
157
|
-
<td>The first element of the array contained in the book
|
158
|
-
member of the store object</td>
|
159
|
-
</tr>
|
160
|
-
<tr>
|
161
|
-
<td>[,]</td>
|
162
|
-
<td>Set</td>
|
163
|
-
<td>$.store.book[0,1]</td>
|
164
|
-
<td>The first two elements of the array contained in the
|
165
|
-
book member of the store object</td>
|
166
|
-
</tr>
|
167
|
-
<tr>
|
168
|
-
<td>[start:end:step]</td>
|
169
|
-
<td>Slice</td>
|
170
|
-
<td>$.store.book[:2]</td>
|
171
|
-
<td>The first two elements of the array contained in the
|
172
|
-
book member of the store object; the start and step are omitted
|
173
|
-
and implied to be 0 and 1, respectively</td>
|
174
|
-
</tr>
|
175
|
-
</tbody>
|
176
|
-
</table></div>
|
153
|
+
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
|
154
|
+
<li class="listitem"><p>Root node
|
155
|
+
The '$' character represents the root node of the JSON tree, and
|
156
|
+
matches the entire document.</p></li>
|
157
|
+
<li class="listitem"><p>Child nodes can either be matched using '.' or '[]'. For instance,
|
158
|
+
both <code class="literal">$.store.book</code> and `$'store' match the contents of
|
159
|
+
the book member of the store object.</p></li>
|
160
|
+
<li class="listitem"><p>Child nodes can be reached without specifying the whole tree structure
|
161
|
+
through the recursive descent operator, or '..'. For instance,
|
162
|
+
<code class="literal">$..author</code> matches all author member in every object.</p></li>
|
163
|
+
<li class="listitem"><p>Child nodes can grouped through the wildcard operator, or '*'. For
|
164
|
+
instance, <code class="literal">$.store.book[*].author</code> matches all author members of any
|
165
|
+
object element contained in the book array of the store object.</p></li>
|
166
|
+
<li class="listitem"><p>Element nodes can be accessed using their index (starting from zero)
|
167
|
+
in the subscript operator '[]'. For instance, <code class="literal">$.store.book[0]</code> matches
|
168
|
+
the first element of the book array of the store object.</p></li>
|
169
|
+
<li class="listitem"><p>Subsets of element nodes can be accessed using the set notation
|
170
|
+
operator '[start,end]'. For instance, <code class="literal">$.store.book[0,2]</code> matches the
|
171
|
+
first, second, and third elements of the book array of the store
|
172
|
+
object.</p></li>
|
173
|
+
<li class="listitem"><p>Slices of element nodes can be accessed using the slice notation
|
174
|
+
operation '[start:end:step]'. If start is omitted, the starting index
|
175
|
+
of the slice is implied to be zero; if end is omitted, the ending index
|
176
|
+
of the slice is implied to be the length of the array; if step is
|
177
|
+
omitted, the step of the slice is implied to be 1. For instance,
|
178
|
+
<code class="literal">$.store.book[:2]</code> matches the first two elements of the book array
|
179
|
+
of the store object.</p></li>
|
180
|
+
</ul></div>
|
181
|
+
<p>More information about JSONPath is available on Stefan Gössner's
|
182
|
+
<a class="ulink" href="http://goessner.net/articles/JsonPath/" target="_top">JSONPath website</a>.</p>
|
177
183
|
</div>
|
178
|
-
<
|
179
|
-
|
180
|
-
</div>
|
181
|
-
<p>
|
182
|
-
</p>
|
183
|
-
<p>
|
184
|
-
</p>
|
185
|
-
<div class="example">
|
186
|
-
<a name="json-path-example"></a><p class="title"><b>Example 1. Example of JsonPath usage</b></p>
|
187
|
-
<div class="example-contents">
|
184
|
+
<div class="refsect3">
|
185
|
+
<a name="id-1.4.3.4.6.6"></a><h4>Example of JSONPath matches</h4>
|
188
186
|
<p>The following example shows some of the results of using <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a>
|
189
|
-
|
190
|
-
|
191
|
-
<
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
"
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
"
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
</
|
187
|
+
on a JSON tree. We use the following JSON description of a bookstore:</p>
|
188
|
+
<div class="informalexample">
|
189
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td class="listing_lines" align="right"><pre>1
|
193
|
+
2
|
194
|
+
3
|
195
|
+
4
|
196
|
+
5
|
197
|
+
6
|
198
|
+
7
|
199
|
+
8
|
200
|
+
9
|
201
|
+
10
|
202
|
+
11
|
203
|
+
12
|
204
|
+
13
|
205
|
+
14
|
206
|
+
15
|
207
|
+
16</pre></td>
|
208
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span><span class="normal"> </span><span class="string">"store"</span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span>
|
209
|
+
<span class="normal"> </span><span class="string">"book"</span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span>
|
210
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"category"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"reference"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"author"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Nigel Rees"</span><span class="symbol">,</span>
|
211
|
+
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Sayings of the Century"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"price"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"8.95"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
212
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"category"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"fiction"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"author"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Evelyn Waugh"</span><span class="symbol">,</span>
|
213
|
+
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Sword of Honour"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"price"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"12.99"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
214
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"category"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"fiction"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"author"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Herman Melville"</span><span class="symbol">,</span>
|
215
|
+
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"Moby Dick"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"isbn"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"0-553-21311-3"</span><span class="symbol">,</span>
|
216
|
+
<span class="normal"> </span><span class="string">"price"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"8.99"</span><span class="normal"> </span><span class="cbracket">}</span><span class="symbol">,</span>
|
217
|
+
<span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"category"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"fiction"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"author"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"J. R. R. Tolkien"</span><span class="symbol">,</span>
|
218
|
+
<span class="normal"> </span><span class="string">"title"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"The Lord of the Rings"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"isbn"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"0-395-19395-8"</span><span class="symbol">,</span>
|
219
|
+
<span class="normal"> </span><span class="string">"price"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"22.99"</span><span class="normal"> </span><span class="cbracket">}</span>
|
220
|
+
<span class="normal"> </span><span class="symbol">],</span>
|
221
|
+
<span class="normal"> </span><span class="string">"bicycle"</span><span class="symbol">:</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"color"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"price"</span><span class="symbol">:</span><span class="normal"> </span><span class="string">"19.95"</span><span class="normal"> </span><span class="cbracket">}</span>
|
222
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
223
|
+
<span class="cbracket">}</span></pre></td>
|
224
|
+
</tr>
|
225
|
+
</tbody>
|
226
|
+
</table>
|
227
|
+
</div>
|
228
|
+
|
229
|
+
<p></p>
|
224
230
|
<p>We can parse the JSON using <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>:</p>
|
225
|
-
<
|
226
|
-
|
227
|
-
|
228
|
-
|
231
|
+
<div class="informalexample">
|
232
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
233
|
+
<tbody>
|
234
|
+
<tr>
|
235
|
+
<td class="listing_lines" align="right"><pre>1
|
236
|
+
2</pre></td>
|
237
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonParser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">parser </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonParser.html#json-parser-new">json_parser_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
238
|
+
<span class="function"><a href="JsonParser.html#json-parser-load-from-data">json_parser_load_from_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parser</span><span class="symbol">,</span><span class="normal"> json_data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span></pre></td>
|
239
|
+
</tr>
|
240
|
+
</tbody>
|
241
|
+
</table>
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<p></p>
|
229
245
|
<p>If we run the following code:</p>
|
230
|
-
<
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
<
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
246
|
+
<div class="informalexample">
|
247
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
248
|
+
<tbody>
|
249
|
+
<tr>
|
250
|
+
<td class="listing_lines" align="right"><pre>1
|
251
|
+
2
|
252
|
+
3
|
253
|
+
4</pre></td>
|
254
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonNode</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">result</span><span class="symbol">;</span>
|
255
|
+
<span class="usertype">JsonPath</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">path </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonPath.html#json-path-new">json_path_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
256
|
+
<span class="function"><a href="JsonPath.html#json-path-compile">json_path_compile</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"$.store..author"</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
257
|
+
<span class="normal">result </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonPath.html#json-path-match">json_path_match</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">path</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="JsonParser.html#json-parser-get-root">json_parser_get_root</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">parser</span><span class="symbol">));</span></pre></td>
|
258
|
+
</tr>
|
259
|
+
</tbody>
|
260
|
+
</table>
|
261
|
+
</div>
|
262
|
+
|
263
|
+
<p></p>
|
264
|
+
<p>The result <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> will contain an array with all values of the
|
265
|
+
author member of the objects in the JSON tree. If we use a
|
266
|
+
<a class="link" href="JsonGenerator.html" title="JsonGenerator"><span class="type">JsonGenerator</span></a> to convert the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> to a string and print it:</p>
|
267
|
+
<div class="informalexample">
|
268
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
269
|
+
<tbody>
|
270
|
+
<tr>
|
271
|
+
<td class="listing_lines" align="right"><pre>1
|
272
|
+
2
|
273
|
+
3
|
274
|
+
4</pre></td>
|
275
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">JsonGenerator</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">generator </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonGenerator.html#json-generator-new">json_generator_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
276
|
+
<span class="function"><a href="JsonGenerator.html#json-generator-set-root">json_generator_set_root</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">generator</span><span class="symbol">,</span><span class="normal"> result</span><span class="symbol">);</span>
|
277
|
+
<span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">str </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="JsonGenerator.html#json-generator-to-data">json_generator_to_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">generator</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
278
|
+
<span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Results: %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> str</span><span class="symbol">);</span></pre></td>
|
279
|
+
</tr>
|
280
|
+
</tbody>
|
281
|
+
</table>
|
282
|
+
</div>
|
283
|
+
|
284
|
+
<p></p>
|
248
285
|
<p>The output will be:</p>
|
249
|
-
<
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
</
|
286
|
+
<div class="informalexample">
|
287
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
288
|
+
<tbody>
|
289
|
+
<tr>
|
290
|
+
<td class="listing_lines" align="right"><pre>1</pre></td>
|
291
|
+
<td class="listing_code"><pre class="programlisting"><span class="symbol">[</span><span class="string">"Nigel Rees"</span><span class="symbol">,</span><span class="string">"Evelyn Waugh"</span><span class="symbol">,</span><span class="string">"Herman Melville"</span><span class="symbol">,</span><span class="string">"J. R. R. Tolkien"</span><span class="symbol">]</span></pre></td>
|
292
|
+
</tr>
|
293
|
+
</tbody>
|
294
|
+
</table>
|
257
295
|
</div>
|
296
|
+
|
297
|
+
<p></p>
|
298
|
+
<p><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> is available since JSON-GLib 0.14</p>
|
258
299
|
</div>
|
259
|
-
<p><br class="example-break">
|
260
|
-
</p>
|
261
|
-
<p>
|
262
|
-
<a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> is available since JSON-GLib 0.14
|
263
|
-
</p>
|
264
300
|
</div>
|
265
301
|
<div class="refsect1">
|
266
|
-
<a name="JsonPath.
|
302
|
+
<a name="JsonPath.functions_details"></a><h2>Functions</h2>
|
267
303
|
<div class="refsect2">
|
268
|
-
<a name="
|
269
|
-
<pre class="programlisting"
|
270
|
-
<
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
<
|
276
|
-
</
|
277
|
-
<
|
278
|
-
<
|
279
|
-
<a name="JsonPathClass"></a><h3>JsonPathClass</h3>
|
280
|
-
<pre class="programlisting">typedef struct _JsonPathClass JsonPathClass;</pre>
|
281
|
-
<p>
|
282
|
-
The <span class="structname">JsonPathClass</span> structure is an opaque
|
283
|
-
object class whose members cannot be directly accessed.
|
284
|
-
</p>
|
285
|
-
<p class="since">Since 0.14</p>
|
304
|
+
<a name="json-path-new"></a><h3>json_path_new ()</h3>
|
305
|
+
<pre class="programlisting"><a class="link" href="JsonPath.html" title="JsonPath"><span class="returnvalue">JsonPath</span></a> *
|
306
|
+
json_path_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
307
|
+
<p>Creates a new <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance.</p>
|
308
|
+
<p>Once created, the <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> object should be used with <a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a>
|
309
|
+
and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>.</p>
|
310
|
+
<div class="refsect3">
|
311
|
+
<a name="id-1.4.3.4.7.2.6"></a><h4>Returns</h4>
|
312
|
+
<p> the newly created <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance. Use
|
313
|
+
<code class="function">g_object_unref()</code> to free the allocated resources when done. </p>
|
314
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
286
315
|
</div>
|
287
|
-
<hr>
|
288
|
-
<div class="refsect2">
|
289
|
-
<a name="json-path-new"></a><h3>json_path_new ()</h3>
|
290
|
-
<pre class="programlisting"><a class="link" href="JsonPath.html" title="JsonPath"><span class="returnvalue">JsonPath</span></a> * json_path_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
291
|
-
<p>
|
292
|
-
Creates a new <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance.
|
293
|
-
</p>
|
294
|
-
<p>
|
295
|
-
Once created, the <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> object should be used with <a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a>
|
296
|
-
and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>.
|
297
|
-
</p>
|
298
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
299
|
-
<colgroup>
|
300
|
-
<col align="left" valign="top">
|
301
|
-
<col>
|
302
|
-
</colgroup>
|
303
|
-
<tbody><tr>
|
304
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
305
|
-
<td>the newly created <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance. Use
|
306
|
-
<code class="function">g_object_unref()</code> to free the allocated resources when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
307
|
-
</td>
|
308
|
-
</tr></tbody>
|
309
|
-
</table></div>
|
310
316
|
<p class="since">Since 0.14</p>
|
311
317
|
</div>
|
312
318
|
<hr>
|
@@ -314,166 +320,193 @@ and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match
|
|
314
320
|
<a name="JSON-PATH-ERROR:CAPS"></a><h3>JSON_PATH_ERROR</h3>
|
315
321
|
<pre class="programlisting">#define JSON_PATH_ERROR (json_path_error_quark ())
|
316
322
|
</pre>
|
317
|
-
<p>
|
318
|
-
Error domain for <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> errors
|
319
|
-
</p>
|
320
|
-
<p class="since">Since 0.14</p>
|
321
|
-
</div>
|
322
|
-
<hr>
|
323
|
-
<div class="refsect2">
|
324
|
-
<a name="JsonPathError"></a><h3>enum JsonPathError</h3>
|
325
|
-
<pre class="programlisting">typedef enum {
|
326
|
-
JSON_PATH_ERROR_INVALID_QUERY
|
327
|
-
} JsonPathError;
|
328
|
-
</pre>
|
329
|
-
<p>
|
330
|
-
Error code enumeration for the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain.
|
331
|
-
</p>
|
332
|
-
<div class="variablelist"><table border="0" class="variablelist">
|
333
|
-
<colgroup>
|
334
|
-
<col align="left" valign="top">
|
335
|
-
<col>
|
336
|
-
</colgroup>
|
337
|
-
<tbody><tr>
|
338
|
-
<td><p><a name="JSON-PATH-ERROR-INVALID-QUERY:CAPS"></a><span class="term"><code class="literal">JSON_PATH_ERROR_INVALID_QUERY</code></span></p></td>
|
339
|
-
<td>Invalid query
|
340
|
-
</td>
|
341
|
-
</tr></tbody>
|
342
|
-
</table></div>
|
323
|
+
<p>Error domain for <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> errors</p>
|
343
324
|
<p class="since">Since 0.14</p>
|
344
325
|
</div>
|
345
326
|
<hr>
|
346
327
|
<div class="refsect2">
|
347
|
-
<a name="json-path-compile"></a><h3>json_path_compile
|
348
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
349
|
-
|
350
|
-
|
351
|
-
<
|
352
|
-
Validates and decomposes <em class="parameter"><code>expression</code></em
|
353
|
-
|
354
|
-
<p>
|
355
|
-
|
356
|
-
</
|
357
|
-
<div class="
|
328
|
+
<a name="json-path-compile"></a><h3>json_path_compile ()</h3>
|
329
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
330
|
+
json_path_compile (<em class="parameter"><code><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> *path</code></em>,
|
331
|
+
<em class="parameter"><code>const <span class="type">char</span> *expression</code></em>,
|
332
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
333
|
+
<p>Validates and decomposes <em class="parameter"><code>expression</code></em>
|
334
|
+
.</p>
|
335
|
+
<p>A JSONPath expression must be compiled before calling <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>.</p>
|
336
|
+
<div class="refsect3">
|
337
|
+
<a name="id-1.4.3.4.7.4.6"></a><h4>Parameters</h4>
|
338
|
+
<div class="informaltable"><table width="100%" border="0">
|
358
339
|
<colgroup>
|
359
|
-
<col
|
360
|
-
<col>
|
340
|
+
<col width="150px" class="parameters_name">
|
341
|
+
<col class="parameters_description">
|
342
|
+
<col width="200px" class="parameters_annotations">
|
361
343
|
</colgroup>
|
362
344
|
<tbody>
|
363
345
|
<tr>
|
364
|
-
<td
|
365
|
-
<td>a <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a>
|
366
|
-
</td>
|
346
|
+
<td class="parameter_name"><p>path</p></td>
|
347
|
+
<td class="parameter_description"><p>a <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a></p></td>
|
348
|
+
<td class="parameter_annotations"> </td>
|
367
349
|
</tr>
|
368
350
|
<tr>
|
369
|
-
<td
|
370
|
-
<td>a JSONPath expression</td>
|
351
|
+
<td class="parameter_name"><p>expression</p></td>
|
352
|
+
<td class="parameter_description"><p>a JSONPath expression</p></td>
|
353
|
+
<td class="parameter_annotations"> </td>
|
371
354
|
</tr>
|
372
355
|
<tr>
|
373
|
-
<td
|
374
|
-
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
375
|
-
</td>
|
376
|
-
</tr>
|
377
|
-
<tr>
|
378
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
379
|
-
<td>
|
380
|
-
<code class="literal">TRUE</code> on success; on error, <em class="parameter"><code>error</code></em> will be set with
|
381
|
-
the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain and a code from the <a class="link" href="JsonPath.html#JsonPathError" title="enum JsonPathError"><span class="type">JsonPathError</span></a>
|
382
|
-
enumeration, and <code class="literal">FALSE</code> will be returned</td>
|
356
|
+
<td class="parameter_name"><p>error</p></td>
|
357
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
358
|
+
<td class="parameter_annotations"> </td>
|
383
359
|
</tr>
|
384
360
|
</tbody>
|
385
361
|
</table></div>
|
362
|
+
</div>
|
363
|
+
<div class="refsect3">
|
364
|
+
<a name="id-1.4.3.4.7.4.7"></a><h4>Returns</h4>
|
365
|
+
<p> <code class="literal">TRUE</code> on success; on error, <em class="parameter"><code>error</code></em>
|
366
|
+
will be set with
|
367
|
+
the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain and a code from the <a class="link" href="JsonPath.html#JsonPathError" title="enum JsonPathError"><span class="type">JsonPathError</span></a>
|
368
|
+
enumeration, and <code class="literal">FALSE</code> will be returned</p>
|
369
|
+
<p></p>
|
370
|
+
</div>
|
386
371
|
<p class="since">Since 0.14</p>
|
387
372
|
</div>
|
388
373
|
<hr>
|
389
374
|
<div class="refsect2">
|
390
|
-
<a name="json-path-match"></a><h3>json_path_match
|
391
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
392
|
-
|
393
|
-
<
|
394
|
-
Matches the JSON tree pointed by <em class="parameter"><code>root</code></em>
|
395
|
-
|
396
|
-
</p>
|
397
|
-
<p>
|
398
|
-
|
399
|
-
|
400
|
-
</
|
401
|
-
<div class="
|
375
|
+
<a name="json-path-match"></a><h3>json_path_match ()</h3>
|
376
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
377
|
+
json_path_match (<em class="parameter"><code><a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> *path</code></em>,
|
378
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *root</code></em>);</pre>
|
379
|
+
<p>Matches the JSON tree pointed by <em class="parameter"><code>root</code></em>
|
380
|
+
using the expression compiled
|
381
|
+
into the <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a>.</p>
|
382
|
+
<p>The matching <a href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNodes</span></a> will be copied into a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> and
|
383
|
+
returned wrapped in a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.</p>
|
384
|
+
<div class="refsect3">
|
385
|
+
<a name="id-1.4.3.4.7.5.6"></a><h4>Parameters</h4>
|
386
|
+
<div class="informaltable"><table width="100%" border="0">
|
402
387
|
<colgroup>
|
403
|
-
<col
|
404
|
-
<col>
|
388
|
+
<col width="150px" class="parameters_name">
|
389
|
+
<col class="parameters_description">
|
390
|
+
<col width="200px" class="parameters_annotations">
|
405
391
|
</colgroup>
|
406
392
|
<tbody>
|
407
393
|
<tr>
|
408
|
-
<td
|
409
|
-
<td>a compiled <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a>
|
410
|
-
</td>
|
394
|
+
<td class="parameter_name"><p>path</p></td>
|
395
|
+
<td class="parameter_description"><p>a compiled <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a></p></td>
|
396
|
+
<td class="parameter_annotations"> </td>
|
411
397
|
</tr>
|
412
398
|
<tr>
|
413
|
-
<td
|
414
|
-
<td>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>
|
415
|
-
</td>
|
416
|
-
</tr>
|
417
|
-
<tr>
|
418
|
-
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
419
|
-
<td>a newly-created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type
|
420
|
-
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a> containing an array of matching <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>s.
|
421
|
-
Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
422
|
-
</td>
|
399
|
+
<td class="parameter_name"><p>root</p></td>
|
400
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a></p></td>
|
401
|
+
<td class="parameter_annotations"> </td>
|
423
402
|
</tr>
|
424
403
|
</tbody>
|
425
404
|
</table></div>
|
405
|
+
</div>
|
406
|
+
<div class="refsect3">
|
407
|
+
<a name="id-1.4.3.4.7.5.7"></a><h4>Returns</h4>
|
408
|
+
<p> a newly-created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type
|
409
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a> containing an array of matching <a href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNodes</span></a>.
|
410
|
+
Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> when done. </p>
|
411
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
412
|
+
</div>
|
426
413
|
<p class="since">Since 0.14</p>
|
427
414
|
</div>
|
428
415
|
<hr>
|
429
416
|
<div class="refsect2">
|
430
|
-
<a name="json-path-query"></a><h3>json_path_query
|
431
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a>
|
432
|
-
|
433
|
-
|
434
|
-
<
|
435
|
-
Queries a JSON tree using a JSONPath expression
|
436
|
-
|
437
|
-
<
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
<
|
417
|
+
<a name="json-path-query"></a><h3>json_path_query ()</h3>
|
418
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
419
|
+
json_path_query (<em class="parameter"><code>const <span class="type">char</span> *expression</code></em>,
|
420
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> *root</code></em>,
|
421
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
422
|
+
<p>Queries a JSON tree using a JSONPath expression.</p>
|
423
|
+
<p>This function is a simple wrapper around <a class="link" href="JsonPath.html#json-path-new" title="json_path_new ()"><code class="function">json_path_new()</code></a>,
|
424
|
+
<a class="link" href="JsonPath.html#json-path-compile" title="json_path_compile ()"><code class="function">json_path_compile()</code></a> and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>. It implicitly
|
425
|
+
creates a <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance, compiles <em class="parameter"><code>expression</code></em>
|
426
|
+
and
|
427
|
+
matches it against the JSON tree pointed by <em class="parameter"><code>root</code></em>
|
428
|
+
.</p>
|
429
|
+
<div class="refsect3">
|
430
|
+
<a name="id-1.4.3.4.7.6.6"></a><h4>Parameters</h4>
|
431
|
+
<div class="informaltable"><table width="100%" border="0">
|
444
432
|
<colgroup>
|
445
|
-
<col
|
446
|
-
<col>
|
433
|
+
<col width="150px" class="parameters_name">
|
434
|
+
<col class="parameters_description">
|
435
|
+
<col width="200px" class="parameters_annotations">
|
447
436
|
</colgroup>
|
448
437
|
<tbody>
|
449
438
|
<tr>
|
450
|
-
<td
|
451
|
-
<td>a JSONPath expression</td>
|
452
|
-
</
|
453
|
-
<tr>
|
454
|
-
<td><p><span class="term"><em class="parameter"><code>root</code></em> :</span></p></td>
|
455
|
-
<td>the root of a JSON tree</td>
|
439
|
+
<td class="parameter_name"><p>expression</p></td>
|
440
|
+
<td class="parameter_description"><p>a JSONPath expression</p></td>
|
441
|
+
<td class="parameter_annotations"> </td>
|
456
442
|
</tr>
|
457
443
|
<tr>
|
458
|
-
<td
|
459
|
-
<td
|
460
|
-
</td>
|
444
|
+
<td class="parameter_name"><p>root</p></td>
|
445
|
+
<td class="parameter_description"><p>the root of a JSON tree</p></td>
|
446
|
+
<td class="parameter_annotations"> </td>
|
461
447
|
</tr>
|
462
448
|
<tr>
|
463
|
-
<td
|
464
|
-
<td
|
465
|
-
<
|
466
|
-
Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> when done. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
467
|
-
</td>
|
449
|
+
<td class="parameter_name"><p>error</p></td>
|
450
|
+
<td class="parameter_description"><p>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code></p></td>
|
451
|
+
<td class="parameter_annotations"> </td>
|
468
452
|
</tr>
|
469
453
|
</tbody>
|
470
454
|
</table></div>
|
455
|
+
</div>
|
456
|
+
<div class="refsect3">
|
457
|
+
<a name="id-1.4.3.4.7.6.7"></a><h4>Returns</h4>
|
458
|
+
<p> a newly-created <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a> of type
|
459
|
+
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a> containing an array of matching <a href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNodes</span></a>.
|
460
|
+
Use <a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> when done. </p>
|
461
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
462
|
+
</div>
|
463
|
+
<p class="since">Since 0.14</p>
|
464
|
+
</div>
|
465
|
+
</div>
|
466
|
+
<div class="refsect1">
|
467
|
+
<a name="JsonPath.other_details"></a><h2>Types and Values</h2>
|
468
|
+
<div class="refsect2">
|
469
|
+
<a name="JsonPath-struct"></a><h3>JsonPath</h3>
|
470
|
+
<pre class="programlisting">typedef struct _JsonPath JsonPath;</pre>
|
471
|
+
<p>The <code class="literal">JsonPath</code> structure is an opaque object whose members cannot be
|
472
|
+
directly accessed except through the provided API.</p>
|
473
|
+
<p class="since">Since 0.14</p>
|
474
|
+
</div>
|
475
|
+
<hr>
|
476
|
+
<div class="refsect2">
|
477
|
+
<a name="JsonPathClass"></a><h3>JsonPathClass</h3>
|
478
|
+
<pre class="programlisting">typedef struct _JsonPathClass JsonPathClass;</pre>
|
479
|
+
<p>The <code class="literal">JsonPathClass</code> structure is an opaque object class whose members
|
480
|
+
cannot be directly accessed.</p>
|
481
|
+
<p class="since">Since 0.14</p>
|
482
|
+
</div>
|
483
|
+
<hr>
|
484
|
+
<div class="refsect2">
|
485
|
+
<a name="JsonPathError"></a><h3>enum JsonPathError</h3>
|
486
|
+
<p>Error code enumeration for the <a class="link" href="JsonPath.html#JSON-PATH-ERROR:CAPS" title="JSON_PATH_ERROR"><code class="literal">JSON_PATH_ERROR</code></a> domain.</p>
|
487
|
+
<div class="refsect3">
|
488
|
+
<a name="id-1.4.3.4.8.4.4"></a><h4>Members</h4>
|
489
|
+
<div class="informaltable"><table width="100%" border="0">
|
490
|
+
<colgroup>
|
491
|
+
<col width="300px" class="enum_members_name">
|
492
|
+
<col class="enum_members_description">
|
493
|
+
<col width="200px" class="enum_members_annotations">
|
494
|
+
</colgroup>
|
495
|
+
<tbody><tr>
|
496
|
+
<td class="enum_member_name"><p><a name="JSON-PATH-ERROR-INVALID-QUERY:CAPS"></a>JSON_PATH_ERROR_INVALID_QUERY</p></td>
|
497
|
+
<td class="enum_member_description">
|
498
|
+
<p>Invalid query</p>
|
499
|
+
</td>
|
500
|
+
<td class="enum_member_annotations"> </td>
|
501
|
+
</tr></tbody>
|
502
|
+
</table></div>
|
503
|
+
</div>
|
471
504
|
<p class="since">Since 0.14</p>
|
472
505
|
</div>
|
473
506
|
</div>
|
474
507
|
</div>
|
475
508
|
<div class="footer">
|
476
509
|
<hr>
|
477
|
-
Generated by GTK-Doc V1.
|
510
|
+
Generated by GTK-Doc V1.20.1</div>
|
478
511
|
</body>
|
479
512
|
</html>
|