{"id":13581979,"url":"https://github.com/tailscale/hujson","last_synced_at":"2025-05-13T23:08:43.555Z","repository":{"id":37848494,"uuid":"211732950","full_name":"tailscale/hujson","owner":"tailscale","description":"HuJSON: JSON for Humans (JWCC: JSON w/ comments and trailing commas)","archived":false,"fork":false,"pushed_at":"2025-02-26T03:45:58.000Z","size":246,"stargazers_count":682,"open_issues_count":5,"forks_count":24,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-04-13T00:37:16.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailscale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-29T22:14:23.000Z","updated_at":"2025-04-11T18:42:35.000Z","dependencies_parsed_at":"2024-06-18T13:00:38.355Z","dependency_job_id":"c6be0816-d10e-49b7-9222-7dfb1676dcec","html_url":"https://github.com/tailscale/hujson","commit_stats":{"total_commits":29,"total_committers":9,"mean_commits":"3.2222222222222223","dds":0.5172413793103448,"last_synced_commit":"20486734a56a3455c47994bf4942974d6f9969a0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fhujson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fhujson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fhujson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fhujson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale","download_url":"https://codeload.github.com/tailscale/hujson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650414,"owners_count":21139671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:02:21.778Z","updated_at":"2025-04-13T00:37:23.024Z","avatar_url":"https://github.com/tailscale.png","language":"Go","readme":"# HuJSON - \"Human JSON\" ([JWCC](https://nigeltao.github.io/blog/2021/json-with-commas-comments.html))\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/tailscale/hujson.svg)](https://pkg.go.dev/github.com/tailscale/hujson)\n\nThe `github.com/tailscale/hujson` package implements\nthe [JWCC](https://nigeltao.github.io/blog/2021/json-with-commas-comments.html) extension\nof [standard JSON](https://datatracker.ietf.org/doc/html/rfc8259).\n\nThe `JWCC` format permits two things over standard JSON:\n\n1. C-style line comments and block comments intermixed with whitespace,\n2. allows trailing commas after the last member/element in an object/array.\n\nAll JSON is valid JWCC.\n\nFor details, see the JWCC docs at:\n\nhttps://nigeltao.github.io/blog/2021/json-with-commas-comments.html\n\n## Visual Studio Code association\n\nVisual Studio Code supports a similar `jsonc` (JSON with comments) format. To\ntreat all `*.hujson` files as `jsonc` with trailing commas allowed, you can add\nthe following snippet to your Visual Studio Code configuration:\n\n```json\n\"files.associations\": {\n    \"*.hujson\": \"jsonc\"\n},\n\"json.schemas\": [{\n    \"fileMatch\": [\"*.hujson\"],\n    \"schema\": {\n        \"allowTrailingCommas\": true\n    }\n}]\n```","funding_links":[],"categories":["开源类库","Go","Open source library"],"sub_categories":["JSON"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fhujson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailscale%2Fhujson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fhujson/lists"}