[php入門]json_decode() の使い方
phpコード:
<?php
$json = '{“a":1,"b":2,"c":3,"d":4,"e":5}’;
var_dump(json_decode($json));
echo"<br/>";
var_dump(json_decode($json, true));
?>
Coding Changes the World
phpコード:
<?php
$json = '{“a":1,"b":2,"c":3,"d":4,"e":5}’;
var_dump(json_decode($json));
echo"<br/>";
var_dump(json_decode($json, true));
?>