• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/httprequest.php
  • Класс: BitrixMainHttpRequest
  • Вызов: HttpRequest::decodeJson
public function decodeJson(): void
{
	if ($this->isJson())
	{
		try
		{
			$json = WebJson::decode(static::getInput());
			if (is_array($json))
			{
				$this->jsonData = new TypeParameterDictionary($json);
			}
		}
		catch (ArgumentException)
		{
		}
	}
}