public function outputJson(
		int $depth = 512,
		int $options = 0
	) {
		$json = json_decode(
			$this->output(),
			false,
			$depth,
			$options
		);
		if(is_null($json)) {
			$errorMessage = json_last_error_msg();
			throw new JsonDecodeException($errorMessage);
		}

		return $json;
	}
public function outputJson(
		int $depth = 512,
		int $options = 0
	) {
		$json = json_decode(
			$this->output(),
			false,
			$depth,
			$options
		);
		if(is_null($json)) {
			$errorMessage = json_last_error_msg();
			throw new JsonDecodeException($errorMessage);
		}

		return $json;
	}
Return json-decoded output from last exec call
@throws JsonDecodeException