src/JsonConfig.php
protected function load(string $json, bool $jsonIsUrl = false): array
    {
        if ($jsonIsUrl) {
            return $this->loadUrl($json);
        }

        return $this->loadJson($json);
    }
protected function load(string $json, bool $jsonIsUrl = false): array
    {
        if ($jsonIsUrl) {
            return $this->loadUrl($json);
        }

        return $this->loadJson($json);
    }
Load configuration.

@param string $json      JSON data
@param bool   $jsonIsUrl If JSON data is URL? (default: false)

@return array
@throws \Berlioz\Config\Exception\ConfigException If unable to load configuration file