public function __construct($path) { $this->path = $path; $this->encoder = new JsonEncoder(); $this->encoder->setPrettyPrinting(true); $this->encoder->setEscapeSlash(false); }