clutter 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +9 -2
- data/lib/clutter.rb +19 -6
- data/lib/clutter/color.rb +33 -5
- data/sample/basic-actor.rb +0 -2
- data/sample/bin-layout.rb +0 -2
- data/sample/box-layout.rb +0 -2
- data/sample/canvas.rb +2 -4
- data/sample/constraints.rb +0 -2
- data/sample/drag-action.rb +0 -2
- data/sample/drop-action.rb +4 -6
- data/sample/easing-modes.rb +0 -2
- data/sample/flow-layout.rb +0 -2
- data/sample/grid-layout.rb +0 -2
- data/sample/image-content.rb +0 -2
- data/sample/pan-action.rb +0 -2
- data/sample/rounded-rectangle.rb +0 -2
- data/sample/scroll-actor.rb +0 -2
- data/test/run-test.rb +7 -3
- data/test/test-clutter-color.rb +42 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +9 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +3 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-gobject.h +4 -5
- data/vendor/local/include/json-glib-1.0/json-glib/json-parser.h +3 -1
- data/vendor/local/include/json-glib-1.0/json-glib/json-types.h +29 -3
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +4 -4
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.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 +3 -3
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +1 -1
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +1 -1
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +4 -4
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +2 -2
- data/vendor/local/share/gir-1.0/Json-1.0.gir +224 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/cally/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +29 -43
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +4 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +37 -25
- data/vendor/local/share/gtk-doc/html/clutter/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/license.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +2 -2
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +1 -1
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +69 -27
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +54 -18
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +102 -33
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +23 -8
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +90 -27
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +23 -33
- data/vendor/local/share/gtk-doc/html/json-glib/ch01.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch02.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch03.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ch04.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +10 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +39 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix02.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix03.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix04.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix05.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix06.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix07.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix08.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +34 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +31 -13
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +106 -28
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +40 -18
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +490 -44
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +115 -31
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +30 -9
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +9 -6
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +10 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +2 -2
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.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/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/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/bg/LC_MESSAGES/clutter-1.0.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/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/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/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/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/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/json-glib-1.0.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/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/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/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/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/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/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/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/hi/LC_MESSAGES/clutter-1.0.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/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/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/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/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/kn/LC_MESSAGES/clutter-1.0.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/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/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/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/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/or/LC_MESSAGES/clutter-1.0.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/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/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/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/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/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/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/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/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/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/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/te/LC_MESSAGES/clutter-1.0.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/clutter-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/tr/LC_MESSAGES/clutter-1.0.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/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/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/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/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/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/json-glib-1.0.mo +0 -0
- metadata +90 -10
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JsonParser</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch02.html" title="Parser">
|
9
9
|
<link rel="prev" href="ch02.html" title="Parser">
|
@@ -112,7 +112,8 @@ inside a file or inside a static buffer.
|
|
112
112
|
JSON_PARSER_ERROR_MISSING_COMMA,
|
113
113
|
JSON_PARSER_ERROR_MISSING_COLON,
|
114
114
|
JSON_PARSER_ERROR_INVALID_BAREWORD,
|
115
|
-
|
115
|
+
JSON_PARSER_ERROR_EMPTY_MEMBER_NAME,
|
116
|
+
|
116
117
|
JSON_PARSER_ERROR_UNKNOWN
|
117
118
|
} JsonParserError;
|
118
119
|
</pre>
|
@@ -122,8 +123,11 @@ Error enumeration for <a class="link" href="JsonParser.html" title="JsonParser">
|
|
122
123
|
<p>
|
123
124
|
This enumeration can be extended at later date
|
124
125
|
</p>
|
125
|
-
<div class="variablelist"><table border="0">
|
126
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
127
|
+
<colgroup>
|
126
128
|
<col align="left" valign="top">
|
129
|
+
<col>
|
130
|
+
</colgroup>
|
127
131
|
<tbody>
|
128
132
|
<tr>
|
129
133
|
<td><p><a name="JSON-PARSER-ERROR-PARSE:CAPS"></a><span class="term"><code class="literal">JSON_PARSER_ERROR_PARSE</code></span></p></td>
|
@@ -151,6 +155,11 @@ This enumeration can be extended at later date
|
|
151
155
|
</td>
|
152
156
|
</tr>
|
153
157
|
<tr>
|
158
|
+
<td><p><a name="JSON-PARSER-ERROR-EMPTY-MEMBER-NAME:CAPS"></a><span class="term"><code class="literal">JSON_PARSER_ERROR_EMPTY_MEMBER_NAME</code></span></p></td>
|
159
|
+
<td>empty member name (Since: 0.16)
|
160
|
+
</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
154
163
|
<td><p><a name="JSON-PARSER-ERROR-UNKNOWN:CAPS"></a><span class="term"><code class="literal">JSON_PARSER_ERROR_UNKNOWN</code></span></p></td>
|
155
164
|
<td>unknown error
|
156
165
|
</td>
|
@@ -196,8 +205,11 @@ private and should only be accessed via the provided API.
|
|
196
205
|
<p>
|
197
206
|
<a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> class.
|
198
207
|
</p>
|
199
|
-
<div class="variablelist"><table border="0">
|
208
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
209
|
+
<colgroup>
|
200
210
|
<col align="left" valign="top">
|
211
|
+
<col>
|
212
|
+
</colgroup>
|
201
213
|
<tbody>
|
202
214
|
<tr>
|
203
215
|
<td><p><span class="term"><em class="structfield"><code><a name="JsonParserClass.parse-start"></a>parse_start</code></em> ()</span></p></td>
|
@@ -247,8 +259,11 @@ Creates a new <a class="link" href="JsonParser.html" title="JsonParser"><span cl
|
|
247
259
|
load a JSON stream from either a file or a buffer and then walk the
|
248
260
|
hierarchy using the data types API.
|
249
261
|
</p>
|
250
|
-
<div class="variablelist"><table border="0">
|
262
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
263
|
+
<colgroup>
|
251
264
|
<col align="left" valign="top">
|
265
|
+
<col>
|
266
|
+
</colgroup>
|
252
267
|
<tbody><tr>
|
253
268
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
254
269
|
<td>the newly created <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>. Use <code class="function">g_object_unref()</code>
|
@@ -266,8 +281,11 @@ to release all the memory it allocates.</td>
|
|
266
281
|
Loads a JSON stream from the content of <em class="parameter"><code>filename</code></em> and parses it. See
|
267
282
|
<a class="link" href="JsonParser.html#json-parser-load-from-data" title="json_parser_load_from_data ()"><code class="function">json_parser_load_from_data()</code></a>.
|
268
283
|
</p>
|
269
|
-
<div class="variablelist"><table border="0">
|
284
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
285
|
+
<colgroup>
|
270
286
|
<col align="left" valign="top">
|
287
|
+
<col>
|
288
|
+
</colgroup>
|
271
289
|
<tbody>
|
272
290
|
<tr>
|
273
291
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -280,7 +298,7 @@ Loads a JSON stream from the content of <em class="parameter"><code>filename</co
|
|
280
298
|
</tr>
|
281
299
|
<tr>
|
282
300
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
283
|
-
<td>return location for a <span class="type">GError</span>, or <
|
301
|
+
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
284
302
|
</td>
|
285
303
|
</tr>
|
286
304
|
<tr>
|
@@ -304,8 +322,11 @@ Loads a JSON stream from a buffer and parses it. You can call this function
|
|
304
322
|
multiple times with the same <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> object, but the contents of the
|
305
323
|
parser will be destroyed each time.
|
306
324
|
</p>
|
307
|
-
<div class="variablelist"><table border="0">
|
325
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
326
|
+
<colgroup>
|
308
327
|
<col align="left" valign="top">
|
328
|
+
<col>
|
329
|
+
</colgroup>
|
309
330
|
<tbody>
|
310
331
|
<tr>
|
311
332
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -322,7 +343,7 @@ parser will be destroyed each time.
|
|
322
343
|
</tr>
|
323
344
|
<tr>
|
324
345
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
325
|
-
<td>return location for a <span class="type">GError</span>, or <
|
346
|
+
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
326
347
|
</td>
|
327
348
|
</tr>
|
328
349
|
<tr>
|
@@ -345,13 +366,16 @@ of error, <em class="parameter"><code>error</code></em> is set accordingly and <
|
|
345
366
|
Loads the contents of an input stream and parses them.
|
346
367
|
</p>
|
347
368
|
<p>
|
348
|
-
If <em class="parameter"><code>cancellable</code></em> is not <
|
369
|
+
If <em class="parameter"><code>cancellable</code></em> is not <code class="literal">NULL</code>, then the operation can be cancelled by
|
349
370
|
triggering the <em class="parameter"><code>cancellable</code></em> object from another thread. If the
|
350
371
|
operation was cancelled, the error <code class="literal">G_IO_ERROR_CANCELLED</code> will be set
|
351
372
|
on the passed <em class="parameter"><code>error</code></em>.
|
352
373
|
</p>
|
353
|
-
<div class="variablelist"><table border="0">
|
374
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
375
|
+
<colgroup>
|
354
376
|
<col align="left" valign="top">
|
377
|
+
<col>
|
378
|
+
</colgroup>
|
355
379
|
<tbody>
|
356
380
|
<tr>
|
357
381
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -365,12 +389,12 @@ on the passed <em class="parameter"><code>error</code></em>.
|
|
365
389
|
</tr>
|
366
390
|
<tr>
|
367
391
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
368
|
-
<td>a <span class="type">GCancellable</span>, or <
|
392
|
+
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
369
393
|
</td>
|
370
394
|
</tr>
|
371
395
|
<tr>
|
372
396
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
373
|
-
<td>the return location for a <span class="type">GError</span>, or <
|
397
|
+
<td>the return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
374
398
|
</td>
|
375
399
|
</tr>
|
376
400
|
<tr>
|
@@ -403,8 +427,11 @@ When the operation is finished, <em class="parameter"><code>callback</code></em>
|
|
403
427
|
then call <a class="link" href="JsonParser.html#json-parser-load-from-stream-finish" title="json_parser_load_from_stream_finish ()"><code class="function">json_parser_load_from_stream_finish()</code></a> to get the result
|
404
428
|
of the operation.
|
405
429
|
</p>
|
406
|
-
<div class="variablelist"><table border="0">
|
430
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
431
|
+
<colgroup>
|
407
432
|
<col align="left" valign="top">
|
433
|
+
<col>
|
434
|
+
</colgroup>
|
408
435
|
<tbody>
|
409
436
|
<tr>
|
410
437
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -418,7 +445,7 @@ of the operation.
|
|
418
445
|
</tr>
|
419
446
|
<tr>
|
420
447
|
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
|
421
|
-
<td>a <span class="type">GCancellable</span>, or <
|
448
|
+
<td>a <span class="type">GCancellable</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
422
449
|
</td>
|
423
450
|
</tr>
|
424
451
|
<tr>
|
@@ -444,8 +471,11 @@ of the operation.
|
|
444
471
|
Finishes an asynchronous stream loading started with
|
445
472
|
<a class="link" href="JsonParser.html#json-parser-load-from-stream-async" title="json_parser_load_from_stream_async ()"><code class="function">json_parser_load_from_stream_async()</code></a>.
|
446
473
|
</p>
|
447
|
-
<div class="variablelist"><table border="0">
|
474
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
475
|
+
<colgroup>
|
448
476
|
<col align="left" valign="top">
|
477
|
+
<col>
|
478
|
+
</colgroup>
|
449
479
|
<tbody>
|
450
480
|
<tr>
|
451
481
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -459,7 +489,7 @@ Finishes an asynchronous stream loading started with
|
|
459
489
|
</tr>
|
460
490
|
<tr>
|
461
491
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
462
|
-
<td>the return location for a <span class="type">GError</span> or <
|
492
|
+
<td>the return location for a <span class="type">GError</span> or <code class="literal">NULL</code>
|
463
493
|
</td>
|
464
494
|
</tr>
|
465
495
|
<tr>
|
@@ -480,8 +510,11 @@ filled accordingly.</td>
|
|
480
510
|
<p>
|
481
511
|
Retrieves the top level node from the parsed JSON stream.
|
482
512
|
</p>
|
483
|
-
<div class="variablelist"><table border="0">
|
513
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
514
|
+
<colgroup>
|
484
515
|
<col align="left" valign="top">
|
516
|
+
<col>
|
517
|
+
</colgroup>
|
485
518
|
<tbody>
|
486
519
|
<tr>
|
487
520
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -510,8 +543,11 @@ This function has defined behaviour only while parsing; calling this
|
|
510
543
|
function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
|
511
544
|
yield 0.
|
512
545
|
</p>
|
513
|
-
<div class="variablelist"><table border="0">
|
546
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
547
|
+
<colgroup>
|
514
548
|
<col align="left" valign="top">
|
549
|
+
<col>
|
550
|
+
</colgroup>
|
515
551
|
<tbody>
|
516
552
|
<tr>
|
517
553
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -538,8 +574,11 @@ This function has defined behaviour only while parsing; calling this
|
|
538
574
|
function from outside the signal handlers emitted by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> will
|
539
575
|
yield 0.
|
540
576
|
</p>
|
541
|
-
<div class="variablelist"><table border="0">
|
577
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
578
|
+
<colgroup>
|
542
579
|
<col align="left" valign="top">
|
580
|
+
<col>
|
581
|
+
</colgroup>
|
543
582
|
<tbody>
|
544
583
|
<tr>
|
545
584
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -568,7 +607,7 @@ A JSON data stream might sometimes contain an assignment, like:
|
|
568
607
|
<tbody>
|
569
608
|
<tr>
|
570
609
|
<td class="listing_lines" align="right"><pre>1</pre></td>
|
571
|
-
<td class="listing_code"><pre class="programlisting"><span class="
|
610
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">var</span><span class="normal"> _json_data </span><span class="symbol">=</span><span class="normal"> </span><span class="cbracket">{</span><span class="normal"> </span><span class="string">"member_name"</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="symbol">[</span><span class="normal"> </span><span class="symbol">...</span></pre></td>
|
572
611
|
</tr>
|
573
612
|
</tbody>
|
574
613
|
</table>
|
@@ -585,8 +624,11 @@ hand value of the assignment. <a class="link" href="JsonParser.html" title="Json
|
|
585
624
|
existence of the assignment in the data stream and the variable name
|
586
625
|
used.
|
587
626
|
</p>
|
588
|
-
<div class="variablelist"><table border="0">
|
627
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
628
|
+
<colgroup>
|
589
629
|
<col align="left" valign="top">
|
630
|
+
<col>
|
631
|
+
</colgroup>
|
590
632
|
<tbody>
|
591
633
|
<tr>
|
592
634
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -596,14 +638,14 @@ used.
|
|
596
638
|
<tr>
|
597
639
|
<td><p><span class="term"><em class="parameter"><code>variable_name</code></em> :</span></p></td>
|
598
640
|
<td>Return location for the variable
|
599
|
-
name, or <
|
641
|
+
name, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
600
642
|
</td>
|
601
643
|
</tr>
|
602
644
|
<tr>
|
603
645
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
604
646
|
<td>
|
605
647
|
<code class="literal">TRUE</code> if there was an assignment, <code class="literal">FALSE</code> otherwise. If
|
606
|
-
<em class="parameter"><code>variable_name</code></em> is not <
|
648
|
+
<em class="parameter"><code>variable_name</code></em> is not <code class="literal">NULL</code> it will be set to the name of the variable
|
607
649
|
used in the assignment. The string is owned by <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> and should
|
608
650
|
never be modified or freed.</td>
|
609
651
|
</tr>
|
@@ -625,8 +667,11 @@ The ::array-element signal is emitted each time the <a class="link" href="JsonPa
|
|
625
667
|
has successfully parsed a single element of a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>. The
|
626
668
|
array and element index are passed to the signal handlers.
|
627
669
|
</p>
|
628
|
-
<div class="variablelist"><table border="0">
|
670
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
671
|
+
<colgroup>
|
629
672
|
<col align="left" valign="top">
|
673
|
+
<col>
|
674
|
+
</colgroup>
|
630
675
|
<tbody>
|
631
676
|
<tr>
|
632
677
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -658,8 +703,11 @@ array and element index are passed to the signal handlers.
|
|
658
703
|
The ::array-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
659
704
|
has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
660
705
|
</p>
|
661
|
-
<div class="variablelist"><table border="0">
|
706
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
707
|
+
<colgroup>
|
662
708
|
<col align="left" valign="top">
|
709
|
+
<col>
|
710
|
+
</colgroup>
|
663
711
|
<tbody>
|
664
712
|
<tr>
|
665
713
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -686,8 +734,11 @@ has successfully parsed an entire <a class="link" href="json-glib-JSON-Array.htm
|
|
686
734
|
The ::array-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
687
735
|
starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a>
|
688
736
|
</p>
|
689
|
-
<div class="variablelist"><table border="0">
|
737
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
738
|
+
<colgroup>
|
690
739
|
<col align="left" valign="top">
|
740
|
+
<col>
|
741
|
+
</colgroup>
|
691
742
|
<tbody>
|
692
743
|
<tr>
|
693
744
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -710,8 +761,11 @@ starts parsing a <a class="link" href="json-glib-JSON-Array.html#JsonArray" titl
|
|
710
761
|
The ::error signal is emitted each time a <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a> encounters
|
711
762
|
an error in a JSON stream.
|
712
763
|
</p>
|
713
|
-
<div class="variablelist"><table border="0">
|
764
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
765
|
+
<colgroup>
|
714
766
|
<col align="left" valign="top">
|
767
|
+
<col>
|
768
|
+
</colgroup>
|
715
769
|
<tbody>
|
716
770
|
<tr>
|
717
771
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -739,8 +793,11 @@ an error in a JSON stream.
|
|
739
793
|
The ::object-end signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
740
794
|
has successfully parsed an entire <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>.
|
741
795
|
</p>
|
742
|
-
<div class="variablelist"><table border="0">
|
796
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
797
|
+
<colgroup>
|
743
798
|
<col align="left" valign="top">
|
799
|
+
<col>
|
800
|
+
</colgroup>
|
744
801
|
<tbody>
|
745
802
|
<tr>
|
746
803
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -770,8 +827,11 @@ The ::object-member signal is emitted each time the <a class="link" href="JsonPa
|
|
770
827
|
has successfully parsed a single member of a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>. The
|
771
828
|
object and member are passed to the signal handlers.
|
772
829
|
</p>
|
773
|
-
<div class="variablelist"><table border="0">
|
830
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
831
|
+
<colgroup>
|
774
832
|
<col align="left" valign="top">
|
833
|
+
<col>
|
834
|
+
</colgroup>
|
775
835
|
<tbody>
|
776
836
|
<tr>
|
777
837
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -802,8 +862,11 @@ object and member are passed to the signal handlers.
|
|
802
862
|
The ::object-start signal is emitted each time the <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>
|
803
863
|
starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject" title="JsonObject"><span class="type">JsonObject</span></a>.
|
804
864
|
</p>
|
805
|
-
<div class="variablelist"><table border="0">
|
865
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
866
|
+
<colgroup>
|
806
867
|
<col align="left" valign="top">
|
868
|
+
<col>
|
869
|
+
</colgroup>
|
807
870
|
<tbody>
|
808
871
|
<tr>
|
809
872
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -825,8 +888,11 @@ starts parsing a <a class="link" href="json-glib-JSON-Object.html#JsonObject" ti
|
|
825
888
|
The ::parse-end signal is emitted when the parser successfully
|
826
889
|
finished parsing a JSON data stream
|
827
890
|
</p>
|
828
|
-
<div class="variablelist"><table border="0">
|
891
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
892
|
+
<colgroup>
|
829
893
|
<col align="left" valign="top">
|
894
|
+
<col>
|
895
|
+
</colgroup>
|
830
896
|
<tbody>
|
831
897
|
<tr>
|
832
898
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -848,8 +914,11 @@ finished parsing a JSON data stream
|
|
848
914
|
The ::parse-start signal is emitted when the parser began parsing
|
849
915
|
a JSON data stream.
|
850
916
|
</p>
|
851
|
-
<div class="variablelist"><table border="0">
|
917
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
918
|
+
<colgroup>
|
852
919
|
<col align="left" valign="top">
|
920
|
+
<col>
|
921
|
+
</colgroup>
|
853
922
|
<tbody>
|
854
923
|
<tr>
|
855
924
|
<td><p><span class="term"><em class="parameter"><code>parser</code></em> :</span></p></td>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>JsonPath</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
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">
|
@@ -295,8 +295,11 @@ Creates a new <a class="link" href="JsonPath.html" title="JsonPath"><span class=
|
|
295
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
296
|
and <a class="link" href="JsonPath.html#json-path-match" title="json_path_match ()"><code class="function">json_path_match()</code></a>.
|
297
297
|
</p>
|
298
|
-
<div class="variablelist"><table border="0">
|
298
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
299
|
+
<colgroup>
|
299
300
|
<col align="left" valign="top">
|
301
|
+
<col>
|
302
|
+
</colgroup>
|
300
303
|
<tbody><tr>
|
301
304
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
302
305
|
<td>the newly created <a class="link" href="JsonPath.html" title="JsonPath"><span class="type">JsonPath</span></a> instance. Use
|
@@ -326,8 +329,11 @@ Error domain for <a class="link" href="JsonPath.html" title="JsonPath"><span cla
|
|
326
329
|
<p>
|
327
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.
|
328
331
|
</p>
|
329
|
-
<div class="variablelist"><table border="0">
|
332
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
333
|
+
<colgroup>
|
330
334
|
<col align="left" valign="top">
|
335
|
+
<col>
|
336
|
+
</colgroup>
|
331
337
|
<tbody><tr>
|
332
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>
|
333
339
|
<td>Invalid query
|
@@ -348,8 +354,11 @@ Validates and decomposes <em class="parameter"><code>expression</code></em>.
|
|
348
354
|
<p>
|
349
355
|
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>.
|
350
356
|
</p>
|
351
|
-
<div class="variablelist"><table border="0">
|
357
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
358
|
+
<colgroup>
|
352
359
|
<col align="left" valign="top">
|
360
|
+
<col>
|
361
|
+
</colgroup>
|
353
362
|
<tbody>
|
354
363
|
<tr>
|
355
364
|
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
@@ -362,7 +371,7 @@ A JSONPath expression must be compiled before calling <a class="link" href="Json
|
|
362
371
|
</tr>
|
363
372
|
<tr>
|
364
373
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
365
|
-
<td>return location for a <span class="type">GError</span>, or <
|
374
|
+
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
366
375
|
</td>
|
367
376
|
</tr>
|
368
377
|
<tr>
|
@@ -389,8 +398,11 @@ into the <a class="link" href="JsonPath.html" title="JsonPath"><span class="type
|
|
389
398
|
The matching <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>s will be copied into a <a class="link" href="json-glib-JSON-Array.html#JsonArray" title="JsonArray"><span class="type">JsonArray</span></a> and
|
390
399
|
returned wrapped in a <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"><span class="type">JsonNode</span></a>.
|
391
400
|
</p>
|
392
|
-
<div class="variablelist"><table border="0">
|
401
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
402
|
+
<colgroup>
|
393
403
|
<col align="left" valign="top">
|
404
|
+
<col>
|
405
|
+
</colgroup>
|
394
406
|
<tbody>
|
395
407
|
<tr>
|
396
408
|
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
@@ -428,8 +440,11 @@ This function is a simple wrapper around <a class="link" href="JsonPath.html#jso
|
|
428
440
|
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> and
|
429
441
|
matches it against the JSON tree pointed by <em class="parameter"><code>root</code></em>.
|
430
442
|
</p>
|
431
|
-
<div class="variablelist"><table border="0">
|
443
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
444
|
+
<colgroup>
|
432
445
|
<col align="left" valign="top">
|
446
|
+
<col>
|
447
|
+
</colgroup>
|
433
448
|
<tbody>
|
434
449
|
<tr>
|
435
450
|
<td><p><span class="term"><em class="parameter"><code>expression</code></em> :</span></p></td>
|
@@ -441,7 +456,7 @@ matches it against the JSON tree pointed by <em class="parameter"><code>root</co
|
|
441
456
|
</tr>
|
442
457
|
<tr>
|
443
458
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
444
|
-
<td>return location for a <span class="type">GError</span>, or <
|
459
|
+
<td>return location for a <span class="type">GError</span>, or <code class="literal">NULL</code>
|
445
460
|
</td>
|
446
461
|
</tr>
|
447
462
|
<tr>
|