Removes all nested arrays from a data structure. Use the exceptions to keep some of the arrays.
The data structure with nested arrays.
The arrays you want to keep in data. For example:
The function removes all nested arrays from a data structure. Define exceptions to keep just the arrays you need to build your tables.