Format::_from_json PHP Method

_from_json() protected method

protected _from_json ( string $data ) : mixed
$data string Encoded json string
return mixed Decoded json string with leading and trailing whitespace removed
    protected function _from_json($data)
    {
        return json_decode(trim($data));
    }