Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 722 Bytes

File metadata and controls

20 lines (11 loc) · 722 Bytes

HuJSON - "Human JSON" (JWCC)

The github.com/tailscale/hujson package implements the JWCC extension of standard JSON. This package is a fork of the Go standard library's encoding/json.

The JWCC format permits two things over standard JSON:

  1. C-style line comments and block comments intermixed with whitespace,
  2. allows trailing commas after the last member/element in an object/array.

All JSON is valid JWCC.

For details, see the JWCC docs at:

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