src/Config/Stream/JsonStream.php
<?php
declare(strict_types=1);
namespace Peak\Config\Stream;
use Peak\Config\Processor\JsonProcessor;
/**
* Class JsonStream
* @package Peak\Config\Stream
*/
class JsonStream extends DataStream
{
/**
* JsonStream constructor.
* @param string $json
*/
public function __construct($json)
{
parent::__construct($json, new JsonProcessor());
}
}