Update README.md

This commit is contained in:
nora 2021-07-17 23:37:34 +02:00 committed by GitHub
parent bbc8c620d2
commit 7065de15e4

View file

@ -26,6 +26,9 @@ OPTIONS:
-o, --output <output> The output file for the formatted json
```
Reads from stdin if no file is supplied.
Outputs to stdout if no output file is specified.
## How?
`jsonformat` does not actually parse the json, it just loops through each characters and keeps track of some flags. It then copies these characters to the output buffer, adding and removing whitespace.