public function setJsonPrettyPrint(bool $enable): self
    {
        if ($enable) {
            $this->jsonEncodeOptions |= JSON_PRETTY_PRINT;
        } else {
            $this->jsonEncodeOptions ^= JSON_PRETTY_PRINT;
        }

        return $this;
    }
public function setJsonPrettyPrint(bool $enable): self
    {
        if ($enable) {
            $this->jsonEncodeOptions |= JSON_PRETTY_PRINT;
        } else {
            $this->jsonEncodeOptions ^= JSON_PRETTY_PRINT;
        }

        return $this;
    }
public function setJsonPrettyPrint ( bool $ enable ) : self { if ( $ enable ) { $ this -> jsonEncodeOptions |= JSON_PRETTY_PRINT ; } else { $ this -> jsonEncodeOptions ^= JSON_PRETTY_PRINT ; } return $ this ; }
Enables `json_encode` pretty print.
Enables json_encode pretty print .