This commit is contained in:
bluepython508 committed 2026-10-22 12:27:19 +01:00
1 parent 3530afb854
commit 6903fcff27
2146 files changed
+112256 -190703

No files matched your search

+10
View File
@@ -1,5 +1,7 @@
# HuJSON - "Human JSON" ([JWCC](https://nigeltao.github.io/blog/2021/json-with-commas-comments.html))
[![Go Reference](https://pkg.go.dev/badge/github.com/tailscale/hujson.svg)](https://pkg.go.dev/github.com/tailscale/hujson)
The `github.com/tailscale/hujson` package implements
the [JWCC](https://nigeltao.github.io/blog/2021/json-with-commas-comments.html) extension
of [standard JSON](https://datatracker.ietf.org/doc/html/rfc8259).
@@ -15,6 +17,14 @@ For details, see the JWCC docs at:
https://nigeltao.github.io/blog/2021/json-with-commas-comments.html
## Formatting with hujsonfmt
`hujsonfmt` is a program that formats HuJSON files. Install it by running:
```
go install github.com/tailscale/hujson/cmd/hujsonfmt@latest
```
## Visual Studio Code association
Visual Studio Code supports a similar `jsonc` (JSON with comments) format. To