code: public function loadToFD($arr = array(), $exceptStr = "", $reverse = false, $clear = true)
      {
          $type = explode(";", $_SERVER['CONTENT_TYPE']);
          if (in_array("application/json", $type)) {
              $arr = $this->decodeJsonFromStream();
          }
  
          if ($_SERVER['REQUEST_METHOD'] == 'PUT') {
              $arr = $this->parseStrFromStream();
          }
  
          if ($clear) {
              $this->fd = array();
          }
  
          if (isset($arr) && is_array($arr)) {
              $except = explode(",", $exceptStr);
              $keys = array_keys($arr);
              $i = 0;
              foreach ($arr as $el) {
                  if (is_array($except)) {
                      if (in_array($keys[$i], $except) xor $reverse) {
                          $i++;
                          continue;
                      }
                  }
                  $this->fd[$keys[$i]] = $el;
                  $i++;
              }
          }
      }
docs: @brief load data from raw array to $this->fd array
  
  @param array $arr array to load
  @param string $exceptStr exception keys, delimited by comma
  @param boolean $reverse reverse exception, use only $exceptStr keys in result
  @param boolean $clear clear $this->fd array
  @version 1.1