title: Reading JSON data with jQuery
body: <p>I have a JSON file and i have to read data from this file when the page loads. I suspect there is something wrong with my JSON Structure. JSONLint is showing that it is valid. So i must be using the wrong method to access it.</p>
  
  <p>It is basically an array of objects (or that is what i think). </p>
  
  <pre><code>{"Listings":[
  {"Listing1":
      {
          "agency_code":"BP",
          "property_code":"BON1",
          "Property_GUID":"6dded624",
          "FileNo /":"",
          "country":"AUSTRALIA",
          "state":"New South Wales",
          "subregion /":""
              }
          },
     {"Listing1":
      {
          "agency_code":"BPGA",
          "property_code":"BONNSTG4-Lot11",
          "Property_GUID":"6dded624-cde2-429a-81d4-bd6f91256345",
          "FileNo /":"",
          "country":"AUSTRALIA",
          "state":"New South Wales",
          "subregion /":""
              }
          }
      ]
  }
  </code></pre>
  
  <p>I am using the $.ajax to read the JSON. The file is loading successfully. Now how do i access the individual "listings" and how to measure how many Listings are present in total?
  I tried the $.each to loop through the array but my code is not working.</p>