php 获取post提交的json数据的兼容bug解决方法

不知名bug兼容方法

if (!empty($_POST)) {
    $dataPostKeys = array_keys($_POST);


    $nestedJson = json_decode($dataPostKeys[0], true);
}
//下面就是获取提交的
$nestedJson
THE END