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:
NameTypeDescription
jsonListArray.<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:
NameTypeDescription
objObjectThe first object
listPropsArray
listItemsArray
Returns:
Type: 
void