UtilToCsv
(require("utilJsonToCsv"))(jsonList) → {Array.<Array>}
Get the list of properties and the list of the items in the JSON file passed as a parameter
Parameters:
| Name | Type | Description |
|---|---|---|
jsonList | Array.<JSON> |
Returns:
the properties and the items of the Json file in a single array
- Type:
- Array.<Array>
Methods
(inner) fillCsvLists(obj, listProps, listItems) → {void}
Fill the properties and items lists using recursivity
Parameters:
| Name | Type | Description |
|---|---|---|
obj | Object | The first object |
listProps | Array | |
listItems | Array |
Returns:
- Type:
- void