code: public function serialize(): string
  	{
  		$toSerialize = [
  			'_arrayOptions' => $this->_arrayOptions,
  			'_jsonOptions'  => $this->_jsonOptions,
  		];
  		foreach ($this->_publicNames as $k) {
  			$toSerialize[$k] = $this->{$k};
  		}
  
  		return serialize($toSerialize);
  	}
docs: String representation of PHP object.
  
  This serialization, as opposed to JSON or BSON, does not unwrap the
  structured data. It only omits data that is part of the class definition.
  
  @link  https://php.net/manual/en/serializable.serialize.php
  @return string the string representation of the object or null