title: Getting the value of an object's property where the key is a blank string
body: <p>Given this object:</p>
  
  <pre><code>: http://www.w3.org/2005/Atom
  gd: http://schemas.google.com/g/2005 
  openSearch: http://a9.com/-/spec/opensearch/1.1/ 
  app: http://www.w3.org/2007/app; 
  media: http://search.yahoo.com/mrss/
  </code></pre>
  
  <p>How do I get the value of the first property? I suspect this is an easy process, but I'm drawing a blank. Thanks in advance.</p>
  
  <p>The object is built as such:</p>
  
  <p>Server side (php):</p>
  
  <pre><code>$namespaces = $feedXML-&gt;getNamespaces(true);
  $arr = array(
  'Status' =&gt; 'Success',
  'Message' =&gt; 'Feed fetched.',
  'Namespaces' =&gt; $namespaces,
  'Feed XML' =&gt; $feedXML
  );
  echo json_encode($arr);
  </code></pre>
  
  <p>Client side (JS):</p>
  
  <pre><code>   var output = '';
      for (property in dataj["Namespaces"]) {
          output += property + ': ' + dataj["Namespaces"][property] + '; ';
      }
      alert(output);
  </code></pre>
  
  <p>I would like to be able to check the namespaces to see if this is Atom or RDF.</p>
  
  <p>It sounds like just iterating each property is going to be the best way.</p>