I am currently working with sockets (server and client) and I have been attempting to send a matrix. My goal is to send a string array and then convert it into a variable called "ARRAY". For instance, if I want to send an array structured like this:
edit `
var myString = "[\"Item\", \"Count\"],[\"iPad\",2],[\"Android\",1]";
var arr = JSON.parse("[" + myString + "]");
alert(arr[0][0]);
`
I came across this example, but it is not a multidimensional array. What I am looking for is to be able to access elements like School.Section(1).User(1).Name