From 8c925370f7a7406f18702c0aa9b01a96db306423 Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:37:34 +0200 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71dbfab..0e15133 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,10 @@ OPTIONS: -o, --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. -The code is currently a bit chaotic, but it works and is fast, so good enough for now. Maybe it could profit from SIMD in the future, but I have never used it and I don't know whether it would work. Maybe some day... \ No newline at end of file +The code is currently a bit chaotic, but it works and is fast, so good enough for now. Maybe it could profit from SIMD in the future, but I have never used it and I don't know whether it would work. Maybe some day...