Code: https://github.com/lpalleros/google-apps-script-array-converter/blob/main/script.gs.
source
Google Apps Script – Converting a Spreadsheet into an Array of Objects
Code: https://github.com/lpalleros/google-apps-script-array-converter/blob/main/script.gs.
source