title: How to parse json data in react native
body: <p>hi I am new to React native development, how to parse following data please help me</p>
  
  <p>here is my code</p>
  
  <pre><code>componentDidMount() {
  fetch('https://api.myjson.com/bins/96ebw')
  .then((response) =&gt; response.json())
  .then((responseJson) =&gt; {
  this.setState({
  isLoading: false,
  dataSource: responseJson.Pharmacy,
  }, 
  
  );
  })
  .catch((error) =&gt; {
  console.error(error);
  });
  }
  
  renderItem(dataSource) {
  const { List: list } = this.state.dataSource
  const { item } = dataSource;
  
  return (
  &lt;View style={styles.itemBlock}&gt;
  &lt;View style={styles.itemMeta}&gt;
  &lt;Text style={styles.itemName}&gt;{item.RxDrugName}&lt;/Text&gt;
  &lt;Text style={styles.itemLastMessage}&gt;{item.RxNumber}&lt;/Text&gt;
  &lt;/View&gt;
  
  &lt;View style={styles.footerStyle}&gt;
  &lt;View style={{ paddingVertical: 10 }}&gt;
  &lt;Text style={styles.status}&gt;{ item.StoreNumber }&lt;/Text&gt;
  &lt;/View&gt;
  
  &lt;View style={{ justifyContent: 'center', alignItems: 'center' }}&gt;
  &lt;Image source={require('../assets/right_arrow_blue.png')} /&gt;
  &lt;/View&gt;
  
  &lt;/View&gt;
  &lt;/View&gt;
  );
  }
  </code></pre>
  
  <p>json is</p>
  
  <pre><code>[
    {
      "Pharmacy": {
        "Name": "Hillcrest MOB Pharmacy",
        "StoreNumber": "254",
        "Address": {
          "StreetAddress": "50 Hillcrest Medical Blvd Ste 200-1",
          "City": "WACO",
          "State": "TX",
          "Zip": "76712"
        },
        "IsDefault": false
      },
      "ReadyForPickups": [
        {
          "RxDrugName": "Tizanidine HCL 4mg Caps",
          "RxNumber": "6000295",
          "StoreNumber": "254",
          "PatientPay": "15.59"
        }
      ]
    },
  
    {
      "Pharmacy": {
        "Name": "Waco Pharmacy",
        "StoreNumber": "251",
        "Address": {
          "StreetAddress": "1412 N Valley Mills, Suite 116",
          "City": "WACO",
          "State": "TX",
          "Zip": "76710"
        },
        "IsDefault": false
      },
      "ReadyForPickups": [
        {
          "RxDrugName": "Fluoxetine HCL 40mg Caps",
          "RxNumber": "6000233",
          "StoreNumber": "251",
          "PatientPay": "17.3"
        }
      ]
    }
  
  ]
  </code></pre>