• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/baseobject.php
  • Класс: BitrixDiskBaseObject
  • Вызов: BaseObject::jsonSerialize
public function jsonSerialize(): array
{
	return [
		'id' => (int)$this->getId(),
		'name' => $this->getName(),
		'createTime' => $this->getCreateTime(),
		'updateTime' => $this->getUpdateTime(),
		'deleteTime' => $this->getDeleteTime(),
		'code' => $this->getCode(),
		'xmlId' => $this->getXmlId(),
		'storageId' => (int)$this->getStorageId(),
		'realObjectId' => (int)$this->getRealObjectId(),
		'parentId' => (int)$this->getParentId(),
		'deletedType' => (int)$this->getDeletedType(),
		'createdBy' => $this->getCreatedBy(),
		'updatedBy' => $this->getUpdatedBy(),
		'deletedBy' => $this->getDeletedBy(),
	];
}