Using Javascript
, specifically Google Apps Script
(GAS), I need to convert an .xls
file to JSON
; but I would settle for .csv
or .xml
.
Does anyone know any way to do this? Some library, perhaps? Or a private script willing to share? (Note: GAS can not recognize ActiveXObject
)
Prior research (does not apply)
This question does not apply because I am asking for a solution coded in Javascript (or a workaround for Google Apps Script). (The answers to the above question focus on a Java solution and other various .csv to JSON converters.)
Yes, I know there is an open issue for GAS already in the works. But I was wondering if anyone has coded any .js workaround to do the job in the meantime?