# hjson/hjson

Hjson, a user interface for JSON

Repository: https://github.com/hjson/hjson
Canonical: https://ross.abutalabs.com/products/hjson
Homepage: https://hjson.github.io/
Language: HTML
License: MIT
License Family: permissive
Topics: hjson, human, json, spec
Last push: 2026-04-20T18:46:55+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 78, release rhythm 35, longevity 100
- inputs: {"age_days": 4550, "days_push": 135, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2857, forks 58 (observed 2026-08-28T04:07:25.912643+00:00)

## What it is
Hjson is a syntax extension to JSON that makes configuration files easier for humans to read and edit, adding comments, optional commas, quoteless strings, and multiline strings. It provides parsers and serializers implemented across many languages that convert between Hjson and standard JSON.

## Use cases
- write config files with comments in json
- parse hjson to json
- avoid comma syntax errors in json configs
- human-editable json format
- convert hjson config to standard json
- multiline strings in json config

## When to choose
- you need JSON-compatible config files that humans frequently read and edit
- you want inline comments and relaxed syntax in configuration data
- you need implementations across multiple languages with a common spec

## When to avoid
- you need strict, machine-generated JSON with no tolerance for comments or relaxed syntax
- your tooling only accepts standard JSON parsers
- you need a full configuration management system rather than a data format

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser, configuration-management, developer-tools
- domain: developer-tools, files, apis
- platform: cross-platform, python, go, rust, jvm, dotnet, php, lua
- tags: json, hjson, config-format, human-readable, comments, multi-language, nodejs

## Member repositories
- hjson/hjson (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:25.912643+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:36:30.201131+00:00, confidence not recorded.
  - readme: https://github.com/hjson/hjson (fetched 2026-08-28T04:07:25.912643+00:00, sha cb2394259f4d)
  - homepage: https://hjson.github.io/ (fetched 2026-08-29T09:52:10.261827+00:00, sha 8918ffc2572a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
