src/Leevel/Http/JsonResponse.php
public function getData(bool $assoc = true, int $depth = 512)
    {
        return json_decode($this->data, $assoc, $depth);
    }
public function getData(bool $assoc = true, int $depth = 512)
    {
        return json_decode($this->data, $assoc, $depth);
    }
取回数据.

@param bool $assoc
@param int  $depth

@return mixed