mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
JSON output is now indented by default. Closes #350.
This commit is contained in:
parent
7061c05f77
commit
0d63b3cbae
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ class Dish {
|
|||
this.value = this.value instanceof BigNumber ? Utils.strToByteArray(this.value.toFixed()) : [];
|
||||
break;
|
||||
case Dish.JSON:
|
||||
this.value = this.value ? Utils.strToByteArray(JSON.stringify(this.value)) : [];
|
||||
this.value = this.value ? Utils.strToByteArray(JSON.stringify(this.value, null, 4)) : [];
|
||||
break;
|
||||
case Dish.FILE:
|
||||
this.value = await Utils.readFile(this.value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue