Hacker GitHub

← All repos

tailscale/hujson

View on GitHub ↗ ★ 889 Go

HuJSON: JSON for Humans (JWCC: JSON w/ comments and trailing commas)

10 mentions on Hacker News by 10 people: 1 story, 9 comments · first 2021-10-24 · latest 2026-02-25

Mentions per year 10 mentions · busiest year 2023 (3)
20082026
  1. …b.io/blog/2021/json-with-commas-commen... There are a lot of implementations of all of these, such as https://github.com/tailscale/hujson
    comment by dgacmu · 2026-02-25 · in LLM=True
  2. Tailscale also have HuJSON: https://github.com/tailscale/hujson
    comment by gu009 · 2025-09-23 · in YAML document from hell (2023)
  3. …makes for a more convenient editing experience, at the price of an additional parsing step. [0]: https://github.com/tailscale/hujson
  4. They use hujson: https://github.com/tailscale/hujson But it doesn't accept things like the example that omits an intermediate comma: { "foo": 42 "bar": 123 } > hujson: line 3, column 5: invalid character '"' after object value (expecting…
  5. …files. I did a hacky workaround by preprocessing my JSON config with regex, but found HuJSON later. https://github.com/tailscale/hujson
    comment by zxcvgm · 2024-12-09 · in JSON parsers that can accept comments
  6. …Tailscale call HuJSON, as in "JSON for Humans", which as amusingly also what json5 claims to be. https://github.com/tailscale/hujson
    comment by nigeltao · 2024-12-08 · in JSON5 – JSON for Humans
  7. …to check out JSONC and JWCC/HuJSON https://nigeltao.github.io/blog/2021/json-with-commas-commen... https://github.com/tailscale/hujson
    comment by evntdrvn · 2023-05-21 · in TOML: Tom's Obvious Minimal Language
  8. That, and comments! Personally, I really hope Human JSON, https://github.com/tailscale/hujson , will get more popular!
    comment by codethief · 2023-04-23 · in Ron: Rusty Object Notation
  9. One of the variants that permit comments: https://github.com/tailscale/hujson