src/Primitive/Container/Container.php
public function fromJson($json)
    {
        $json = $this->getStringable($json);

        if ($this->isJson($json))
        {
            $this->initialize(json_decode($json, true));
        }

        return $this;
    }
public function fromJson($json)
    {
        $json = $this->getStringable($json);

        if ($this->isJson($json))
        {
            $this->initialize(json_decode($json, true));
        }

        return $this;
    }
Construct from Json.

@param $json
@return $this