title: How can I reference an anonymous json array?
body: <p>I have a large JSON object which is being returned from QuickBooks Online API. It is valid JSON and shows up on the console (after logging it).</p>
  
  <p>Upon inspecting the console, I see the following:</p>
  
  <pre><code>[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]
  </code></pre>
  
  <p>Which can be expanded to:</p>
  
  <pre><code>[Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object]
  0: Object
  1: Object
  2: Object
  3: Object
  4: Object
  5: Object
  6: Object
  7: Object
  8: Object
  9: Object
  10: Object
  11: Object
  12: Object
  13: Object
  14: Object
  15: Object
  16: Object
  17: Object
  18: Object
  19: Object
  20: Object
  21: Object
  22: Object
  23: Object
  24: Object
  length: 25
  __proto__: Array[0]
  </code></pre>
  
  <p><code>0: Object</code> expands to:</p>
  
  <pre><code>0: Object
  *_data: Object
  $$hashKey: "object:82"
  __proto__: Object
  </code></pre>
  
  <p><code>*_data: Object</code> expands to:</p>
  
  <pre><code>Active: Array[1]
  Balance: Array[1]
  BalanceWithJobs: Array[1]
  BillAddr: Array[1]
  BillWithParent: Array[1]
  DisplayName: Array[1]
  FamilyName: Array[1]
  Fax: Array[1]
  FullyQualifiedName: Array[1]
  GivenName: Array[1]
  Id: Array[1]
  Job: Array[1]
  MetaData: Array[1]
  Mobile: Array[1]
  PreferredDeliveryMethod: Array[1]
  PrimaryEmailAddr: Array[1]
  PrimaryPhone: Array[1]
  PrintOnCheckName: Array[1]
  SalesTermRef: Array[1]
  SyncToken: Array[1]
  Taxable: Array[1]
  </code></pre>
  
  <p>I'm trying to access a property called <code>DisplayName</code>.  </p>
  
  <p>The Angular code that is being used to console.log the json data:</p>
  
  <pre><code>$http.get('/customer').success(function(customers) {
      $scope.customers = customers;
      console.log($scope.customers[0]["*_data"].DisplayName[0]);
  });
  </code></pre>
  
  <p>How can this be done? Can something be typed in the console to return its value? </p>
  
  <p><strong>Update:</strong></p>
  
  <p>I can access the object using:</p>
  
  <p><code>console.log($scope.customers[0]);</code></p>
  
  <p>However, <code>*_data</code> is an object.  I was thinking something like:</p>
  
  <p><code>console.log($scope.customers[0].*_data);</code> would work however, I receive the error:</p>
  
  <p><code>Uncaught SyntaxError: Unexpected token *</code>.</p>