📜  如何在 laravel 中获取 json 编码的值 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:06.753000             🧑  作者: Mango

代码示例1
$json = '{"countryId":"84","productId":"1","status":"0","opId":"134"}';
$json = json_decode($json, true);
echo $json['countryId'];
echo $json['productId'];
echo $json['status'];
echo $json['opId'];