title: Handle multidimensional JSON with scala Play framework
body: <p>I am trying to send data from the client to the server using a JSON request. The body of the JSON request looks like this:</p>
  
  <pre><code>[
   [
    {"x":"0","y":"0","player":0},
    {"x":"0","y":"1","player":0},                      
    {"x":"0","y":"2","player":1}
   ],
   [
    {"x":"1","y":"0","player":0},
    {"x":"1","y":"1","player":2},
    {"x":"1","y":"2","player":0}
   ],
   [
    {"x":"2","y":"0","player":0},
    {"x":"2","y":"1","player":1},
    {"x":"2","y":"2","player":2}
   ]
  ] 
  </code></pre>
  
  <p>On server side I would like to transform data with Play 2 framework to Scala 2D list like this:</p>
  
  <pre><code>List(
   List(0,0,1),
   List(0,2,0),
   List(0,1,2)
  )
  </code></pre>
  
  <p>this is 3x3 but it can be variable like 50x50 or so.</p>
  
  <p>Thanks for any help.</p>