Import line: | ClutterJson = imports.gi.ClutterJson; |
GIR File: | ClutterJson-1.0.gir |
C documentation: | ClutterJsonJsonNode |
Struct : | JsonNode |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new ClutterJson.JsonNode
Create a new ClutterJson.JsonNode
|
||
copy
()
:
ClutterJson.JsonNode
Copies node.
Copies node. If the node contains complex data types then the reference count of the objects is increased.
|
ClutterJson.JsonNode | |
dup_array
()
:
ClutterJson.JsonArray
|
ClutterJson.JsonNode | |
dup_object
()
:
ClutterJson.JsonObject
Retrieves the JsonObject inside node.
Retrieves the JsonObject inside node. The reference count of the returned object is increased.
|
ClutterJson.JsonNode | |
dup_string
()
:
String
Gets a copy of the string value stored inside a JsonNode
Gets a copy of the string value stored inside a JsonNode
|
ClutterJson.JsonNode | |
free
()
:
none
Frees the resources allocated by node.
Frees the resources allocated by node.
|
ClutterJson.JsonNode | |
get_array
()
:
ClutterJson.JsonArray
Retrieves the JsonArray stored inside a JsonNode
Retrieves the JsonArray stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_boolean
()
:
Boolean
Gets the boolean value stored inside a JsonNode
Gets the boolean value stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_double
()
:
Number
Gets the double value stored inside a JsonNode
Gets the double value stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_int
()
:
Number
Gets the integer value stored inside a JsonNode
Gets the integer value stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_node_type
()
:
ClutterJson.JsonNodeType
Retrieves the JsonNodeType of node
Retrieves the JsonNodeType of node
|
ClutterJson.JsonNode | |
get_object
()
:
ClutterJson.JsonObject
Retrieves the JsonObject stored inside a JsonNode
Retrieves the JsonObject stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_parent
()
:
ClutterJson.JsonNode
Retrieves the parent JsonNode of node.
Retrieves the parent JsonNode of node.
|
ClutterJson.JsonNode | |
get_string
()
:
String
Gets the string value stored inside a JsonNode
Gets the string value stored inside a JsonNode
|
ClutterJson.JsonNode | |
get_value
(Value value)
:
none
Retrieves a value from a JsonNode and copies into value.
Retrieves a value from a JsonNode and copies into value. When done using it, call g_value_unset() on the GValue.
|
ClutterJson.JsonNode | |
get_value_type
()
:
Number
Returns the GType of the payload of the node.
Returns the GType of the payload of the node.
|
ClutterJson.JsonNode | |
is_null
()
:
Boolean
Checks whether node is a JSON_NODE_NULL
Checks whether node is a JSON_NODE_NULL
|
ClutterJson.JsonNode | |
set_array
(JsonArray array)
:
none
Sets array inside node and increases the JsonArray reference count
Sets array inside node and increases the JsonArray reference count
|
ClutterJson.JsonNode | |
set_boolean
(Boolean value)
:
none
Sets value as the boolean content of the node, replacing any existing content.
Sets value as the boolean content of the node, replacing any existing content.
|
ClutterJson.JsonNode | |
set_double
(Number value)
:
none
Sets value as the double content of the node, replacing any existing content.
Sets value as the double content of the node, replacing any existing content.
|
ClutterJson.JsonNode | |
set_int
(Number value)
:
none
Sets value as the integer content of the node, replacing any existing content.
Sets value as the integer content of the node, replacing any existing content.
|
ClutterJson.JsonNode | |
set_object
(JsonObject object)
:
none
Sets objects inside node.
Sets objects inside node. The reference count of object is increased.
|
ClutterJson.JsonNode | |
set_string
(String value)
:
none
Sets value as the string content of the node, replacing any existing content.
Sets value as the string content of the node, replacing any existing content.
|
ClutterJson.JsonNode | |
set_value
(Value value)
:
none
Sets value inside node.
Sets value inside node. The passed GValue is copied into the JsonNode
|
ClutterJson.JsonNode | |
take_array
(JsonArray array)
:
none
Sets array into node without increasing the JsonArray reference count.
Sets array into node without increasing the JsonArray reference count.
|
ClutterJson.JsonNode | |
take_object
(JsonObject object)
:
none
Sets object inside node.
Sets object inside node. The reference count of object is not increased.
|
ClutterJson.JsonNode | |
type_name
()
:
String
Retrieves the user readable name of the data type contained by node.
Retrieves the user readable name of the data type contained by node.
|
ClutterJson.JsonNode |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Scriptable
Method |
Parses the passed JSON node.
|
ClutterJson.JsonArray
Method |
add_element
(JsonNode node)
:
none
Appends node inside array.
|
ClutterJson.JsonArray
Method |
get_element
(Number index_)
:
ClutterJson.JsonNode
Retrieves the JsonNode containing the value of the element at index_ inside a JsonArray.
|
ClutterJson.JsonArray
Method |
dup_element
(Number index_)
:
ClutterJson.JsonNode
Retrieves a copy of the JsonNode containing the value of the element at index_ inside a JsonArray
|
ClutterJson.JsonGenerator
Property |
root : ClutterJson.JsonNode
The root JsonNode to be used when constructing a JSON data stream.
|
ClutterJson.JsonGenerator
Method |
set_root
(JsonNode node)
:
none
Sets node as the root of the JSON data stream to be serialized by the JsonGenerator.
|
ClutterJson.JsonObject
Method |
Adds a member named member_name and containing node into a JsonObject.
|
ClutterJson.JsonObject
Method |
Sets node as the value of member_name inside object.
|
ClutterJson.JsonObject
Method |
get_member
(String member_name)
:
ClutterJson.JsonNode
Retrieves the JsonNode containing the value of member_name inside a JsonObject.
|
ClutterJson.JsonObject
Method |
dup_member
(String member_name)
:
ClutterJson.JsonNode
Retrieves a copy of the JsonNode containing the value of member_name inside a JsonObject
|
ClutterJson.JsonParser
Method |
get_root
()
:
ClutterJson.JsonNode
Retrieves the top level node from the parsed JSON stream.
|