I\'m trying to convert a PHP multidimensional array to a javascript array using the JSON encoder. When I do a var_dump, my php array looks like this:
array (
Do not use parseJSON, that's for a string. Just do:
'a', 'Value'=>'asite.com'); ?>
This give me in the console:
Object { Key="a", Value="asite.com"}