Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+10
@@ -1,5 +1,7 @@
|
||||
# HuJSON - "Human JSON" ([JWCC](https://nigeltao.github.io/blog/2021/json-with-commas-comments.html))
|
||||
|
||||
[](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
|
||||
|
||||
Reference in new issue
Block a user