【发布时间】:2017-03-27 11:22:59
【问题描述】:
【问题讨论】:
-
试试
json_decode()函数 ;) php.net/manual/en/function.json-decode.php
【问题讨论】:
json_decode()函数 ;) php.net/manual/en/function.json-decode.php
感谢您的帮助。这是我的解决方案:
$json = $request->getContent();
$arrayJson = json_decode($json, true);
$user = $arrayJson['user'];
$password = $arrayJson['password'];
$mandant = $arrayJson['mandant'];
$mandantName = $mandant('name');
$mandantAbbr = $mandant('abbr');
【讨论】: