code: private function getExceptions($url)
      {
          $exceptions = array();
  
          $data = json_decode(file_get_contents($url), true);
  
          foreach ($data['exceptions'] as $info) {
              $exceptions[$info['licenseExceptionId']] = array(trim($info['name']));
          }
  
          uksort($exceptions, 'strcasecmp');
  
          return $exceptions;
      }
docs: @param string $url
  
  @return array