two dimention array to be passed between flex and java using LCDS

I want to pass a two dimensional array from the java side to flex site . what is best way to decide on the data structure on the java and flex side and how to do it .
randyrajAsked:
Who is Participating?
 
dgofmanConnect With a Mentor Commented:
Hi randyraj,
I would like to know if my answer solved your problem?
Please can you update status of this question,
Thanks,
David
0
 
dgofmanCommented:
In Java you can use Map<Integer, List<Integer>>
On the Flex side Create Object of Array:

var o:Object = new Object();
o[1] = [1,2,3,4,5];
o[2] = [6.7.8.9.0];

etc...
0
 
randyrajAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.