ds_to_struct_array
Link to ds_to_struct_array
This is a set of scripts that allow you to convert ds_maps, ds_lists and ds_grids into structs/arrays and vice versa. Addtionally, ds_maps and ds_lists will automatically convert ds_map/ds_list children into structs/arrays, and vice versa. You can disable this by assigning the optional argument [convert_children]
to false when calling the function.
Note: This does not convert any data structures that are stored within or as ds_grids
and vice versa.