The "ds_list_add_list" Function
#
SyntaxArgument | Type | Description |
---|---|---|
id | ds_list | The data structure to add new data to |
source | ds_list | The data structure to be added |
#
DescriptionAdds the contents of a previously-created ds_list
to the specified ds_list
.
Intended only for use with JSON functions. Normally, adding one data structure to another simply stores a reference to the data structure, therefore this function is necessary to flag the list value as a data structure itself so its contents are written to the JSON file.
As JSON data is unordered by nature, there is no need to input an index at which to insert the new list.