I have a 2D array that I need to save as a property in Google App Script. How would I do this?
var array = [['value 1', 1.0, 'A'],['value 2', 2.0, 'B'],['value 3', 3.0, 'C']]
PropertiesService.getScriptProperties().setProperty('myArray', array)
When I run the code as listed above I get [Ljava.lang.Object;@40ac055f as the value.
When I us array.toString() the property value negates the square brackets.
Thanks in advance!