loadArray doesn't exist, right?
So, how to I save an array to data.properties and then load it again?
Code:
def testArray = ["Black","White","Red"]
...
save("testscript.testArray",testArray)
...
testArray = loadArray("testscript.testArray")
???
I know loadArray (above) doesn't work; I'm just trying to illustrate what I want to do here.
When I used loadString, it did exactly as expected: made testArray = "["Black","White","Red"]"; a text string, not an actual array.
What do I use to do this?
If it can't be done, I do have a workaround in mind, but I'm curious if/how to do this anyway for future use.