Tengo este array en PHP:
Array (
[SCAN] => Array (
[SITE] => Array ([0] => http://www.site.com )
[DOMAIN] => Array ([0] => www.site.com )
[IP] => Array ( [0] => 134.0.xx.xxx )
)
[SYSTEM] => Array ( [NOTICE] )
)
Y me gustaria convertiro en un objeto json con json_encode($array); pero lo que me devuelve es:
"Array\n(\n[SCAN] => Array\n (\n [SITE] => Array\n (\n [0] => http:\/\/www.site.com..."
Alguna idea? Gracias!