Answers for "json enconde"

1

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}
Posted by: Guest on February-23-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language