Creates a new array.
Conveniently adds an array element into an array.
Conveniently adds the given boolean value into an array.
Conveniently adds the given floating point value into an array.
Appends the given node inside an array.
Conveniently adds the given integer value into an array.
Conveniently adds a null element into an array
Conveniently adds an object into an array.
Conveniently adds the given string value into an array.
Retrieves a copy of the element at the given position in the array.
Check whether two arrays are equal.
Iterates over all elements of an array, and calls a function on each one of them.
Conveniently retrieves the array at the given position inside an array.
Conveniently retrieves the boolean value of the element at the given position inside an array.
Conveniently retrieves the floating point value of the element at the given position inside an array.
Retrieves the element at the given position in the array.
Retrieves all the elements of an array as a list of nodes.
Conveniently retrieves the integer value of the element at the given position inside an array.
Retrieves the length of the given array
Conveniently checks whether the element at the given position inside the array contains a null value.
Conveniently retrieves the object at the given position inside an array.
Conveniently retrieves the string value of the element at the given position inside an array.
Calculates a hash value for the given key.
Check whether the given array has been marked as immutable by calling json.array.Array.seal on it.
Removes the element at the given position inside an array.
Seals the given array, making it immutable to further changes.
Creates a new array with n_elements slots already allocated.
Pointer to the C boxed value
Get the GType of this boxed type.
Boxed GType property.
Convenience method to return this cast to a type. For use in D with statements.
Make a copy of the wrapped C boxed data.
Copy a C boxed value using g_boxed_copy.
Free a C boxed value using g_boxed_free.
json.array.Array is the representation of the array type inside JSON.
A json.array.Array contains json.node.Node elements, which may contain fundamental types, other arrays or objects.
Since arrays can be arbitrarily big, copying them can be expensive; for this reason, they are reference counted. You can control the lifetime of a json.array.Array using json.array.Array.ref_ and json.array.Array.unref.
To append an element, use json.array.Array.addElement.
To extract an element at a given index, use json.array.Array.getElement.
To retrieve the entire array in list form, use json.array.Array.getElements.
To retrieve the length of the array, use json.array.Array.getLength.