Json.Array – json-glib-1.0 Reference Manual
Packages
json-glib-1.0
Json
Array
Array
Array.sized
@ref
add_array_element
add_boolean_element
add_double_element
add_element
add_int_element
add_null_element
add_object_element
add_string_element
dup_element
foreach_element
get_array_element
get_boolean_element
get_double_element
get_element
get_elements
get_int_element
get_length
get_null_element
get_object_element
get_string_element
remove_element
unref
Array
Object Hierarchy:
Description:
[
Compact
]
public
class
Array
Namespace:
Json
Package:
json-glib-1.0
Content:
Creation methods:
public
Array
()
public
Array.sized
(
uint
n_elements)
Methods:
public
void
add_array_element
(
owned
Array
value)
public
void
add_boolean_element
(
bool
value)
public
void
add_double_element
(
double
value)
public
void
add_element
(
owned
Node
node)
public
void
add_int_element
(
int64
value)
public
void
add_null_element
()
public
void
add_object_element
(
owned
Object
value)
public
void
add_string_element
(
string
value)
public
Node
dup_element
(
uint
index_)
public
void
foreach_element
(
ArrayForeach
func)
public
unowned
Array
get_array_element
(
uint
index_)
public
bool
get_boolean_element
(
uint
index_)
public
double
get_double_element
(
uint
index_)
public
unowned
Node
get_element
(
uint
index_)
public
List
<
unowned
Node
>
get_elements
()
public
int64
get_int_element
(
uint
index_)
public
uint
get_length
()
public
bool
get_null_element
(
uint
index_)
public
unowned
Object
get_object_element
(
uint
index_)
public
unowned
string
get_string_element
(
uint
index_)
public
Array
@ref
()
public
void
remove_element
(
uint
index_)
public
void
unref
()