JSON Enconde

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

echo json_encode($arr);
?>
  
  {"a":1,"b":2,"c":3,"d":4,"e":5}
Blue-eyed Baboon