title: How to convert string array response to javascript 2D array?
body: <p>I am creating the following string response in JSP:</p>
  
  <pre><code>[[[1,2,3,4],[5,6,7,8]],[[9,10,11,12],[13,14,15,16]]]
  </code></pre>
  
  <p>and getting this response in jQuery.</p>
  
  <p>But I am getting it as 1D array, I need array to be like that only</p>
  
  <p>I am getting respone as  </p>
  
  <pre><code>var a = "[[[1,2,3,4],[5,6,7,8]],[[9,10,11,12],[13,14,15,16]]]";
  </code></pre>