protected _from_json ( string $data ) : mixed | ||
$data | string | Encoded json string |
Результат | mixed | Decoded json string with leading and trailing whitespace removed |
protected function _from_json($data)
{
return json_decode(trim($data));
}