plugin return complex datastructure: an array of arrays

Hi there!

The plug in I am working on has to return to some complex data, like a matrix.

M[rows][columns]

each row is an array, let say a PersonInformation[name][age][address][etc…]…

what is the best solution in this case?
Is it ok to return a String structure? Will Servoy be able to handle it?

Thnak you!

Yes, that is no problem. The only little issue is that in the tooltip this looks a bit ugly.

I try to avoid giving something like that back to the developer by creating an array of custom (js) objects.
This way you don’t have to ‘guess’ where a value is but you can reach it per a convenience method.