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.
[ { Object { 03-13-2012="Jazz"}, Object { 07-19-2012="Pop"}, ... ]
How can I convert this array into one object, like this (in PHP or jQuery):
Object { 03-13-2012="Jazz", 07-19-2012="Pop"}
Edit: Here's the beginning of my print_r for the PHP array:
Array
(
[0] => Array
(
[03-13-2012] => Jazz
)
[1] => Array
(
[07-19-2012] => Pop
)
)
print_r.)