clutter 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -5
- data/lib/clutter.rb +19 -2
- data/lib/clutter/version.rb +28 -0
- data/test/run-test.rb +10 -4
- data/test/test-clutter-version.rb +47 -0
- 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-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/clutter/clutter-actor.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-constraint.h +11 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-enum-types.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-enums.h +25 -7
- data/vendor/local/include/clutter-1.0/clutter/clutter-group.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-keyframe-transition.h +4 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-keysyms.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-stage.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-texture.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +15 -5
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-alpha.h +6 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animation.h +4 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-animator.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-fixed.h +2 -1
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-keysyms.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-rectangle.h +2 -2
- data/vendor/local/include/clutter-1.0/clutter/deprecated/clutter-texture.h +9 -9
- data/vendor/local/include/cogl/cogl/cogl-defines.h +3 -3
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +3 -0
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +52 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +14 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +18 -0
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +59 -0
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +2 -0
- data/vendor/local/include/cogl/cogl/cogl-types.h +15 -0
- data/vendor/local/include/cogl/cogl/cogl-version.h +10 -0
- data/vendor/local/include/cogl/cogl/cogl.h +3 -0
- data/vendor/local/include/json-glib-1.0/json-glib/json-enum-types.h +4 -4
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- 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/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 +5 -5
- data/vendor/local/lib/libcogl-path.dll.a +0 -0
- data/vendor/local/lib/libcogl-path.la +6 -6
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +6 -6
- 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 +1 -1
- data/vendor/local/lib/pkgconfig/cogl-path-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-path-2.0-experimental.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 +581 -121
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +26 -2
- data/vendor/local/share/gir-1.0/Cogl-2.0.gir +108 -2
- data/vendor/local/share/gir-1.0/Json-1.0.gir +60 -14
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +18 -23
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +6 -8
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +6 -6
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +7 -10
- data/vendor/local/share/gtk-doc/html/cally/cally.devhelp2 +1 -2
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +8 -4
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +11 -12
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +10 -11
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +4 -5
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/index.html +11 -12
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +2 -0
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/license.html +3 -4
- data/vendor/local/share/gtk-doc/html/cally/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +6 -6
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +665 -592
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +13 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +15 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +103 -51
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +10 -13
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +36 -43
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +21 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +24 -30
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +10 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +31 -39
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +10 -12
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +11 -12
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +25 -28
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +18 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +12 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +21 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +5 -7
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +101 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +39 -50
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +13 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +20 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +14 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +9 -10
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +20 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +9 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +8 -10
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +24 -8
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +43 -40
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +9 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +13 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +8 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +13 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +25 -30
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +11 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +6 -7
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +6 -8
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +30 -37
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +35 -43
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +26 -33
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +11 -10
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +13 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +173 -90
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +21 -20
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +21 -23
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +7 -8
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +7 -9
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +34 -43
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +40 -52
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +20 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +11 -14
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +14 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +21 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +25 -33
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +36 -47
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +9 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +57 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +7 -10
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +25 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +31 -41
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +9 -12
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +17 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +64 -77
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +47 -56
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +9 -12
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +77 -60
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +6 -8
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +110 -138
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +23 -32
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +212 -94
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +49 -68
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +24 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +9 -11
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +13 -17
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +18 -5
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +6 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +109 -136
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Cairo-integration.html +164 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +9 -14
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +13 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +13 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +29 -35
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +9 -13
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +195 -220
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +7 -10
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +33 -12
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +84 -86
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +85 -65
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +7 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +18 -23
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +23 -24
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +34 -41
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +13 -14
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +29 -36
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +61 -48
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +36 -41
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +43 -32
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +4 -5
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +18 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +8 -13
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +125 -71
- data/vendor/local/share/gtk-doc/html/clutter/clutter-clutter-mir.html +206 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +449 -96
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +6 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +6 -4
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +4 -5
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.html +14 -5
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +362 -0
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +77 -22
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +63 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +55 -5
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +35 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +4 -5
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +4 -5
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +7 -8
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +12 -13
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +5 -6
- data/vendor/local/share/gtk-doc/html/clutter/ix15.html +110 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix16.html +103 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix17.html +59 -0
- data/vendor/local/share/gtk-doc/html/clutter/ix18.html +97 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +5 -6
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +7 -8
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +12 -13
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +5 -6
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +3 -4
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +41 -4
- data/vendor/local/share/gtk-doc/html/clutter/style.css +9 -6
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +3 -4
- data/vendor/local/share/gtk-doc/html/json-glib/JsonBuilder.html +14 -13
- data/vendor/local/share/gtk-doc/html/json-glib/JsonGenerator.html +13 -13
- data/vendor/local/share/gtk-doc/html/json-glib/JsonParser.html +23 -23
- data/vendor/local/share/gtk-doc/html/json-glib/JsonPath.html +16 -16
- data/vendor/local/share/gtk-doc/html/json-glib/JsonReader.html +17 -17
- data/vendor/local/share/gtk-doc/html/json-glib/annotation-glossary.html +6 -6
- 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/ch05.html +7 -3
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +5 -3
- data/vendor/local/share/gtk-doc/html/json-glib/index.sgml +29 -3
- data/vendor/local/share/gtk-doc/html/json-glib/ix01.html +6 -6
- 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 +13 -5
- data/vendor/local/share/gtk-doc/html/json-glib/ix09.html +67 -0
- data/vendor/local/share/gtk-doc/html/json-glib/ix10.html +39 -0
- data/vendor/local/share/gtk-doc/html/json-glib/json-advanced.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-base.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-format-tool.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Boxed-Types-Serialization.html +29 -29
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-GObject-Serialization.html +10 -10
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Array.html +149 -142
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-GVariant-Integration.html +14 -14
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Node.html +247 -240
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-JSON-Object.html +150 -143
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Serializable-Interface.html +84 -18
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +6 -6
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.devhelp2 +27 -5
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-streams.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-tools.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/json-validate-tool.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/license.html +3 -3
- data/vendor/local/share/gtk-doc/html/json-glib/tools.html +3 -3
- 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/bs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bs/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/kk/LC_MESSAGES/clutter-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 +27 -12
@@ -2,13 +2,13 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>JSON
|
5
|
+
<title>JSON GVariant Integration: JSON-GLib Reference Manual</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="json-advanced.html" title="Part IV. JSON-GLib Advanced API">
|
9
9
|
<link rel="prev" href="json-glib-Boxed-Types-Serialization.html" title="Boxed Types Serialization">
|
10
10
|
<link rel="next" href="json-glib-Versioning-information.html" title="Versioning information">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.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">
|
@@ -41,7 +41,7 @@
|
|
41
41
|
<tbody>
|
42
42
|
<tr>
|
43
43
|
<td class="function_type">
|
44
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
44
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
45
45
|
</td>
|
46
46
|
<td class="function_name">
|
47
47
|
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()">json_gvariant_serialize</a> <span class="c_punctuation">()</span>
|
@@ -77,10 +77,10 @@
|
|
77
77
|
<div class="refsect1">
|
78
78
|
<a name="json-glib-JSON-GVariant-Integration.description"></a><h2>Description</h2>
|
79
79
|
<p>Use <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize" title="json_gvariant_serialize ()"><code class="function">json_gvariant_serialize()</code></a> and <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-serialize-data" title="json_gvariant_serialize_data ()"><code class="function">json_gvariant_serialize_data()</code></a> to
|
80
|
-
convert from any <span class="type">GVariant</span> value to a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
80
|
+
convert from any <span class="type">GVariant</span> value to a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> tree or its string
|
81
81
|
representation.</p>
|
82
82
|
<p>Use <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> and <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize-data" title="json_gvariant_deserialize_data ()"><code class="function">json_gvariant_deserialize_data()</code></a> to
|
83
|
-
obtain the <span class="type">GVariant</span> value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
83
|
+
obtain the <span class="type">GVariant</span> value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> tree or directly from a JSON
|
84
84
|
string.</p>
|
85
85
|
<p>Since many <span class="type">GVariant</span> data types cannot be directly represented as
|
86
86
|
JSON, a <span class="type">GVariant</span> type string (signature) should be provided to these
|
@@ -121,7 +121,7 @@ using the following rules:</p>
|
|
121
121
|
<a name="json-glib-JSON-GVariant-Integration.functions_details"></a><h2>Functions</h2>
|
122
122
|
<div class="refsect2">
|
123
123
|
<a name="json-gvariant-serialize"></a><h3>json_gvariant_serialize ()</h3>
|
124
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
124
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
125
125
|
json_gvariant_serialize (<em class="parameter"><code><span class="type">GVariant</span> *variant</code></em>);</pre>
|
126
126
|
<p>Converts <em class="parameter"><code>variant</code></em>
|
127
127
|
to a JSON tree.</p>
|
@@ -142,7 +142,7 @@ json_gvariant_serialize (<em class="parameter"><code><span class="type">GVariant
|
|
142
142
|
</div>
|
143
143
|
<div class="refsect3">
|
144
144
|
<a name="id-1.5.5.5.2.6"></a><h4>Returns</h4>
|
145
|
-
<p> A <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
145
|
+
<p> A <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> representing the root of the
|
146
146
|
JSON data structure obtained from <em class="parameter"><code>variant</code></em>
|
147
147
|
. </p>
|
148
148
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
@@ -177,7 +177,7 @@ JSON tree, and then <a class="link" href="JsonGenerator.html" title="JsonGenerat
|
|
177
177
|
<td class="parameter_name"><p>length</p></td>
|
178
178
|
<td class="parameter_description"><p> Return location for the length of the returned
|
179
179
|
string, or <code class="literal">NULL</code>. </p></td>
|
180
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is
|
180
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
181
181
|
</tr>
|
182
182
|
</tbody>
|
183
183
|
</table></div>
|
@@ -195,7 +195,7 @@ string, or <code class="literal">NULL</code>. </p></td>
|
|
195
195
|
<div class="refsect2">
|
196
196
|
<a name="json-gvariant-deserialize"></a><h3>json_gvariant_deserialize ()</h3>
|
197
197
|
<pre class="programlisting"><span class="returnvalue">GVariant</span> *
|
198
|
-
json_gvariant_deserialize (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
198
|
+
json_gvariant_deserialize (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *json_node</code></em>,
|
199
199
|
<em class="parameter"><code>const <span class="type">gchar</span> *signature</code></em>,
|
200
200
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
201
201
|
<p>Converts a JSON data structure to a GVariant value using <em class="parameter"><code>signature</code></em>
|
@@ -225,13 +225,13 @@ by the caller code.</p>
|
|
225
225
|
<tbody>
|
226
226
|
<tr>
|
227
227
|
<td class="parameter_name"><p>json_node</p></td>
|
228
|
-
<td class="parameter_description"><p>A <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
228
|
+
<td class="parameter_description"><p>A <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to convert</p></td>
|
229
229
|
<td class="parameter_annotations"> </td>
|
230
230
|
</tr>
|
231
231
|
<tr>
|
232
232
|
<td class="parameter_name"><p>signature</p></td>
|
233
233
|
<td class="parameter_description"><p> A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. </p></td>
|
234
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
234
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
235
235
|
</tr>
|
236
236
|
<tr>
|
237
237
|
<td class="parameter_name"><p>error</p></td>
|
@@ -260,7 +260,7 @@ json_gvariant_deserialize_data (<em class="parameter"><code>const <span class="t
|
|
260
260
|
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
261
261
|
<p>Converts a JSON string to a <span class="type">GVariant</span> value. This method works exactly
|
262
262
|
like <a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a>, but takes a JSON encoded string instead.
|
263
|
-
The string is first converted to a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
263
|
+
The string is first converted to a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> using <a class="link" href="JsonParser.html" title="JsonParser"><span class="type">JsonParser</span></a>, and then
|
264
264
|
<a class="link" href="json-glib-JSON-GVariant-Integration.html#json-gvariant-deserialize" title="json_gvariant_deserialize ()"><code class="function">json_gvariant_deserialize()</code></a> is called.</p>
|
265
265
|
<p>The returned variant has a floating reference that will need to be sunk
|
266
266
|
by the caller code.</p>
|
@@ -287,7 +287,7 @@ by the caller code.</p>
|
|
287
287
|
<tr>
|
288
288
|
<td class="parameter_name"><p>signature</p></td>
|
289
289
|
<td class="parameter_description"><p> A valid <span class="type">GVariant</span> type string, or <code class="literal">NULL</code>. </p></td>
|
290
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
290
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
291
291
|
</tr>
|
292
292
|
<tr>
|
293
293
|
<td class="parameter_name"><p>error</p></td>
|
@@ -313,6 +313,6 @@ with <em class="parameter"><code>signature</code></em>
|
|
313
313
|
</div>
|
314
314
|
<div class="footer">
|
315
315
|
<hr>
|
316
|
-
Generated by GTK-Doc V1.
|
316
|
+
Generated by GTK-Doc V1.21.1</div>
|
317
317
|
</body>
|
318
318
|
</html>
|
@@ -2,20 +2,21 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>JSON-GLib Reference Manual
|
5
|
+
<title>JSON Node: JSON-GLib Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="JSON-GLib Reference Manual">
|
8
8
|
<link rel="up" href="ch01.html" title="Data Types">
|
9
9
|
<link rel="prev" href="ch01.html" title="Data Types">
|
10
10
|
<link rel="next" href="json-glib-JSON-Array.html" title="JSON Array">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.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
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
16
16
|
<td width="100%" align="left" class="shortcuts">
|
17
17
|
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
-
<a href="#json-glib-JSON-Node.description" class="shortcut">Description</a></span>
|
18
|
+
<a href="#json-glib-JSON-Node.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#json-glib-JSON-Node.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
|
19
20
|
</td>
|
20
21
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
21
22
|
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
@@ -77,7 +78,7 @@
|
|
77
78
|
</tr>
|
78
79
|
<tr>
|
79
80
|
<td class="function_type">
|
80
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
81
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
81
82
|
</td>
|
82
83
|
<td class="function_name">
|
83
84
|
<a class="link" href="json-glib-JSON-Node.html#json-node-alloc" title="json_node_alloc ()">json_node_alloc</a> <span class="c_punctuation">()</span>
|
@@ -85,7 +86,7 @@
|
|
85
86
|
</tr>
|
86
87
|
<tr>
|
87
88
|
<td class="function_type">
|
88
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
89
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
89
90
|
</td>
|
90
91
|
<td class="function_name">
|
91
92
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()">json_node_init</a> <span class="c_punctuation">()</span>
|
@@ -93,7 +94,7 @@
|
|
93
94
|
</tr>
|
94
95
|
<tr>
|
95
96
|
<td class="function_type">
|
96
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
97
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
97
98
|
</td>
|
98
99
|
<td class="function_name">
|
99
100
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-int" title="json_node_init_int ()">json_node_init_int</a> <span class="c_punctuation">()</span>
|
@@ -101,7 +102,7 @@
|
|
101
102
|
</tr>
|
102
103
|
<tr>
|
103
104
|
<td class="function_type">
|
104
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
105
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
105
106
|
</td>
|
106
107
|
<td class="function_name">
|
107
108
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-double" title="json_node_init_double ()">json_node_init_double</a> <span class="c_punctuation">()</span>
|
@@ -109,7 +110,7 @@
|
|
109
110
|
</tr>
|
110
111
|
<tr>
|
111
112
|
<td class="function_type">
|
112
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
113
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
113
114
|
</td>
|
114
115
|
<td class="function_name">
|
115
116
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-boolean" title="json_node_init_boolean ()">json_node_init_boolean</a> <span class="c_punctuation">()</span>
|
@@ -117,7 +118,7 @@
|
|
117
118
|
</tr>
|
118
119
|
<tr>
|
119
120
|
<td class="function_type">
|
120
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
121
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
121
122
|
</td>
|
122
123
|
<td class="function_name">
|
123
124
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-string" title="json_node_init_string ()">json_node_init_string</a> <span class="c_punctuation">()</span>
|
@@ -125,7 +126,7 @@
|
|
125
126
|
</tr>
|
126
127
|
<tr>
|
127
128
|
<td class="function_type">
|
128
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
129
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
129
130
|
</td>
|
130
131
|
<td class="function_name">
|
131
132
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-null" title="json_node_init_null ()">json_node_init_null</a> <span class="c_punctuation">()</span>
|
@@ -133,7 +134,7 @@
|
|
133
134
|
</tr>
|
134
135
|
<tr>
|
135
136
|
<td class="function_type">
|
136
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
137
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
137
138
|
</td>
|
138
139
|
<td class="function_name">
|
139
140
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-object" title="json_node_init_object ()">json_node_init_object</a> <span class="c_punctuation">()</span>
|
@@ -141,7 +142,7 @@
|
|
141
142
|
</tr>
|
142
143
|
<tr>
|
143
144
|
<td class="function_type">
|
144
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
145
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
145
146
|
</td>
|
146
147
|
<td class="function_name">
|
147
148
|
<a class="link" href="json-glib-JSON-Node.html#json-node-init-array" title="json_node_init_array ()">json_node_init_array</a> <span class="c_punctuation">()</span>
|
@@ -149,7 +150,7 @@
|
|
149
150
|
</tr>
|
150
151
|
<tr>
|
151
152
|
<td class="function_type">
|
152
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
153
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
153
154
|
</td>
|
154
155
|
<td class="function_name">
|
155
156
|
<a class="link" href="json-glib-JSON-Node.html#json-node-new" title="json_node_new ()">json_node_new</a> <span class="c_punctuation">()</span>
|
@@ -157,7 +158,7 @@
|
|
157
158
|
</tr>
|
158
159
|
<tr>
|
159
160
|
<td class="function_type">
|
160
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
161
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
161
162
|
</td>
|
162
163
|
<td class="function_name">
|
163
164
|
<a class="link" href="json-glib-JSON-Node.html#json-node-copy" title="json_node_copy ()">json_node_copy</a> <span class="c_punctuation">()</span>
|
@@ -189,7 +190,7 @@
|
|
189
190
|
</tr>
|
190
191
|
<tr>
|
191
192
|
<td class="function_type">
|
192
|
-
<a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
193
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
193
194
|
</td>
|
194
195
|
<td class="function_name">
|
195
196
|
<a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()">json_node_get_array</a> <span class="c_punctuation">()</span>
|
@@ -197,7 +198,7 @@
|
|
197
198
|
</tr>
|
198
199
|
<tr>
|
199
200
|
<td class="function_type">
|
200
|
-
<a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
201
|
+
<a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
201
202
|
</td>
|
202
203
|
<td class="function_name">
|
203
204
|
<a class="link" href="json-glib-JSON-Node.html#json-node-dup-array" title="json_node_dup_array ()">json_node_dup_array</a> <span class="c_punctuation">()</span>
|
@@ -221,7 +222,7 @@
|
|
221
222
|
</tr>
|
222
223
|
<tr>
|
223
224
|
<td class="function_type">
|
224
|
-
<a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
225
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
225
226
|
</td>
|
226
227
|
<td class="function_name">
|
227
228
|
<a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()">json_node_get_object</a> <span class="c_punctuation">()</span>
|
@@ -229,7 +230,7 @@
|
|
229
230
|
</tr>
|
230
231
|
<tr>
|
231
232
|
<td class="function_type">
|
232
|
-
<a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
233
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
233
234
|
</td>
|
234
235
|
<td class="function_name">
|
235
236
|
<a class="link" href="json-glib-JSON-Node.html#json-node-dup-object" title="json_node_dup_object ()">json_node_dup_object</a> <span class="c_punctuation">()</span>
|
@@ -332,7 +333,7 @@
|
|
332
333
|
</tr>
|
333
334
|
<tr>
|
334
335
|
<td class="function_type">
|
335
|
-
<a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
336
|
+
<a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
336
337
|
</td>
|
337
338
|
<td class="function_name">
|
338
339
|
<a class="link" href="json-glib-JSON-Node.html#json-node-get-parent" title="json_node_get_parent ()">json_node_get_parent</a> <span class="c_punctuation">()</span>
|
@@ -372,7 +373,7 @@
|
|
372
373
|
</tbody>
|
373
374
|
</table></div>
|
374
375
|
</div>
|
375
|
-
<div class="refsect1">
|
376
|
+
<a name="JsonNode"></a><div class="refsect1">
|
376
377
|
<a name="json-glib-JSON-Node.other"></a><h2>Types and Values</h2>
|
377
378
|
<div class="informaltable"><table width="100%" border="0">
|
378
379
|
<colgroup>
|
@@ -386,14 +387,20 @@
|
|
386
387
|
</tr>
|
387
388
|
<tr>
|
388
389
|
<td class="datatype_keyword"> </td>
|
389
|
-
<td class="function_name"><a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode">JsonNode</a></td>
|
390
|
+
<td class="function_name"><a class="link" href="json-glib-JSON-Node.html#JsonNode-struct" title="JsonNode">JsonNode</a></td>
|
390
391
|
</tr>
|
391
392
|
</tbody>
|
392
393
|
</table></div>
|
393
394
|
</div>
|
394
395
|
<div class="refsect1">
|
396
|
+
<a name="json-glib-JSON-Node.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
397
|
+
<pre class="screen"> GBoxed
|
398
|
+
<span class="lineart">╰──</span> JsonNode
|
399
|
+
</pre>
|
400
|
+
</div>
|
401
|
+
<div class="refsect1">
|
395
402
|
<a name="json-glib-JSON-Node.description"></a><h2>Description</h2>
|
396
|
-
<p>A <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
403
|
+
<p>A <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> is a generic container of elements inside a JSON stream.
|
397
404
|
It can contain fundamental types (integers, booleans, floating point
|
398
405
|
numbers, strings) and complex types (arrays and objects).</p>
|
399
406
|
<p>When parsing a JSON data stream you extract the root node and walk
|
@@ -402,7 +409,7 @@ node with the <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-TYPE:CAPS
|
|
402
409
|
type you can retrieve a copy of the <span class="type">GValue</span> holding it with the
|
403
410
|
<a class="link" href="json-glib-JSON-Node.html#json-node-get-value" title="json_node_get_value ()"><code class="function">json_node_get_value()</code></a> function, and then use the <span class="type">GValue</span> API to extract
|
404
411
|
the data; if the node contains a complex type you can retrieve the
|
405
|
-
<a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
412
|
+
<a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> or the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> using <a class="link" href="json-glib-JSON-Node.html#json-node-get-object" title="json_node_get_object ()"><code class="function">json_node_get_object()</code></a> or
|
406
413
|
<a class="link" href="json-glib-JSON-Node.html#json-node-get-array" title="json_node_get_array ()"><code class="function">json_node_get_array()</code></a> respectively, and then retrieve the nodes
|
407
414
|
they contain.</p>
|
408
415
|
</div>
|
@@ -415,7 +422,7 @@ they contain.</p>
|
|
415
422
|
<p>Evaluates to the <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> contained by <em class="parameter"><code>node</code></em>
|
416
423
|
</p>
|
417
424
|
<div class="refsect3">
|
418
|
-
<a name="id-1.3.3.2.
|
425
|
+
<a name="id-1.3.3.2.8.2.5"></a><h4>Parameters</h4>
|
419
426
|
<div class="informaltable"><table width="100%" border="0">
|
420
427
|
<colgroup>
|
421
428
|
<col width="150px" class="parameters_name">
|
@@ -424,7 +431,7 @@ they contain.</p>
|
|
424
431
|
</colgroup>
|
425
432
|
<tbody><tr>
|
426
433
|
<td class="parameter_name"><p>node</p></td>
|
427
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
434
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
428
435
|
<td class="parameter_annotations"> </td>
|
429
436
|
</tr></tbody>
|
430
437
|
</table></div>
|
@@ -439,7 +446,7 @@ they contain.</p>
|
|
439
446
|
holds type <em class="parameter"><code>t</code></em>
|
440
447
|
</p>
|
441
448
|
<div class="refsect3">
|
442
|
-
<a name="id-1.3.3.2.
|
449
|
+
<a name="id-1.3.3.2.8.3.5"></a><h4>Parameters</h4>
|
443
450
|
<div class="informaltable"><table width="100%" border="0">
|
444
451
|
<colgroup>
|
445
452
|
<col width="150px" class="parameters_name">
|
@@ -449,7 +456,7 @@ they contain.</p>
|
|
449
456
|
<tbody>
|
450
457
|
<tr>
|
451
458
|
<td class="parameter_name"><p>node</p></td>
|
452
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
459
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
453
460
|
<td class="parameter_annotations"> </td>
|
454
461
|
</tr>
|
455
462
|
<tr>
|
@@ -470,7 +477,7 @@ they contain.</p>
|
|
470
477
|
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
471
478
|
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p>
|
472
479
|
<div class="refsect3">
|
473
|
-
<a name="id-1.3.3.2.
|
480
|
+
<a name="id-1.3.3.2.8.4.5"></a><h4>Parameters</h4>
|
474
481
|
<div class="informaltable"><table width="100%" border="0">
|
475
482
|
<colgroup>
|
476
483
|
<col width="150px" class="parameters_name">
|
@@ -479,7 +486,7 @@ they contain.</p>
|
|
479
486
|
</colgroup>
|
480
487
|
<tbody><tr>
|
481
488
|
<td class="parameter_name"><p>node</p></td>
|
482
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
489
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
483
490
|
<td class="parameter_annotations"> </td>
|
484
491
|
</tr></tbody>
|
485
492
|
</table></div>
|
@@ -494,7 +501,7 @@ they contain.</p>
|
|
494
501
|
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
495
502
|
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p>
|
496
503
|
<div class="refsect3">
|
497
|
-
<a name="id-1.3.3.2.
|
504
|
+
<a name="id-1.3.3.2.8.5.5"></a><h4>Parameters</h4>
|
498
505
|
<div class="informaltable"><table width="100%" border="0">
|
499
506
|
<colgroup>
|
500
507
|
<col width="150px" class="parameters_name">
|
@@ -503,7 +510,7 @@ they contain.</p>
|
|
503
510
|
</colgroup>
|
504
511
|
<tbody><tr>
|
505
512
|
<td class="parameter_name"><p>node</p></td>
|
506
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
513
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
507
514
|
<td class="parameter_annotations"> </td>
|
508
515
|
</tr></tbody>
|
509
516
|
</table></div>
|
@@ -518,7 +525,7 @@ they contain.</p>
|
|
518
525
|
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
519
526
|
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p>
|
520
527
|
<div class="refsect3">
|
521
|
-
<a name="id-1.3.3.2.
|
528
|
+
<a name="id-1.3.3.2.8.6.5"></a><h4>Parameters</h4>
|
522
529
|
<div class="informaltable"><table width="100%" border="0">
|
523
530
|
<colgroup>
|
524
531
|
<col width="150px" class="parameters_name">
|
@@ -527,7 +534,7 @@ they contain.</p>
|
|
527
534
|
</colgroup>
|
528
535
|
<tbody><tr>
|
529
536
|
<td class="parameter_name"><p>node</p></td>
|
530
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
537
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
531
538
|
<td class="parameter_annotations"> </td>
|
532
539
|
</tr></tbody>
|
533
540
|
</table></div>
|
@@ -542,7 +549,7 @@ they contain.</p>
|
|
542
549
|
<p>Evaluates to <code class="literal">TRUE</code> if <em class="parameter"><code>node</code></em>
|
543
550
|
holds a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a></p>
|
544
551
|
<div class="refsect3">
|
545
|
-
<a name="id-1.3.3.2.
|
552
|
+
<a name="id-1.3.3.2.8.7.5"></a><h4>Parameters</h4>
|
546
553
|
<div class="informaltable"><table width="100%" border="0">
|
547
554
|
<colgroup>
|
548
555
|
<col width="150px" class="parameters_name">
|
@@ -551,7 +558,7 @@ they contain.</p>
|
|
551
558
|
</colgroup>
|
552
559
|
<tbody><tr>
|
553
560
|
<td class="parameter_name"><p>node</p></td>
|
554
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
561
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
555
562
|
<td class="parameter_annotations"> </td>
|
556
563
|
</tr></tbody>
|
557
564
|
</table></div>
|
@@ -561,13 +568,13 @@ they contain.</p>
|
|
561
568
|
<hr>
|
562
569
|
<div class="refsect2">
|
563
570
|
<a name="json-node-alloc"></a><h3>json_node_alloc ()</h3>
|
564
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
571
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
565
572
|
json_node_alloc (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
566
|
-
<p>Allocates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
573
|
+
<p>Allocates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. Use <a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()"><code class="function">json_node_init()</code></a> and its variants
|
567
574
|
to initialize the returned value.</p>
|
568
575
|
<div class="refsect3">
|
569
|
-
<a name="id-1.3.3.2.
|
570
|
-
<p> the newly allocated <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
576
|
+
<a name="id-1.3.3.2.8.8.5"></a><h4>Returns</h4>
|
577
|
+
<p> the newly allocated <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. Use
|
571
578
|
<a class="link" href="json-glib-JSON-Node.html#json-node-free" title="json_node_free ()"><code class="function">json_node_free()</code></a> to free the resources allocated by this function. </p>
|
572
579
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
573
580
|
</div>
|
@@ -576,8 +583,8 @@ to initialize the returned value.</p>
|
|
576
583
|
<hr>
|
577
584
|
<div class="refsect2">
|
578
585
|
<a name="json-node-init"></a><h3>json_node_init ()</h3>
|
579
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
580
|
-
json_node_init (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
586
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
587
|
+
json_node_init (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
581
588
|
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> type</code></em>);</pre>
|
582
589
|
<p>Initializes a <em class="parameter"><code>node</code></em>
|
583
590
|
to a specific <em class="parameter"><code>type</code></em>
|
@@ -585,7 +592,7 @@ json_node_init (<em class="parameter"><code><a class="link" href="json-glib-JSON
|
|
585
592
|
<p>If the node has already been initialized once, it will be reset to
|
586
593
|
the given type, and any data contained will be cleared.</p>
|
587
594
|
<div class="refsect3">
|
588
|
-
<a name="id-1.3.3.2.
|
595
|
+
<a name="id-1.3.3.2.8.9.6"></a><h4>Parameters</h4>
|
589
596
|
<div class="informaltable"><table width="100%" border="0">
|
590
597
|
<colgroup>
|
591
598
|
<col width="150px" class="parameters_name">
|
@@ -595,7 +602,7 @@ the given type, and any data contained will be cleared.</p>
|
|
595
602
|
<tbody>
|
596
603
|
<tr>
|
597
604
|
<td class="parameter_name"><p>node</p></td>
|
598
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
605
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
599
606
|
<td class="parameter_annotations"> </td>
|
600
607
|
</tr>
|
601
608
|
<tr>
|
@@ -608,8 +615,8 @@ to</p></td>
|
|
608
615
|
</table></div>
|
609
616
|
</div>
|
610
617
|
<div class="refsect3">
|
611
|
-
<a name="id-1.3.3.2.
|
612
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
618
|
+
<a name="id-1.3.3.2.8.9.7"></a><h4>Returns</h4>
|
619
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
613
620
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
614
621
|
</div>
|
615
622
|
<p class="since">Since 0.16</p>
|
@@ -617,8 +624,8 @@ to</p></td>
|
|
617
624
|
<hr>
|
618
625
|
<div class="refsect2">
|
619
626
|
<a name="json-node-init-int"></a><h3>json_node_init_int ()</h3>
|
620
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
621
|
-
json_node_init_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
627
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
628
|
+
json_node_init_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
622
629
|
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
623
630
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
624
631
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
@@ -626,7 +633,7 @@ json_node_init_int (<em class="parameter"><code><a class="link" href="json-glib-
|
|
626
633
|
<p>If the node has already been initialized once, it will be reset to
|
627
634
|
the given type, and any data contained will be cleared.</p>
|
628
635
|
<div class="refsect3">
|
629
|
-
<a name="id-1.3.3.2.
|
636
|
+
<a name="id-1.3.3.2.8.10.6"></a><h4>Parameters</h4>
|
630
637
|
<div class="informaltable"><table width="100%" border="0">
|
631
638
|
<colgroup>
|
632
639
|
<col width="150px" class="parameters_name">
|
@@ -636,7 +643,7 @@ the given type, and any data contained will be cleared.</p>
|
|
636
643
|
<tbody>
|
637
644
|
<tr>
|
638
645
|
<td class="parameter_name"><p>node</p></td>
|
639
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
646
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
640
647
|
<td class="parameter_annotations"> </td>
|
641
648
|
</tr>
|
642
649
|
<tr>
|
@@ -648,8 +655,8 @@ the given type, and any data contained will be cleared.</p>
|
|
648
655
|
</table></div>
|
649
656
|
</div>
|
650
657
|
<div class="refsect3">
|
651
|
-
<a name="id-1.3.3.2.
|
652
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
658
|
+
<a name="id-1.3.3.2.8.10.7"></a><h4>Returns</h4>
|
659
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
653
660
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
654
661
|
</div>
|
655
662
|
<p class="since">Since 0.16</p>
|
@@ -657,8 +664,8 @@ the given type, and any data contained will be cleared.</p>
|
|
657
664
|
<hr>
|
658
665
|
<div class="refsect2">
|
659
666
|
<a name="json-node-init-double"></a><h3>json_node_init_double ()</h3>
|
660
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
661
|
-
json_node_init_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
667
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
668
|
+
json_node_init_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
662
669
|
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
663
670
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
664
671
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
@@ -666,7 +673,7 @@ json_node_init_double (<em class="parameter"><code><a class="link" href="json-gl
|
|
666
673
|
<p>If the node has already been initialized once, it will be reset to
|
667
674
|
the given type, and any data contained will be cleared.</p>
|
668
675
|
<div class="refsect3">
|
669
|
-
<a name="id-1.3.3.2.
|
676
|
+
<a name="id-1.3.3.2.8.11.6"></a><h4>Parameters</h4>
|
670
677
|
<div class="informaltable"><table width="100%" border="0">
|
671
678
|
<colgroup>
|
672
679
|
<col width="150px" class="parameters_name">
|
@@ -676,7 +683,7 @@ the given type, and any data contained will be cleared.</p>
|
|
676
683
|
<tbody>
|
677
684
|
<tr>
|
678
685
|
<td class="parameter_name"><p>node</p></td>
|
679
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
686
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
680
687
|
<td class="parameter_annotations"> </td>
|
681
688
|
</tr>
|
682
689
|
<tr>
|
@@ -688,8 +695,8 @@ the given type, and any data contained will be cleared.</p>
|
|
688
695
|
</table></div>
|
689
696
|
</div>
|
690
697
|
<div class="refsect3">
|
691
|
-
<a name="id-1.3.3.2.
|
692
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
698
|
+
<a name="id-1.3.3.2.8.11.7"></a><h4>Returns</h4>
|
699
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
693
700
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
694
701
|
</div>
|
695
702
|
<p class="since">Since 0.16</p>
|
@@ -697,8 +704,8 @@ the given type, and any data contained will be cleared.</p>
|
|
697
704
|
<hr>
|
698
705
|
<div class="refsect2">
|
699
706
|
<a name="json-node-init-boolean"></a><h3>json_node_init_boolean ()</h3>
|
700
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
701
|
-
json_node_init_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
707
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
708
|
+
json_node_init_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
702
709
|
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
703
710
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
704
711
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
@@ -706,7 +713,7 @@ json_node_init_boolean (<em class="parameter"><code><a class="link" href="json-g
|
|
706
713
|
<p>If the node has already been initialized once, it will be reset to
|
707
714
|
the given type, and any data contained will be cleared.</p>
|
708
715
|
<div class="refsect3">
|
709
|
-
<a name="id-1.3.3.2.
|
716
|
+
<a name="id-1.3.3.2.8.12.6"></a><h4>Parameters</h4>
|
710
717
|
<div class="informaltable"><table width="100%" border="0">
|
711
718
|
<colgroup>
|
712
719
|
<col width="150px" class="parameters_name">
|
@@ -716,7 +723,7 @@ the given type, and any data contained will be cleared.</p>
|
|
716
723
|
<tbody>
|
717
724
|
<tr>
|
718
725
|
<td class="parameter_name"><p>node</p></td>
|
719
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
726
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
720
727
|
<td class="parameter_annotations"> </td>
|
721
728
|
</tr>
|
722
729
|
<tr>
|
@@ -728,8 +735,8 @@ the given type, and any data contained will be cleared.</p>
|
|
728
735
|
</table></div>
|
729
736
|
</div>
|
730
737
|
<div class="refsect3">
|
731
|
-
<a name="id-1.3.3.2.
|
732
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
738
|
+
<a name="id-1.3.3.2.8.12.7"></a><h4>Returns</h4>
|
739
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
733
740
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
734
741
|
</div>
|
735
742
|
<p class="since">Since 0.16</p>
|
@@ -737,8 +744,8 @@ the given type, and any data contained will be cleared.</p>
|
|
737
744
|
<hr>
|
738
745
|
<div class="refsect2">
|
739
746
|
<a name="json-node-init-string"></a><h3>json_node_init_string ()</h3>
|
740
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
741
|
-
json_node_init_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
747
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
748
|
+
json_node_init_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
742
749
|
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
|
743
750
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
744
751
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a> and sets <em class="parameter"><code>value</code></em>
|
@@ -746,7 +753,7 @@ json_node_init_string (<em class="parameter"><code><a class="link" href="json-gl
|
|
746
753
|
<p>If the node has already been initialized once, it will be reset to
|
747
754
|
the given type, and any data contained will be cleared.</p>
|
748
755
|
<div class="refsect3">
|
749
|
-
<a name="id-1.3.3.2.
|
756
|
+
<a name="id-1.3.3.2.8.13.6"></a><h4>Parameters</h4>
|
750
757
|
<div class="informaltable"><table width="100%" border="0">
|
751
758
|
<colgroup>
|
752
759
|
<col width="150px" class="parameters_name">
|
@@ -756,20 +763,20 @@ the given type, and any data contained will be cleared.</p>
|
|
756
763
|
<tbody>
|
757
764
|
<tr>
|
758
765
|
<td class="parameter_name"><p>node</p></td>
|
759
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
766
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
760
767
|
<td class="parameter_annotations"> </td>
|
761
768
|
</tr>
|
762
769
|
<tr>
|
763
770
|
<td class="parameter_name"><p>value</p></td>
|
764
771
|
<td class="parameter_description"><p> a string value. </p></td>
|
765
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
772
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
766
773
|
</tr>
|
767
774
|
</tbody>
|
768
775
|
</table></div>
|
769
776
|
</div>
|
770
777
|
<div class="refsect3">
|
771
|
-
<a name="id-1.3.3.2.
|
772
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
778
|
+
<a name="id-1.3.3.2.8.13.7"></a><h4>Returns</h4>
|
779
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
773
780
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
774
781
|
</div>
|
775
782
|
<p class="since">Since 0.16</p>
|
@@ -777,14 +784,14 @@ the given type, and any data contained will be cleared.</p>
|
|
777
784
|
<hr>
|
778
785
|
<div class="refsect2">
|
779
786
|
<a name="json-node-init-null"></a><h3>json_node_init_null ()</h3>
|
780
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
781
|
-
json_node_init_null (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
787
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
788
|
+
json_node_init_null (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
782
789
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
783
790
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>.</p>
|
784
791
|
<p>If the node has already been initialized once, it will be reset to
|
785
792
|
the given type, and any data contained will be cleared.</p>
|
786
793
|
<div class="refsect3">
|
787
|
-
<a name="id-1.3.3.2.
|
794
|
+
<a name="id-1.3.3.2.8.14.6"></a><h4>Parameters</h4>
|
788
795
|
<div class="informaltable"><table width="100%" border="0">
|
789
796
|
<colgroup>
|
790
797
|
<col width="150px" class="parameters_name">
|
@@ -793,14 +800,14 @@ the given type, and any data contained will be cleared.</p>
|
|
793
800
|
</colgroup>
|
794
801
|
<tbody><tr>
|
795
802
|
<td class="parameter_name"><p>node</p></td>
|
796
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
803
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
797
804
|
<td class="parameter_annotations"> </td>
|
798
805
|
</tr></tbody>
|
799
806
|
</table></div>
|
800
807
|
</div>
|
801
808
|
<div class="refsect3">
|
802
|
-
<a name="id-1.3.3.2.
|
803
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
809
|
+
<a name="id-1.3.3.2.8.14.7"></a><h4>Returns</h4>
|
810
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
804
811
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
805
812
|
</div>
|
806
813
|
<p class="since">Since 0.16</p>
|
@@ -808,9 +815,9 @@ the given type, and any data contained will be cleared.</p>
|
|
808
815
|
<hr>
|
809
816
|
<div class="refsect2">
|
810
817
|
<a name="json-node-init-object"></a><h3>json_node_init_object ()</h3>
|
811
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
812
|
-
json_node_init_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
813
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
818
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
819
|
+
json_node_init_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
820
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
|
814
821
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
815
822
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a> and sets <em class="parameter"><code>object</code></em>
|
816
823
|
into it.</p>
|
@@ -819,7 +826,7 @@ json_node_init_object (<em class="parameter"><code><a class="link" href="json-gl
|
|
819
826
|
<p>If the node has already been initialized once, it will be reset to
|
820
827
|
the given type, and any data contained will be cleared.</p>
|
821
828
|
<div class="refsect3">
|
822
|
-
<a name="id-1.3.3.2.
|
829
|
+
<a name="id-1.3.3.2.8.15.7"></a><h4>Parameters</h4>
|
823
830
|
<div class="informaltable"><table width="100%" border="0">
|
824
831
|
<colgroup>
|
825
832
|
<col width="150px" class="parameters_name">
|
@@ -829,21 +836,21 @@ the given type, and any data contained will be cleared.</p>
|
|
829
836
|
<tbody>
|
830
837
|
<tr>
|
831
838
|
<td class="parameter_name"><p>node</p></td>
|
832
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
839
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
833
840
|
<td class="parameter_annotations"> </td>
|
834
841
|
</tr>
|
835
842
|
<tr>
|
836
843
|
<td class="parameter_name"><p>object</p></td>
|
837
|
-
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
844
|
+
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> to initialize <em class="parameter"><code>node</code></em>
|
838
845
|
with, or <code class="literal">NULL</code>. </p></td>
|
839
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
846
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
840
847
|
</tr>
|
841
848
|
</tbody>
|
842
849
|
</table></div>
|
843
850
|
</div>
|
844
851
|
<div class="refsect3">
|
845
|
-
<a name="id-1.3.3.2.
|
846
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
852
|
+
<a name="id-1.3.3.2.8.15.8"></a><h4>Returns</h4>
|
853
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
847
854
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
848
855
|
</div>
|
849
856
|
<p class="since">Since 0.16</p>
|
@@ -851,9 +858,9 @@ with, or <code class="literal">NULL</code>. </p></td>
|
|
851
858
|
<hr>
|
852
859
|
<div class="refsect2">
|
853
860
|
<a name="json-node-init-array"></a><h3>json_node_init_array ()</h3>
|
854
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
855
|
-
json_node_init_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
856
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
861
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
862
|
+
json_node_init_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
863
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
857
864
|
<p>Initializes <em class="parameter"><code>node</code></em>
|
858
865
|
to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a> and sets <em class="parameter"><code>array</code></em>
|
859
866
|
into it.</p>
|
@@ -862,7 +869,7 @@ json_node_init_array (<em class="parameter"><code><a class="link" href="json-gli
|
|
862
869
|
<p>If the node has already been initialized once, it will be reset to
|
863
870
|
the given type, and any data contained will be cleared.</p>
|
864
871
|
<div class="refsect3">
|
865
|
-
<a name="id-1.3.3.2.
|
872
|
+
<a name="id-1.3.3.2.8.16.7"></a><h4>Parameters</h4>
|
866
873
|
<div class="informaltable"><table width="100%" border="0">
|
867
874
|
<colgroup>
|
868
875
|
<col width="150px" class="parameters_name">
|
@@ -872,21 +879,21 @@ the given type, and any data contained will be cleared.</p>
|
|
872
879
|
<tbody>
|
873
880
|
<tr>
|
874
881
|
<td class="parameter_name"><p>node</p></td>
|
875
|
-
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
882
|
+
<td class="parameter_description"><p>the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> to initialize</p></td>
|
876
883
|
<td class="parameter_annotations"> </td>
|
877
884
|
</tr>
|
878
885
|
<tr>
|
879
886
|
<td class="parameter_name"><p>array</p></td>
|
880
|
-
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
887
|
+
<td class="parameter_description"><p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> to initialize <em class="parameter"><code>node</code></em>
|
881
888
|
with, or <code class="literal">NULL</code>. </p></td>
|
882
|
-
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is
|
889
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
883
890
|
</tr>
|
884
891
|
</tbody>
|
885
892
|
</table></div>
|
886
893
|
</div>
|
887
894
|
<div class="refsect3">
|
888
|
-
<a name="id-1.3.3.2.
|
889
|
-
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
895
|
+
<a name="id-1.3.3.2.8.16.8"></a><h4>Returns</h4>
|
896
|
+
<p> the initialized <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
890
897
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
891
898
|
</div>
|
892
899
|
<p class="since">Since 0.16</p>
|
@@ -894,9 +901,9 @@ with, or <code class="literal">NULL</code>. </p></td>
|
|
894
901
|
<hr>
|
895
902
|
<div class="refsect2">
|
896
903
|
<a name="json-node-new"></a><h3>json_node_new ()</h3>
|
897
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
904
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
898
905
|
json_node_new (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> type</code></em>);</pre>
|
899
|
-
<p>Creates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
906
|
+
<p>Creates a new <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>type</code></em>
|
900
907
|
.</p>
|
901
908
|
<p>This is a convenience function for <a class="link" href="json-glib-JSON-Node.html#json-node-alloc" title="json_node_alloc ()"><code class="function">json_node_alloc()</code></a> and <a class="link" href="json-glib-JSON-Node.html#json-node-init" title="json_node_init ()"><code class="function">json_node_init()</code></a>,
|
902
909
|
and it's the equivalent of:</p>
|
@@ -913,7 +920,7 @@ and it's the equivalent of:</p>
|
|
913
920
|
|
914
921
|
<p></p>
|
915
922
|
<div class="refsect3">
|
916
|
-
<a name="id-1.3.3.2.
|
923
|
+
<a name="id-1.3.3.2.8.17.8"></a><h4>Parameters</h4>
|
917
924
|
<div class="informaltable"><table width="100%" border="0">
|
918
925
|
<colgroup>
|
919
926
|
<col width="150px" class="parameters_name">
|
@@ -928,21 +935,21 @@ and it's the equivalent of:</p>
|
|
928
935
|
</table></div>
|
929
936
|
</div>
|
930
937
|
<div class="refsect3">
|
931
|
-
<a name="id-1.3.3.2.
|
932
|
-
<p> the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
938
|
+
<a name="id-1.3.3.2.8.17.9"></a><h4>Returns</h4>
|
939
|
+
<p> the newly created <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
933
940
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
934
941
|
</div>
|
935
942
|
</div>
|
936
943
|
<hr>
|
937
944
|
<div class="refsect2">
|
938
945
|
<a name="json-node-copy"></a><h3>json_node_copy ()</h3>
|
939
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
940
|
-
json_node_copy (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
946
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
947
|
+
json_node_copy (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
941
948
|
<p>Copies <em class="parameter"><code>node</code></em>
|
942
949
|
. If the node contains complex data types then the reference
|
943
950
|
count of the objects is increased.</p>
|
944
951
|
<div class="refsect3">
|
945
|
-
<a name="id-1.3.3.2.
|
952
|
+
<a name="id-1.3.3.2.8.18.5"></a><h4>Parameters</h4>
|
946
953
|
<div class="informaltable"><table width="100%" border="0">
|
947
954
|
<colgroup>
|
948
955
|
<col width="150px" class="parameters_name">
|
@@ -951,14 +958,14 @@ count of the objects is increased.</p>
|
|
951
958
|
</colgroup>
|
952
959
|
<tbody><tr>
|
953
960
|
<td class="parameter_name"><p>node</p></td>
|
954
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
961
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
955
962
|
<td class="parameter_annotations"> </td>
|
956
963
|
</tr></tbody>
|
957
964
|
</table></div>
|
958
965
|
</div>
|
959
966
|
<div class="refsect3">
|
960
|
-
<a name="id-1.3.3.2.
|
961
|
-
<p> the copied <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
967
|
+
<a name="id-1.3.3.2.8.18.6"></a><h4>Returns</h4>
|
968
|
+
<p> the copied <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>. </p>
|
962
969
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
963
970
|
</div>
|
964
971
|
</div>
|
@@ -966,11 +973,11 @@ count of the objects is increased.</p>
|
|
966
973
|
<div class="refsect2">
|
967
974
|
<a name="json-node-free"></a><h3>json_node_free ()</h3>
|
968
975
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
969
|
-
json_node_free (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
976
|
+
json_node_free (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
970
977
|
<p>Frees the resources allocated by <em class="parameter"><code>node</code></em>
|
971
978
|
.</p>
|
972
979
|
<div class="refsect3">
|
973
|
-
<a name="id-1.3.3.2.
|
980
|
+
<a name="id-1.3.3.2.8.19.5"></a><h4>Parameters</h4>
|
974
981
|
<div class="informaltable"><table width="100%" border="0">
|
975
982
|
<colgroup>
|
976
983
|
<col width="150px" class="parameters_name">
|
@@ -979,7 +986,7 @@ json_node_free (<em class="parameter"><code><a class="link" href="json-glib-JSON
|
|
979
986
|
</colgroup>
|
980
987
|
<tbody><tr>
|
981
988
|
<td class="parameter_name"><p>node</p></td>
|
982
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
989
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
983
990
|
<td class="parameter_annotations"> </td>
|
984
991
|
</tr></tbody>
|
985
992
|
</table></div>
|
@@ -989,13 +996,13 @@ json_node_free (<em class="parameter"><code><a class="link" href="json-glib-JSON
|
|
989
996
|
<div class="refsect2">
|
990
997
|
<a name="json-node-set-array"></a><h3>json_node_set_array ()</h3>
|
991
998
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
992
|
-
json_node_set_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
993
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
999
|
+
json_node_set_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1000
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
994
1001
|
<p>Sets <em class="parameter"><code>array</code></em>
|
995
1002
|
inside <em class="parameter"><code>node</code></em>
|
996
|
-
and increases the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1003
|
+
and increases the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> reference count</p>
|
997
1004
|
<div class="refsect3">
|
998
|
-
<a name="id-1.3.3.2.
|
1005
|
+
<a name="id-1.3.3.2.8.20.5"></a><h4>Parameters</h4>
|
999
1006
|
<div class="informaltable"><table width="100%" border="0">
|
1000
1007
|
<colgroup>
|
1001
1008
|
<col width="150px" class="parameters_name">
|
@@ -1005,12 +1012,12 @@ json_node_set_array (<em class="parameter"><code><a class="link" href="json-glib
|
|
1005
1012
|
<tbody>
|
1006
1013
|
<tr>
|
1007
1014
|
<td class="parameter_name"><p>node</p></td>
|
1008
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1015
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p></td>
|
1009
1016
|
<td class="parameter_annotations"> </td>
|
1010
1017
|
</tr>
|
1011
1018
|
<tr>
|
1012
1019
|
<td class="parameter_name"><p>array</p></td>
|
1013
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1020
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p></td>
|
1014
1021
|
<td class="parameter_annotations"> </td>
|
1015
1022
|
</tr>
|
1016
1023
|
</tbody>
|
@@ -1021,13 +1028,13 @@ json_node_set_array (<em class="parameter"><code><a class="link" href="json-glib
|
|
1021
1028
|
<div class="refsect2">
|
1022
1029
|
<a name="json-node-take-array"></a><h3>json_node_take_array ()</h3>
|
1023
1030
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1024
|
-
json_node_take_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1025
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1031
|
+
json_node_take_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1032
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> *array</code></em>);</pre>
|
1026
1033
|
<p>Sets <em class="parameter"><code>array</code></em>
|
1027
1034
|
into <em class="parameter"><code>node</code></em>
|
1028
|
-
without increasing the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1035
|
+
without increasing the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> reference count.</p>
|
1029
1036
|
<div class="refsect3">
|
1030
|
-
<a name="id-1.3.3.2.
|
1037
|
+
<a name="id-1.3.3.2.8.21.5"></a><h4>Parameters</h4>
|
1031
1038
|
<div class="informaltable"><table width="100%" border="0">
|
1032
1039
|
<colgroup>
|
1033
1040
|
<col width="150px" class="parameters_name">
|
@@ -1037,12 +1044,12 @@ json_node_take_array (<em class="parameter"><code><a class="link" href="json-gli
|
|
1037
1044
|
<tbody>
|
1038
1045
|
<tr>
|
1039
1046
|
<td class="parameter_name"><p>node</p></td>
|
1040
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1047
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-ARRAY:CAPS"><code class="literal">JSON_NODE_ARRAY</code></a></p></td>
|
1041
1048
|
<td class="parameter_annotations"> </td>
|
1042
1049
|
</tr>
|
1043
1050
|
<tr>
|
1044
1051
|
<td class="parameter_name"><p>array</p></td>
|
1045
|
-
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1052
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>. </p></td>
|
1046
1053
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1047
1054
|
</tr>
|
1048
1055
|
</tbody>
|
@@ -1052,11 +1059,11 @@ json_node_take_array (<em class="parameter"><code><a class="link" href="json-gli
|
|
1052
1059
|
<hr>
|
1053
1060
|
<div class="refsect2">
|
1054
1061
|
<a name="json-node-get-array"></a><h3>json_node_get_array ()</h3>
|
1055
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1056
|
-
json_node_get_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1057
|
-
<p>Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1062
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
1063
|
+
json_node_get_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1064
|
+
<p>Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1058
1065
|
<div class="refsect3">
|
1059
|
-
<a name="id-1.3.3.2.
|
1066
|
+
<a name="id-1.3.3.2.8.22.5"></a><h4>Parameters</h4>
|
1060
1067
|
<div class="informaltable"><table width="100%" border="0">
|
1061
1068
|
<colgroup>
|
1062
1069
|
<col width="150px" class="parameters_name">
|
@@ -1065,26 +1072,26 @@ json_node_get_array (<em class="parameter"><code><a class="link" href="json-glib
|
|
1065
1072
|
</colgroup>
|
1066
1073
|
<tbody><tr>
|
1067
1074
|
<td class="parameter_name"><p>node</p></td>
|
1068
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1075
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1069
1076
|
<td class="parameter_annotations"> </td>
|
1070
1077
|
</tr></tbody>
|
1071
1078
|
</table></div>
|
1072
1079
|
</div>
|
1073
1080
|
<div class="refsect3">
|
1074
|
-
<a name="id-1.3.3.2.
|
1075
|
-
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1081
|
+
<a name="id-1.3.3.2.8.22.6"></a><h4>Returns</h4>
|
1082
|
+
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a>. </p>
|
1076
1083
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1077
1084
|
</div>
|
1078
1085
|
</div>
|
1079
1086
|
<hr>
|
1080
1087
|
<div class="refsect2">
|
1081
1088
|
<a name="json-node-dup-array"></a><h3>json_node_dup_array ()</h3>
|
1082
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1083
|
-
json_node_dup_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1084
|
-
<p>Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1089
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="returnvalue">JsonArray</span></a> *
|
1090
|
+
json_node_dup_array (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1091
|
+
<p>Retrieves the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> and returns it
|
1085
1092
|
with its reference count increased by one.</p>
|
1086
1093
|
<div class="refsect3">
|
1087
|
-
<a name="id-1.3.3.2.
|
1094
|
+
<a name="id-1.3.3.2.8.23.5"></a><h4>Parameters</h4>
|
1088
1095
|
<div class="informaltable"><table width="100%" border="0">
|
1089
1096
|
<colgroup>
|
1090
1097
|
<col width="150px" class="parameters_name">
|
@@ -1093,14 +1100,14 @@ with its reference count increased by one.</p>
|
|
1093
1100
|
</colgroup>
|
1094
1101
|
<tbody><tr>
|
1095
1102
|
<td class="parameter_name"><p>node</p></td>
|
1096
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1103
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1097
1104
|
<td class="parameter_annotations"> </td>
|
1098
1105
|
</tr></tbody>
|
1099
1106
|
</table></div>
|
1100
1107
|
</div>
|
1101
1108
|
<div class="refsect3">
|
1102
|
-
<a name="id-1.3.3.2.
|
1103
|
-
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1109
|
+
<a name="id-1.3.3.2.8.23.6"></a><h4>Returns</h4>
|
1110
|
+
<p> the <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a> with its reference
|
1104
1111
|
count increased. </p>
|
1105
1112
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1106
1113
|
</div>
|
@@ -1109,14 +1116,14 @@ count increased. </p>
|
|
1109
1116
|
<div class="refsect2">
|
1110
1117
|
<a name="json-node-set-object"></a><h3>json_node_set_object ()</h3>
|
1111
1118
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1112
|
-
json_node_set_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1113
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1119
|
+
json_node_set_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1120
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
|
1114
1121
|
<p>Sets <em class="parameter"><code>objects</code></em>
|
1115
1122
|
inside <em class="parameter"><code>node</code></em>
|
1116
1123
|
. The reference count of <em class="parameter"><code>object</code></em>
|
1117
1124
|
is increased.</p>
|
1118
1125
|
<div class="refsect3">
|
1119
|
-
<a name="id-1.3.3.2.
|
1126
|
+
<a name="id-1.3.3.2.8.24.5"></a><h4>Parameters</h4>
|
1120
1127
|
<div class="informaltable"><table width="100%" border="0">
|
1121
1128
|
<colgroup>
|
1122
1129
|
<col width="150px" class="parameters_name">
|
@@ -1126,12 +1133,12 @@ json_node_set_object (<em class="parameter"><code><a class="link" href="json-gli
|
|
1126
1133
|
<tbody>
|
1127
1134
|
<tr>
|
1128
1135
|
<td class="parameter_name"><p>node</p></td>
|
1129
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1136
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p></td>
|
1130
1137
|
<td class="parameter_annotations"> </td>
|
1131
1138
|
</tr>
|
1132
1139
|
<tr>
|
1133
1140
|
<td class="parameter_name"><p>object</p></td>
|
1134
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1141
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p></td>
|
1135
1142
|
<td class="parameter_annotations"> </td>
|
1136
1143
|
</tr>
|
1137
1144
|
</tbody>
|
@@ -1142,14 +1149,14 @@ json_node_set_object (<em class="parameter"><code><a class="link" href="json-gli
|
|
1142
1149
|
<div class="refsect2">
|
1143
1150
|
<a name="json-node-take-object"></a><h3>json_node_take_object ()</h3>
|
1144
1151
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1145
|
-
json_node_take_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1146
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1152
|
+
json_node_take_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1153
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> *object</code></em>);</pre>
|
1147
1154
|
<p>Sets <em class="parameter"><code>object</code></em>
|
1148
1155
|
inside <em class="parameter"><code>node</code></em>
|
1149
1156
|
. The reference count of <em class="parameter"><code>object</code></em>
|
1150
1157
|
is not increased.</p>
|
1151
1158
|
<div class="refsect3">
|
1152
|
-
<a name="id-1.3.3.2.
|
1159
|
+
<a name="id-1.3.3.2.8.25.5"></a><h4>Parameters</h4>
|
1153
1160
|
<div class="informaltable"><table width="100%" border="0">
|
1154
1161
|
<colgroup>
|
1155
1162
|
<col width="150px" class="parameters_name">
|
@@ -1159,12 +1166,12 @@ json_node_take_object (<em class="parameter"><code><a class="link" href="json-gl
|
|
1159
1166
|
<tbody>
|
1160
1167
|
<tr>
|
1161
1168
|
<td class="parameter_name"><p>node</p></td>
|
1162
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1169
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-OBJECT:CAPS"><code class="literal">JSON_NODE_OBJECT</code></a></p></td>
|
1163
1170
|
<td class="parameter_annotations"> </td>
|
1164
1171
|
</tr>
|
1165
1172
|
<tr>
|
1166
1173
|
<td class="parameter_name"><p>object</p></td>
|
1167
|
-
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1174
|
+
<td class="parameter_description"><p> a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. </p></td>
|
1168
1175
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
1169
1176
|
</tr>
|
1170
1177
|
</tbody>
|
@@ -1174,11 +1181,11 @@ json_node_take_object (<em class="parameter"><code><a class="link" href="json-gl
|
|
1174
1181
|
<hr>
|
1175
1182
|
<div class="refsect2">
|
1176
1183
|
<a name="json-node-get-object"></a><h3>json_node_get_object ()</h3>
|
1177
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1178
|
-
json_node_get_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1179
|
-
<p>Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1184
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
1185
|
+
json_node_get_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1186
|
+
<p>Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1180
1187
|
<div class="refsect3">
|
1181
|
-
<a name="id-1.3.3.2.
|
1188
|
+
<a name="id-1.3.3.2.8.26.5"></a><h4>Parameters</h4>
|
1182
1189
|
<div class="informaltable"><table width="100%" border="0">
|
1183
1190
|
<colgroup>
|
1184
1191
|
<col width="150px" class="parameters_name">
|
@@ -1187,27 +1194,27 @@ json_node_get_object (<em class="parameter"><code><a class="link" href="json-gli
|
|
1187
1194
|
</colgroup>
|
1188
1195
|
<tbody><tr>
|
1189
1196
|
<td class="parameter_name"><p>node</p></td>
|
1190
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1197
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1191
1198
|
<td class="parameter_annotations"> </td>
|
1192
1199
|
</tr></tbody>
|
1193
1200
|
</table></div>
|
1194
1201
|
</div>
|
1195
1202
|
<div class="refsect3">
|
1196
|
-
<a name="id-1.3.3.2.
|
1197
|
-
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1203
|
+
<a name="id-1.3.3.2.8.26.6"></a><h4>Returns</h4>
|
1204
|
+
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. </p>
|
1198
1205
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
1199
1206
|
</div>
|
1200
1207
|
</div>
|
1201
1208
|
<hr>
|
1202
1209
|
<div class="refsect2">
|
1203
1210
|
<a name="json-node-dup-object"></a><h3>json_node_dup_object ()</h3>
|
1204
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1205
|
-
json_node_dup_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1206
|
-
<p>Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1211
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="returnvalue">JsonObject</span></a> *
|
1212
|
+
json_node_dup_object (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1213
|
+
<p>Retrieves the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a> inside <em class="parameter"><code>node</code></em>
|
1207
1214
|
. The reference count of
|
1208
1215
|
the returned object is increased.</p>
|
1209
1216
|
<div class="refsect3">
|
1210
|
-
<a name="id-1.3.3.2.
|
1217
|
+
<a name="id-1.3.3.2.8.27.5"></a><h4>Parameters</h4>
|
1211
1218
|
<div class="informaltable"><table width="100%" border="0">
|
1212
1219
|
<colgroup>
|
1213
1220
|
<col width="150px" class="parameters_name">
|
@@ -1216,14 +1223,14 @@ the returned object is increased.</p>
|
|
1216
1223
|
</colgroup>
|
1217
1224
|
<tbody><tr>
|
1218
1225
|
<td class="parameter_name"><p>node</p></td>
|
1219
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1226
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1220
1227
|
<td class="parameter_annotations"> </td>
|
1221
1228
|
</tr></tbody>
|
1222
1229
|
</table></div>
|
1223
1230
|
</div>
|
1224
1231
|
<div class="refsect3">
|
1225
|
-
<a name="id-1.3.3.2.
|
1226
|
-
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1232
|
+
<a name="id-1.3.3.2.8.27.6"></a><h4>Returns</h4>
|
1233
|
+
<p> the <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a>. </p>
|
1227
1234
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1228
1235
|
</div>
|
1229
1236
|
</div>
|
@@ -1231,13 +1238,13 @@ the returned object is increased.</p>
|
|
1231
1238
|
<div class="refsect2">
|
1232
1239
|
<a name="json-node-set-value"></a><h3>json_node_set_value ()</h3>
|
1233
1240
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1234
|
-
json_node_set_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1241
|
+
json_node_set_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1235
1242
|
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
1236
1243
|
<p>Sets <em class="parameter"><code>value</code></em>
|
1237
1244
|
inside <em class="parameter"><code>node</code></em>
|
1238
|
-
. The passed <span class="type">GValue</span> is copied into the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1245
|
+
. The passed <span class="type">GValue</span> is copied into the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1239
1246
|
<div class="refsect3">
|
1240
|
-
<a name="id-1.3.3.2.
|
1247
|
+
<a name="id-1.3.3.2.8.28.5"></a><h4>Parameters</h4>
|
1241
1248
|
<div class="informaltable"><table width="100%" border="0">
|
1242
1249
|
<colgroup>
|
1243
1250
|
<col width="150px" class="parameters_name">
|
@@ -1247,7 +1254,7 @@ json_node_set_value (<em class="parameter"><code><a class="link" href="json-glib
|
|
1247
1254
|
<tbody>
|
1248
1255
|
<tr>
|
1249
1256
|
<td class="parameter_name"><p>node</p></td>
|
1250
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1257
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1251
1258
|
<td class="parameter_annotations"> </td>
|
1252
1259
|
</tr>
|
1253
1260
|
<tr>
|
@@ -1263,13 +1270,13 @@ json_node_set_value (<em class="parameter"><code><a class="link" href="json-glib
|
|
1263
1270
|
<div class="refsect2">
|
1264
1271
|
<a name="json-node-get-value"></a><h3>json_node_get_value ()</h3>
|
1265
1272
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1266
|
-
json_node_get_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1273
|
+
json_node_get_value (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1267
1274
|
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
1268
|
-
<p>Retrieves a value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1275
|
+
<p>Retrieves a value from a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> and copies into <em class="parameter"><code>value</code></em>
|
1269
1276
|
. When done
|
1270
1277
|
using it, call <code class="function">g_value_unset()</code> on the <span class="type">GValue</span>.</p>
|
1271
1278
|
<div class="refsect3">
|
1272
|
-
<a name="id-1.3.3.2.
|
1279
|
+
<a name="id-1.3.3.2.8.29.5"></a><h4>Parameters</h4>
|
1273
1280
|
<div class="informaltable"><table width="100%" border="0">
|
1274
1281
|
<colgroup>
|
1275
1282
|
<col width="150px" class="parameters_name">
|
@@ -1279,7 +1286,7 @@ using it, call <code class="function">g_value_unset()</code> on the <span class=
|
|
1279
1286
|
<tbody>
|
1280
1287
|
<tr>
|
1281
1288
|
<td class="parameter_name"><p>node</p></td>
|
1282
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1289
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1283
1290
|
<td class="parameter_annotations"> </td>
|
1284
1291
|
</tr>
|
1285
1292
|
<tr>
|
@@ -1295,14 +1302,14 @@ using it, call <code class="function">g_value_unset()</code> on the <span class=
|
|
1295
1302
|
<div class="refsect2">
|
1296
1303
|
<a name="json-node-set-boolean"></a><h3>json_node_set_boolean ()</h3>
|
1297
1304
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1298
|
-
json_node_set_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1305
|
+
json_node_set_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1299
1306
|
<em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
|
1300
1307
|
<p>Sets <em class="parameter"><code>value</code></em>
|
1301
1308
|
as the boolean content of the <em class="parameter"><code>node</code></em>
|
1302
1309
|
, replacing any existing
|
1303
1310
|
content.</p>
|
1304
1311
|
<div class="refsect3">
|
1305
|
-
<a name="id-1.3.3.2.
|
1312
|
+
<a name="id-1.3.3.2.8.30.5"></a><h4>Parameters</h4>
|
1306
1313
|
<div class="informaltable"><table width="100%" border="0">
|
1307
1314
|
<colgroup>
|
1308
1315
|
<col width="150px" class="parameters_name">
|
@@ -1312,7 +1319,7 @@ content.</p>
|
|
1312
1319
|
<tbody>
|
1313
1320
|
<tr>
|
1314
1321
|
<td class="parameter_name"><p>node</p></td>
|
1315
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1322
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1316
1323
|
<td class="parameter_annotations"> </td>
|
1317
1324
|
</tr>
|
1318
1325
|
<tr>
|
@@ -1328,10 +1335,10 @@ content.</p>
|
|
1328
1335
|
<div class="refsect2">
|
1329
1336
|
<a name="json-node-get-boolean"></a><h3>json_node_get_boolean ()</h3>
|
1330
1337
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1331
|
-
json_node_get_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1332
|
-
<p>Gets the boolean value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1338
|
+
json_node_get_boolean (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1339
|
+
<p>Gets the boolean value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1333
1340
|
<div class="refsect3">
|
1334
|
-
<a name="id-1.3.3.2.
|
1341
|
+
<a name="id-1.3.3.2.8.31.5"></a><h4>Parameters</h4>
|
1335
1342
|
<div class="informaltable"><table width="100%" border="0">
|
1336
1343
|
<colgroup>
|
1337
1344
|
<col width="150px" class="parameters_name">
|
@@ -1340,13 +1347,13 @@ json_node_get_boolean (<em class="parameter"><code><a class="link" href="json-gl
|
|
1340
1347
|
</colgroup>
|
1341
1348
|
<tbody><tr>
|
1342
1349
|
<td class="parameter_name"><p>node</p></td>
|
1343
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1350
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1344
1351
|
<td class="parameter_annotations"> </td>
|
1345
1352
|
</tr></tbody>
|
1346
1353
|
</table></div>
|
1347
1354
|
</div>
|
1348
1355
|
<div class="refsect3">
|
1349
|
-
<a name="id-1.3.3.2.
|
1356
|
+
<a name="id-1.3.3.2.8.31.6"></a><h4>Returns</h4>
|
1350
1357
|
<p> a boolean value.</p>
|
1351
1358
|
<p></p>
|
1352
1359
|
</div>
|
@@ -1355,14 +1362,14 @@ json_node_get_boolean (<em class="parameter"><code><a class="link" href="json-gl
|
|
1355
1362
|
<div class="refsect2">
|
1356
1363
|
<a name="json-node-set-double"></a><h3>json_node_set_double ()</h3>
|
1357
1364
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1358
|
-
json_node_set_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1365
|
+
json_node_set_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1359
1366
|
<em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
|
1360
1367
|
<p>Sets <em class="parameter"><code>value</code></em>
|
1361
1368
|
as the double content of the <em class="parameter"><code>node</code></em>
|
1362
1369
|
, replacing any existing
|
1363
1370
|
content.</p>
|
1364
1371
|
<div class="refsect3">
|
1365
|
-
<a name="id-1.3.3.2.
|
1372
|
+
<a name="id-1.3.3.2.8.32.5"></a><h4>Parameters</h4>
|
1366
1373
|
<div class="informaltable"><table width="100%" border="0">
|
1367
1374
|
<colgroup>
|
1368
1375
|
<col width="150px" class="parameters_name">
|
@@ -1372,7 +1379,7 @@ content.</p>
|
|
1372
1379
|
<tbody>
|
1373
1380
|
<tr>
|
1374
1381
|
<td class="parameter_name"><p>node</p></td>
|
1375
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1382
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1376
1383
|
<td class="parameter_annotations"> </td>
|
1377
1384
|
</tr>
|
1378
1385
|
<tr>
|
@@ -1388,10 +1395,10 @@ content.</p>
|
|
1388
1395
|
<div class="refsect2">
|
1389
1396
|
<a name="json-node-get-double"></a><h3>json_node_get_double ()</h3>
|
1390
1397
|
<pre class="programlisting"><span class="returnvalue">gdouble</span>
|
1391
|
-
json_node_get_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1392
|
-
<p>Gets the double value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1398
|
+
json_node_get_double (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1399
|
+
<p>Gets the double value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1393
1400
|
<div class="refsect3">
|
1394
|
-
<a name="id-1.3.3.2.
|
1401
|
+
<a name="id-1.3.3.2.8.33.5"></a><h4>Parameters</h4>
|
1395
1402
|
<div class="informaltable"><table width="100%" border="0">
|
1396
1403
|
<colgroup>
|
1397
1404
|
<col width="150px" class="parameters_name">
|
@@ -1400,13 +1407,13 @@ json_node_get_double (<em class="parameter"><code><a class="link" href="json-gli
|
|
1400
1407
|
</colgroup>
|
1401
1408
|
<tbody><tr>
|
1402
1409
|
<td class="parameter_name"><p>node</p></td>
|
1403
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1410
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1404
1411
|
<td class="parameter_annotations"> </td>
|
1405
1412
|
</tr></tbody>
|
1406
1413
|
</table></div>
|
1407
1414
|
</div>
|
1408
1415
|
<div class="refsect3">
|
1409
|
-
<a name="id-1.3.3.2.
|
1416
|
+
<a name="id-1.3.3.2.8.33.6"></a><h4>Returns</h4>
|
1410
1417
|
<p> a double value.</p>
|
1411
1418
|
<p></p>
|
1412
1419
|
</div>
|
@@ -1415,14 +1422,14 @@ json_node_get_double (<em class="parameter"><code><a class="link" href="json-gli
|
|
1415
1422
|
<div class="refsect2">
|
1416
1423
|
<a name="json-node-set-int"></a><h3>json_node_set_int ()</h3>
|
1417
1424
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1418
|
-
json_node_set_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1425
|
+
json_node_set_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1419
1426
|
<em class="parameter"><code><span class="type">gint64</span> value</code></em>);</pre>
|
1420
1427
|
<p>Sets <em class="parameter"><code>value</code></em>
|
1421
1428
|
as the integer content of the <em class="parameter"><code>node</code></em>
|
1422
1429
|
, replacing any existing
|
1423
1430
|
content.</p>
|
1424
1431
|
<div class="refsect3">
|
1425
|
-
<a name="id-1.3.3.2.
|
1432
|
+
<a name="id-1.3.3.2.8.34.5"></a><h4>Parameters</h4>
|
1426
1433
|
<div class="informaltable"><table width="100%" border="0">
|
1427
1434
|
<colgroup>
|
1428
1435
|
<col width="150px" class="parameters_name">
|
@@ -1432,7 +1439,7 @@ content.</p>
|
|
1432
1439
|
<tbody>
|
1433
1440
|
<tr>
|
1434
1441
|
<td class="parameter_name"><p>node</p></td>
|
1435
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1442
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1436
1443
|
<td class="parameter_annotations"> </td>
|
1437
1444
|
</tr>
|
1438
1445
|
<tr>
|
@@ -1448,10 +1455,10 @@ content.</p>
|
|
1448
1455
|
<div class="refsect2">
|
1449
1456
|
<a name="json-node-get-int"></a><h3>json_node_get_int ()</h3>
|
1450
1457
|
<pre class="programlisting"><span class="returnvalue">gint64</span>
|
1451
|
-
json_node_get_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1452
|
-
<p>Gets the integer value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1458
|
+
json_node_get_int (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1459
|
+
<p>Gets the integer value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1453
1460
|
<div class="refsect3">
|
1454
|
-
<a name="id-1.3.3.2.
|
1461
|
+
<a name="id-1.3.3.2.8.35.5"></a><h4>Parameters</h4>
|
1455
1462
|
<div class="informaltable"><table width="100%" border="0">
|
1456
1463
|
<colgroup>
|
1457
1464
|
<col width="150px" class="parameters_name">
|
@@ -1460,13 +1467,13 @@ json_node_get_int (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1460
1467
|
</colgroup>
|
1461
1468
|
<tbody><tr>
|
1462
1469
|
<td class="parameter_name"><p>node</p></td>
|
1463
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1470
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1464
1471
|
<td class="parameter_annotations"> </td>
|
1465
1472
|
</tr></tbody>
|
1466
1473
|
</table></div>
|
1467
1474
|
</div>
|
1468
1475
|
<div class="refsect3">
|
1469
|
-
<a name="id-1.3.3.2.
|
1476
|
+
<a name="id-1.3.3.2.8.35.6"></a><h4>Returns</h4>
|
1470
1477
|
<p> an integer value.</p>
|
1471
1478
|
<p></p>
|
1472
1479
|
</div>
|
@@ -1475,14 +1482,14 @@ json_node_get_int (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1475
1482
|
<div class="refsect2">
|
1476
1483
|
<a name="json-node-set-string"></a><h3>json_node_set_string ()</h3>
|
1477
1484
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1478
|
-
json_node_set_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1485
|
+
json_node_set_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1479
1486
|
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
|
1480
1487
|
<p>Sets <em class="parameter"><code>value</code></em>
|
1481
1488
|
as the string content of the <em class="parameter"><code>node</code></em>
|
1482
1489
|
, replacing any existing
|
1483
1490
|
content.</p>
|
1484
1491
|
<div class="refsect3">
|
1485
|
-
<a name="id-1.3.3.2.
|
1492
|
+
<a name="id-1.3.3.2.8.36.5"></a><h4>Parameters</h4>
|
1486
1493
|
<div class="informaltable"><table width="100%" border="0">
|
1487
1494
|
<colgroup>
|
1488
1495
|
<col width="150px" class="parameters_name">
|
@@ -1492,7 +1499,7 @@ content.</p>
|
|
1492
1499
|
<tbody>
|
1493
1500
|
<tr>
|
1494
1501
|
<td class="parameter_name"><p>node</p></td>
|
1495
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1502
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> initialized to <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1496
1503
|
<td class="parameter_annotations"> </td>
|
1497
1504
|
</tr>
|
1498
1505
|
<tr>
|
@@ -1508,10 +1515,10 @@ content.</p>
|
|
1508
1515
|
<div class="refsect2">
|
1509
1516
|
<a name="json-node-get-string"></a><h3>json_node_get_string ()</h3>
|
1510
1517
|
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1511
|
-
json_node_get_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1512
|
-
<p>Gets the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1518
|
+
json_node_get_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1519
|
+
<p>Gets the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1513
1520
|
<div class="refsect3">
|
1514
|
-
<a name="id-1.3.3.2.
|
1521
|
+
<a name="id-1.3.3.2.8.37.5"></a><h4>Parameters</h4>
|
1515
1522
|
<div class="informaltable"><table width="100%" border="0">
|
1516
1523
|
<colgroup>
|
1517
1524
|
<col width="150px" class="parameters_name">
|
@@ -1520,13 +1527,13 @@ json_node_get_string (<em class="parameter"><code><a class="link" href="json-gli
|
|
1520
1527
|
</colgroup>
|
1521
1528
|
<tbody><tr>
|
1522
1529
|
<td class="parameter_name"><p>node</p></td>
|
1523
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1530
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1524
1531
|
<td class="parameter_annotations"> </td>
|
1525
1532
|
</tr></tbody>
|
1526
1533
|
</table></div>
|
1527
1534
|
</div>
|
1528
1535
|
<div class="refsect3">
|
1529
|
-
<a name="id-1.3.3.2.
|
1536
|
+
<a name="id-1.3.3.2.8.37.6"></a><h4>Returns</h4>
|
1530
1537
|
<p> a string value.</p>
|
1531
1538
|
<p></p>
|
1532
1539
|
</div>
|
@@ -1535,10 +1542,10 @@ json_node_get_string (<em class="parameter"><code><a class="link" href="json-gli
|
|
1535
1542
|
<div class="refsect2">
|
1536
1543
|
<a name="json-node-dup-string"></a><h3>json_node_dup_string ()</h3>
|
1537
1544
|
<pre class="programlisting"><span class="returnvalue">gchar</span> *
|
1538
|
-
json_node_dup_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1539
|
-
<p>Gets a copy of the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1545
|
+
json_node_dup_string (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1546
|
+
<p>Gets a copy of the string value stored inside a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p>
|
1540
1547
|
<div class="refsect3">
|
1541
|
-
<a name="id-1.3.3.2.
|
1548
|
+
<a name="id-1.3.3.2.8.38.5"></a><h4>Parameters</h4>
|
1542
1549
|
<div class="informaltable"><table width="100%" border="0">
|
1543
1550
|
<colgroup>
|
1544
1551
|
<col width="150px" class="parameters_name">
|
@@ -1547,15 +1554,15 @@ json_node_dup_string (<em class="parameter"><code><a class="link" href="json-gli
|
|
1547
1554
|
</colgroup>
|
1548
1555
|
<tbody><tr>
|
1549
1556
|
<td class="parameter_name"><p>node</p></td>
|
1550
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1557
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of type <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-VALUE:CAPS"><code class="literal">JSON_NODE_VALUE</code></a></p></td>
|
1551
1558
|
<td class="parameter_annotations"> </td>
|
1552
1559
|
</tr></tbody>
|
1553
1560
|
</table></div>
|
1554
1561
|
</div>
|
1555
1562
|
<div class="refsect3">
|
1556
|
-
<a name="id-1.3.3.2.
|
1563
|
+
<a name="id-1.3.3.2.8.38.6"></a><h4>Returns</h4>
|
1557
1564
|
<p> a newly allocated string containing a copy
|
1558
|
-
of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1565
|
+
of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> contents. Use <code class="function">g_free()</code> to free the allocated resources. </p>
|
1559
1566
|
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
1560
1567
|
</div>
|
1561
1568
|
</div>
|
@@ -1563,12 +1570,12 @@ of the <a class="link" href="json-glib-JSON-Node.html#JsonNode" title="JsonNode"
|
|
1563
1570
|
<div class="refsect2">
|
1564
1571
|
<a name="json-node-set-parent"></a><h3>json_node_set_parent ()</h3>
|
1565
1572
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
1566
|
-
json_node_set_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1567
|
-
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1568
|
-
<p>Sets the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1573
|
+
json_node_set_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>,
|
1574
|
+
<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *parent</code></em>);</pre>
|
1575
|
+
<p>Sets the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>
|
1569
1576
|
</p>
|
1570
1577
|
<div class="refsect3">
|
1571
|
-
<a name="id-1.3.3.2.
|
1578
|
+
<a name="id-1.3.3.2.8.39.5"></a><h4>Parameters</h4>
|
1572
1579
|
<div class="informaltable"><table width="100%" border="0">
|
1573
1580
|
<colgroup>
|
1574
1581
|
<col width="150px" class="parameters_name">
|
@@ -1578,12 +1585,12 @@ json_node_set_parent (<em class="parameter"><code><a class="link" href="json-gli
|
|
1578
1585
|
<tbody>
|
1579
1586
|
<tr>
|
1580
1587
|
<td class="parameter_name"><p>node</p></td>
|
1581
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1588
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1582
1589
|
<td class="parameter_annotations"> </td>
|
1583
1590
|
</tr>
|
1584
1591
|
<tr>
|
1585
1592
|
<td class="parameter_name"><p>parent</p></td>
|
1586
|
-
<td class="parameter_description"><p> the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1593
|
+
<td class="parameter_description"><p> the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>
|
1587
1594
|
. </p></td>
|
1588
1595
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
|
1589
1596
|
</tr>
|
@@ -1595,12 +1602,12 @@ json_node_set_parent (<em class="parameter"><code><a class="link" href="json-gli
|
|
1595
1602
|
<hr>
|
1596
1603
|
<div class="refsect2">
|
1597
1604
|
<a name="json-node-get-parent"></a><h3>json_node_get_parent ()</h3>
|
1598
|
-
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1599
|
-
json_node_get_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1600
|
-
<p>Retrieves the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1605
|
+
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="returnvalue">JsonNode</span></a> *
|
1606
|
+
json_node_get_parent (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1607
|
+
<p>Retrieves the parent <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> of <em class="parameter"><code>node</code></em>
|
1601
1608
|
.</p>
|
1602
1609
|
<div class="refsect3">
|
1603
|
-
<a name="id-1.3.3.2.
|
1610
|
+
<a name="id-1.3.3.2.8.40.5"></a><h4>Parameters</h4>
|
1604
1611
|
<div class="informaltable"><table width="100%" border="0">
|
1605
1612
|
<colgroup>
|
1606
1613
|
<col width="150px" class="parameters_name">
|
@@ -1609,13 +1616,13 @@ json_node_get_parent (<em class="parameter"><code><a class="link" href="json-gli
|
|
1609
1616
|
</colgroup>
|
1610
1617
|
<tbody><tr>
|
1611
1618
|
<td class="parameter_name"><p>node</p></td>
|
1612
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1619
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1613
1620
|
<td class="parameter_annotations"> </td>
|
1614
1621
|
</tr></tbody>
|
1615
1622
|
</table></div>
|
1616
1623
|
</div>
|
1617
1624
|
<div class="refsect3">
|
1618
|
-
<a name="id-1.3.3.2.
|
1625
|
+
<a name="id-1.3.3.2.8.40.6"></a><h4>Returns</h4>
|
1619
1626
|
<p> the parent node, or <code class="literal">NULL</code> if <em class="parameter"><code>node</code></em>
|
1620
1627
|
is
|
1621
1628
|
the root node. </p>
|
@@ -1626,11 +1633,11 @@ the root node. </p>
|
|
1626
1633
|
<div class="refsect2">
|
1627
1634
|
<a name="json-node-type-name"></a><h3>json_node_type_name ()</h3>
|
1628
1635
|
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
1629
|
-
json_node_type_name (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1636
|
+
json_node_type_name (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1630
1637
|
<p>Retrieves the user readable name of the data type contained by <em class="parameter"><code>node</code></em>
|
1631
1638
|
.</p>
|
1632
1639
|
<div class="refsect3">
|
1633
|
-
<a name="id-1.3.3.2.
|
1640
|
+
<a name="id-1.3.3.2.8.41.5"></a><h4>Parameters</h4>
|
1634
1641
|
<div class="informaltable"><table width="100%" border="0">
|
1635
1642
|
<colgroup>
|
1636
1643
|
<col width="150px" class="parameters_name">
|
@@ -1639,13 +1646,13 @@ json_node_type_name (<em class="parameter"><code><a class="link" href="json-glib
|
|
1639
1646
|
</colgroup>
|
1640
1647
|
<tbody><tr>
|
1641
1648
|
<td class="parameter_name"><p>node</p></td>
|
1642
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1649
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1643
1650
|
<td class="parameter_annotations"> </td>
|
1644
1651
|
</tr></tbody>
|
1645
1652
|
</table></div>
|
1646
1653
|
</div>
|
1647
1654
|
<div class="refsect3">
|
1648
|
-
<a name="id-1.3.3.2.
|
1655
|
+
<a name="id-1.3.3.2.8.41.6"></a><h4>Returns</h4>
|
1649
1656
|
<p> a string containing the name of the type. The returned string
|
1650
1657
|
is owned by the node and should never be modified or freed</p>
|
1651
1658
|
<p></p>
|
@@ -1655,10 +1662,10 @@ is owned by the node and should never be modified or freed</p>
|
|
1655
1662
|
<div class="refsect2">
|
1656
1663
|
<a name="json-node-get-value-type"></a><h3>json_node_get_value_type ()</h3>
|
1657
1664
|
<pre class="programlisting"><span class="returnvalue">GType</span>
|
1658
|
-
json_node_get_value_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1665
|
+
json_node_get_value_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1659
1666
|
<p>Returns the <span class="type">GType</span> of the payload of the node.</p>
|
1660
1667
|
<div class="refsect3">
|
1661
|
-
<a name="id-1.3.3.2.
|
1668
|
+
<a name="id-1.3.3.2.8.42.5"></a><h4>Parameters</h4>
|
1662
1669
|
<div class="informaltable"><table width="100%" border="0">
|
1663
1670
|
<colgroup>
|
1664
1671
|
<col width="150px" class="parameters_name">
|
@@ -1667,13 +1674,13 @@ json_node_get_value_type (<em class="parameter"><code><a class="link" href="json
|
|
1667
1674
|
</colgroup>
|
1668
1675
|
<tbody><tr>
|
1669
1676
|
<td class="parameter_name"><p>node</p></td>
|
1670
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1677
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1671
1678
|
<td class="parameter_annotations"> </td>
|
1672
1679
|
</tr></tbody>
|
1673
1680
|
</table></div>
|
1674
1681
|
</div>
|
1675
1682
|
<div class="refsect3">
|
1676
|
-
<a name="id-1.3.3.2.
|
1683
|
+
<a name="id-1.3.3.2.8.42.6"></a><h4>Returns</h4>
|
1677
1684
|
<p> a <span class="type">GType</span> for the payload.</p>
|
1678
1685
|
<p></p>
|
1679
1686
|
</div>
|
@@ -1683,11 +1690,11 @@ json_node_get_value_type (<em class="parameter"><code><a class="link" href="json
|
|
1683
1690
|
<div class="refsect2">
|
1684
1691
|
<a name="json-node-get-node-type"></a><h3>json_node_get_node_type ()</h3>
|
1685
1692
|
<pre class="programlisting"><a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="returnvalue">JsonNodeType</span></a>
|
1686
|
-
json_node_get_node_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1693
|
+
json_node_get_node_type (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1687
1694
|
<p>Retrieves the <a class="link" href="json-glib-JSON-Node.html#JsonNodeType" title="enum JsonNodeType"><span class="type">JsonNodeType</span></a> of <em class="parameter"><code>node</code></em>
|
1688
1695
|
</p>
|
1689
1696
|
<div class="refsect3">
|
1690
|
-
<a name="id-1.3.3.2.
|
1697
|
+
<a name="id-1.3.3.2.8.43.5"></a><h4>Parameters</h4>
|
1691
1698
|
<div class="informaltable"><table width="100%" border="0">
|
1692
1699
|
<colgroup>
|
1693
1700
|
<col width="150px" class="parameters_name">
|
@@ -1696,13 +1703,13 @@ json_node_get_node_type (<em class="parameter"><code><a class="link" href="json-
|
|
1696
1703
|
</colgroup>
|
1697
1704
|
<tbody><tr>
|
1698
1705
|
<td class="parameter_name"><p>node</p></td>
|
1699
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1706
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1700
1707
|
<td class="parameter_annotations"> </td>
|
1701
1708
|
</tr></tbody>
|
1702
1709
|
</table></div>
|
1703
1710
|
</div>
|
1704
1711
|
<div class="refsect3">
|
1705
|
-
<a name="id-1.3.3.2.
|
1712
|
+
<a name="id-1.3.3.2.8.43.6"></a><h4>Returns</h4>
|
1706
1713
|
<p> the type of the node</p>
|
1707
1714
|
<p></p>
|
1708
1715
|
</div>
|
@@ -1712,13 +1719,13 @@ json_node_get_node_type (<em class="parameter"><code><a class="link" href="json-
|
|
1712
1719
|
<div class="refsect2">
|
1713
1720
|
<a name="json-node-is-null"></a><h3>json_node_is_null ()</h3>
|
1714
1721
|
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
1715
|
-
json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1722
|
+
json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a> *node</code></em>);</pre>
|
1716
1723
|
<p>Checks whether <em class="parameter"><code>node</code></em>
|
1717
1724
|
is a <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a>.</p>
|
1718
|
-
<p>A <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a> node is not the same as a <code class="literal">NULL</code> <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1725
|
+
<p>A <a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a> node is not the same as a <code class="literal">NULL</code> <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>; a
|
1719
1726
|
<a class="link" href="json-glib-JSON-Node.html#JSON-NODE-NULL:CAPS"><code class="literal">JSON_NODE_NULL</code></a> represents a 'null' value in the JSON tree.</p>
|
1720
1727
|
<div class="refsect3">
|
1721
|
-
<a name="id-1.3.3.2.
|
1728
|
+
<a name="id-1.3.3.2.8.44.6"></a><h4>Parameters</h4>
|
1722
1729
|
<div class="informaltable"><table width="100%" border="0">
|
1723
1730
|
<colgroup>
|
1724
1731
|
<col width="150px" class="parameters_name">
|
@@ -1727,13 +1734,13 @@ json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1727
1734
|
</colgroup>
|
1728
1735
|
<tbody><tr>
|
1729
1736
|
<td class="parameter_name"><p>node</p></td>
|
1730
|
-
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1737
|
+
<td class="parameter_description"><p>a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a></p></td>
|
1731
1738
|
<td class="parameter_annotations"> </td>
|
1732
1739
|
</tr></tbody>
|
1733
1740
|
</table></div>
|
1734
1741
|
</div>
|
1735
1742
|
<div class="refsect3">
|
1736
|
-
<a name="id-1.3.3.2.
|
1743
|
+
<a name="id-1.3.3.2.8.44.7"></a><h4>Returns</h4>
|
1737
1744
|
<p> <code class="literal">TRUE</code> if the node is null</p>
|
1738
1745
|
<p></p>
|
1739
1746
|
</div>
|
@@ -1744,9 +1751,9 @@ json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1744
1751
|
<a name="json-glib-JSON-Node.other_details"></a><h2>Types and Values</h2>
|
1745
1752
|
<div class="refsect2">
|
1746
1753
|
<a name="JsonNodeType"></a><h3>enum JsonNodeType</h3>
|
1747
|
-
<p>Indicates the content of a <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1754
|
+
<p>Indicates the content of a <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>.</p>
|
1748
1755
|
<div class="refsect3">
|
1749
|
-
<a name="id-1.3.3.2.
|
1756
|
+
<a name="id-1.3.3.2.9.2.4"></a><h4>Members</h4>
|
1750
1757
|
<div class="informaltable"><table width="100%" border="0">
|
1751
1758
|
<colgroup>
|
1752
1759
|
<col width="300px" class="enum_members_name">
|
@@ -1757,14 +1764,14 @@ json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1757
1764
|
<tr>
|
1758
1765
|
<td class="enum_member_name"><p><a name="JSON-NODE-OBJECT:CAPS"></a>JSON_NODE_OBJECT</p></td>
|
1759
1766
|
<td class="enum_member_description">
|
1760
|
-
<p>The node contains a <a class="link" href="json-glib-JSON-Object.html#JsonObject"
|
1767
|
+
<p>The node contains a <a class="link" href="json-glib-JSON-Object.html#JsonObject"><span class="type">JsonObject</span></a></p>
|
1761
1768
|
</td>
|
1762
1769
|
<td class="enum_member_annotations"> </td>
|
1763
1770
|
</tr>
|
1764
1771
|
<tr>
|
1765
1772
|
<td class="enum_member_name"><p><a name="JSON-NODE-ARRAY:CAPS"></a>JSON_NODE_ARRAY</p></td>
|
1766
1773
|
<td class="enum_member_description">
|
1767
|
-
<p>The node contains a <a class="link" href="json-glib-JSON-Array.html#JsonArray"
|
1774
|
+
<p>The node contains a <a class="link" href="json-glib-JSON-Array.html#JsonArray"><span class="type">JsonArray</span></a></p>
|
1768
1775
|
</td>
|
1769
1776
|
<td class="enum_member_annotations"> </td>
|
1770
1777
|
</tr>
|
@@ -1788,9 +1795,9 @@ json_node_is_null (<em class="parameter"><code><a class="link" href="json-glib-J
|
|
1788
1795
|
</div>
|
1789
1796
|
<hr>
|
1790
1797
|
<div class="refsect2">
|
1791
|
-
<a name="JsonNode"></a><h3>JsonNode</h3>
|
1798
|
+
<a name="JsonNode-struct"></a><h3>JsonNode</h3>
|
1792
1799
|
<pre class="programlisting">typedef struct _JsonNode JsonNode;</pre>
|
1793
|
-
<p>A generic container of JSON data types. The contents of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"
|
1800
|
+
<p>A generic container of JSON data types. The contents of the <a class="link" href="json-glib-JSON-Node.html#JsonNode"><span class="type">JsonNode</span></a>
|
1794
1801
|
structure are private and should only be accessed via the provided
|
1795
1802
|
functions and never directly.</p>
|
1796
1803
|
</div>
|
@@ -1798,6 +1805,6 @@ functions and never directly.</p>
|
|
1798
1805
|
</div>
|
1799
1806
|
<div class="footer">
|
1800
1807
|
<hr>
|
1801
|
-
Generated by GTK-Doc V1.
|
1808
|
+
Generated by GTK-Doc V1.21.1</div>
|
1802
1809
|
</body>
|
1803
1810
|
</html>
|