title: ExtJS grab JSON result
body: <p>I'm generating JSON response from PHP witch looks like this:</p>
  
  <pre><code>{ done:'1', options: [{ message:'Example message'},{message:'This is the 2nd example message'}]}
  </code></pre>
  
  <p>I want to grab these results using ExtJS. This is what I have so far:</p>
  
  <pre><code>Ext.Ajax.request({
      loadMask: true,
      url: 'myfile.php',
      params: {id: "1"}
  });
  </code></pre>
  
  <p>What do I have to write next to get the json results like this: </p>
  
  <pre><code>var mymessages = jsonData.options;
  </code></pre>
  
  <p>And mymessages should contain Example message and This is the 2nd example message.</p>
  
  <p>Thank you.</p>