title: Parse JSON array using casablanca
body: <p>I am trying to read from a JSON response in Casablanca. The sent data looks like this:</p>
  
  <pre><code>{
  "devices":[
    {"id":"id1",
     "type":"type1"},
    {"id":"id2",
     "type":"type2"}
  ]
  }
  </code></pre>
  
  <p>Does anyone know how to do this? Casablanca tutorials only seem to care about creating such arrays and not about reading from them.</p>