I have made an algorithm in javascript and used it in my own plugin to return the results. That works fine.
Now I would like to return an Array from my javascript plugin and load it into a C2 array. I've tried to use JSON.stringify(myOneDimensionalArray) and return this string in the plugin, and then in C2 tried to load the string from JSON, but i guess C2 expects a 3D array and my array is one dimensional.
Maybe I could make some string manipulation in my Javascript and make it look like a C2 array but is this the right way to go - or do some of you have a better approach?