manager-bundle/src/ContaoManager/ApiCommand/SetConfigCommand.php
protected function execute(InputInterface $input, OutputInterface $output): void
    {
        $data = @json_decode($input->getArgument('json'), true);

        if (null === $data) {
            throw new \RuntimeException('Invalid JSON: '.json_last_error_msg());
        }

        $this->managerConfig->write($data);
    }
protected function execute(InputInterface $input, OutputInterface $output): void
    {
        $data = @json_decode($input->getArgument('json'), true);

        if (null === $data) {
            throw new \RuntimeException('Invalid JSON: '.json_last_error_msg());
        }

        $this->managerConfig->write($data);
    }
{@inheritdoc}