• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/lib/protobuf/jsonresponse.php
  • Класс: BitrixPullProtobufJsonResponse
  • Вызов: JsonResponse::fromArray
static function fromArray(array $values)
    {
        $message = new self();
        $values  = array_merge([
            'json' => null
        ], $values);

        $message->setJson($values['json']);

        return $message;
    }