Skip to content

Commit 992244d

Browse files
authored
README.md: mention the hujsonfmt formatter (#40)
Updates #cleanup Signed-off-by: Simon Law <[email protected]>
1 parent ec1d1c1 commit 992244d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ For details, see the JWCC docs at:
1717

1818
https://nigeltao.github.io/blog/2021/json-with-commas-comments.html
1919

20+
## Formatting with hujsonfmt
21+
22+
`hujsonfmt` is a program that formats HuJSON files. Install it by running:
23+
24+
```
25+
go install github.com/tailscale/hujson/cmd/hujsonfmt@latest
26+
```
27+
2028
## Visual Studio Code association
2129

2230
Visual Studio Code supports a similar `jsonc` (JSON with comments) format. To

0 commit comments

Comments
 (0)