title: Access API returns JSON array
body: <p>I am using Javascript to decode a vehicles VIN number via an API. The returned message looks like this:</p>
  
  <pre><code>{Count: 116, Message: "Results returned successfully", SearchCriteria: "VIN(s): 60540kjhkjhkj5885", Results: Array(1)}
  </code></pre>
  
  <p>I need to know how to access the returned array in results.</p>
  
  <p>This is my current Javascript: </p>
  
  <pre><code>   // Decode VIN Number
  function post_VIN_decode() {
      var vinNumber = $('#id_vin_number').val();
      console.log("VIN Decode Sent") // sanity check
      $.ajax({
          url : "https://vpic.nhtsa.dot.gov/api/vehicles/decodevinvalues/" + vinNumber + "?format=json", // the endpoint
          type : "GET", // http method
  
          // handle a successful response
          success : function(json) {
              console.log(json); // log the returned json to the console
          },
  
          // handle a non-successful response
          error : function(xhr,errmsg,err) {
              $('#results').html("&lt;div class='alert-box alert radius' data-alert&gt;Oops! We have encountered an error: "+errmsg+
                  " &lt;a href='#' class='close'&gt;&amp;times;&lt;/a&gt;&lt;/div&gt;"); // add the error to the dom
              console.log(xhr.status + ": " + xhr.responseText); // provide a bit more info about the error to the console
          }
      });
  };
  
  $('#id_vin_number').keyup(function(e){
      if($("#id_vin_number").val().length &gt;= 17){
          event.preventDefault();
          console.log("VIN Decode started")  // sanity check
          post_VIN_decode();
      }
  });
  </code></pre>
  
  <p>Any help is appreciated.</p>