<?php
$json = Array (
"a" => "php" ,
"b" => "mysql" ,
"c" => 3 ) ;
$json_Class=json_encode($json);
print_r($json_Class);
?>
结果:{"a":"php","b":"mysql","c":3}
2021-11-18 21:54:36
<?php
$json = Array (
"a" => "php" ,
"b" => "mysql" ,
"c" => 3 ) ;
$json_Class=json_encode($json);
print_r($json_Class);
?>
结果:{"a":"php","b":"mysql","c":3}