Airship\Engine\Hail::getJSON PHP Method

getJSON() public method

Perform a GET request, get a decoded JSON response.
public getJSON ( string $url, array $params = [] ) : mixed
$url string
$params array
return mixed
    public function getJSON(string $url, array $params = [])
    {
        return \Airship\parseJSON($this->getReturnBody($url, $params), true);
    }