src/Request.php
public function getJsonContent()
    {
        if ($this->jsonContent === null) {
            try {
                if (($content = $this->getContent()) === '') {
                    return $this->jsonContent = false;
                }

                $this->jsonContent = json_decode($content, true);
            } catch (\Exception $E) {
                return $this->jsonContent = false;
            }
        }

        return $this->jsonContent;
    }
public function getJsonContent()
    {
        if ($this->jsonContent === null) {
            try {
                if (($content = $this->getContent()) === '') {
                    return $this->jsonContent = false;
                }

                $this->jsonContent = json_decode($content, true);
            } catch (\Exception $E) {
                return $this->jsonContent = false;
            }
        }

        return $this->jsonContent;
    }
public function getJsonContent ( ) { if ( $ this -> jsonContent === null ) { try { if ( ( $ content = $ this -> getContent ( ) ) === '' ) { return $ this -> jsonContent = false ; } $ this -> jsonContent = json_decode ( $ content , true ) ; } catch ( \ Exception $ E ) { return $ this -> jsonContent = false ; } } return $ this -> jsonContent ; }
Get the content of the url as an array from json

@return false|array The content or false
Get the content of the url as an array from json