mirror of
https://github.com/Noratrieb/jsonformat.git
synced 2026-01-14 22:25:01 +01:00
Update README.md
This commit is contained in:
parent
3cdfeda36e
commit
8c925370f7
1 changed files with 4 additions and 1 deletions
|
|
@ -26,6 +26,9 @@ OPTIONS:
|
||||||
-o, --output <output> The output file for the formatted json
|
-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?
|
## 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.
|
`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.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue