Import line: | ClutterJson = imports.gi.ClutterJson; |
GIR File: | ClutterJson-1.0.gir |
C documentation: | ClutterJsonJsonObject |
Struct : | JsonObject |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
new ClutterJson.JsonObject.c_new
()
:
ClutterJson.JsonObject
Create a new ClutterJson.JsonObject
Create a new ClutterJson.JsonObject
|
||
Adds a member named member_name and containing node into a JsonObject.
Adds a member named member_name and containing node into a JsonObject. The object will take ownership of the JsonNode. This function will return if the object already contains a member
|
ClutterJson.JsonObject | |
dup_member
(String member_name)
:
ClutterJson.JsonNode
Retrieves a copy of the JsonNode containing the value of member_name inside a JsonObject
Retrieves a copy of the JsonNode containing the value of member_name inside a JsonObject
|
ClutterJson.JsonObject | |
Iterates over all members of object and calls func on each one of them.
Iterates over all members of object and calls func on each one of them. It is safe to change the value of a JsonNode of the object from within the iterator func, but it is not safe to add or remove members from the object.
|
ClutterJson.JsonObject | |
get_array_member
(String member_name)
:
ClutterJson.JsonArray
Convenience function that retrieves the array stored in member_name of object
Convenience function that retrieves the array stored in member_name of object
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject | ||
ClutterJson.JsonObject | ||
ClutterJson.JsonObject | ||
get_member
(String member_name)
:
ClutterJson.JsonNode
Retrieves the JsonNode containing the value of member_name inside a JsonObject.
Retrieves the JsonNode containing the value of member_name inside a JsonObject.
|
ClutterJson.JsonObject | |
get_members
()
:
Array
Retrieves all the names of the members of a JsonObject.
Retrieves all the names of the members of a JsonObject. You can obtain the value for each member using json_object_get_member().
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject | ||
get_object_member
(String member_name)
:
ClutterJson.JsonObject
Convenience function that retrieves the object stored in member_name of object
Convenience function that retrieves the object stored in member_name of object
|
ClutterJson.JsonObject | |
get_size
()
:
Number
Retrieves the number of members of a JsonObject.
Retrieves the number of members of a JsonObject.
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject | ||
get_values
()
:
Array
Retrieves all the values of the members of a JsonObject.
Retrieves all the values of the members of a JsonObject.
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject | ||
remove_member
(String member_name)
:
none
Removes member_name from object, freeing its allocated resources.
Removes member_name from object, freeing its allocated resources.
|
ClutterJson.JsonObject | |
Convenience function for setting an array value of The object will take ownership of the passed JsonArray
Convenience function for setting an array value of The object will take ownership of the passed JsonArray
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject | ||
ClutterJson.JsonObject | ||
ClutterJson.JsonObject | ||
Sets node as the value of member_name inside object.
Sets node as the value of member_name inside object. If object already contains a member called member_name then the member's current value is overwritten. Otherwise, a new member is added to object.
|
ClutterJson.JsonObject | |
set_null_member
(String member_name)
:
none
Convenience function for setting a null value of
Convenience function for setting a null value of
|
ClutterJson.JsonObject | |
set_object_member
(String member_name, JsonObject value)
:
none
Convenience function for setting an object value of The object will take ownership of the passed JsonObject
Convenience function for setting an object value of The object will take ownership of the passed JsonObject
|
ClutterJson.JsonObject | |
ClutterJson.JsonObject |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
ClutterJson.JsonArray
Method |
add_object_element
(JsonObject value)
:
none
Conveniently adds an object into array.
|
ClutterJson.JsonArray
Method |
get_object_element
(Number index_)
:
ClutterJson.JsonObject
Conveniently retrieves the object from the element at index_ inside array
|
ClutterJson.JsonNode
Method |
set_object
(JsonObject object)
:
none
Sets objects inside node.
|
ClutterJson.JsonNode
Method |
take_object
(JsonObject object)
:
none
Sets object inside node.
|
ClutterJson.JsonNode
Method |
get_object
()
:
ClutterJson.JsonObject
Retrieves the JsonObject stored inside a JsonNode
|
ClutterJson.JsonNode
Method |
dup_object
()
:
ClutterJson.JsonObject
Retrieves the JsonObject inside node.
|
ClutterJson.JsonParser
Signal |
object_end
(JsonParser self, JsonObject object)
:
none
The ::object-end signal is emitted each time the JsonParser has successfully parsed an entire JsonObject.
|
ClutterJson.JsonParser
Signal |
The ::object-member signal is emitted each time the JsonParser has successfully parsed a single member of a JsonObject.
|