📜  如何解码查询字符串 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:27.628000             🧑  作者: Mango

代码示例1
// in jquery you can send object as a query string or via ajax 
$data = '{
    "name": "Aris",
    "Gender": "Male"
}';

//in php you can read query string via json_decode method
$new_data = json_decode($data);