PHP json_encode() and json_decode()

<?php$object1 = array('a' =>1, 'b' => 2, 'c' => 3, 'd' => 4, 'e' => 5);

echo $object2 = json_encode($object1);

foreach (json_decode($object2) as $key => $value) { echo $key.' ... '.$value.<br>;}
?>

Related Posts

MooTools - JSON Sort php array, MooTools - JSON, JSON