json)) { $content = $this->getContent(); $parameters = Str::length($content) > static::JSON_MAX_LENGTH ? [] : (array) json_decode($content, true); $this->json = new ParameterBag($parameters); } if (is_null($key)) { return $this->json; } return data_get($this->json->all(), $key, $default); } }