php7 in the json json_encode function usage
json_encode - JSON encoding of variables
$arr = array ('a'=>1,'b'=>2,'c'=>3,'d'=>4,'e'=>"96net.com.cn");
echo json_encode($arr);
The above example will output:
{"a":1,"b":2,"c":3,"d":4,"e":"96net.com.cn"}