title: How Get Data From Json in Extjs
body: <p>i have this store. my problem, i want get data from this Json.</p>
  
  <pre><code>Ext.define('DWP.store.Test', {
  extend: 'Ext.data.Store',
  
          fields: [
             {name: 'field1'},
             {name: 'field2'},
          ],
          proxy: {
              type: 'ajax',
              url : 'resources/data/load.php',
              reader: {
              type: 'json',
              rootProperty: 'root'
              }
          },
           autoLoad: true,
     });
  </code></pre>
  
  <p>i tried this code to get the data from Json, but not worked. how can i get data from json?</p>
  
  <pre><code> var json = Ext.encode(Ext.pluck(store.data.items, 'store'));
  </code></pre>