mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Pretty print options for Config JSON
This commit is contained in:
parent
a964c0e3ec
commit
76fcad92b3
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ class Config{
|
|||
$content = $this->writeProperties();
|
||||
break;
|
||||
case CONFIG_JSON:
|
||||
$content = json_encode($this->config);
|
||||
$content = json_encode($this->config, JSON_PRETTY_PRINT | JSON_BIGINT_AS_STRING);
|
||||
break;
|
||||
case CONFIG_YAML:
|
||||
$content = Spyc::YAMLDump($this->config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue