Re:Crafting Functions
by xupybd on Wednesday October 14, 2020 @03:06PM
(#24780313)
Small typo in the second example. Trying to save the Jason object into the CSV file.
[ Parent
| on HN ]
Thanks xypybd! Mind giving me a snippet? (not quite sure where)
Re:Crafting Functions
by mdahlstrand on Wednesday October 14, 2020 @04:19PM
(#24781087)
Second code example:
fileURL = saveFile("export.csv", jsonStr);
(you should be writing csvStr to the file, not jsonStr)