title: convert php array into single JSON object
body: <p>I converted a PHP array into JSON, using json_encode. I checked the console, and the objects are displaying in array, but as individual objects.</p>
  
  <pre><code> [ { Object { 03-13-2012="Jazz"}, Object { 07-19-2012="Pop"}, ... ]
  </code></pre>
  
  <p>How can I convert this array into one object, like this (in PHP or jQuery):</p>
  
  <pre><code>Object { 03-13-2012="Jazz", 07-19-2012="Pop"}
  </code></pre>
  
  <p>Edit: Here's the beginning of my print_r for the PHP array:</p>
  
  <pre><code>Array
  (
      [0] =&gt; Array
          (
              [03-13-2012] =&gt; Jazz
          )
  
      [1] =&gt; Array
          (
              [07-19-2012] =&gt; Pop
          )
  )
  </code></pre>