
Description
Duper is a human-friendly extension of JSON for writing configuration files, API responses and logs. It keeps JSON compatibility, so every valid JSON file is automatically valid Duper, and adds the things JSON lacks: trailing commas, comments, optional quotes for keys, tuples, bytes, raw strings, Temporal date and time values, and proper integer support. Identifiers, which are semantic tags attached to values, make files self-documenting and can add optional validation. The site presents the format as suited to three jobs. For configuration files, the explicit types and comments help users who need to change a value. For REST APIs, the extra types and identifiers make responses easier to read and use. For logs, the syntax is simple enough to read by hand or with tools. A playground lets you compare Duper with JSON, YAML and TOML, and a comparison table sets Duper against JSON, JSON5, YAML, TOML and RON on features such as comments, trailing commas, unquoted keys, tuples and date and time support. The specification and a quick-start guide are on the site, and the source is on GitHub. Duper is released under the MIT licence. It suits developers who write configuration by hand and want something stricter than YAML and friendlier than JSON.…
Highlights
- JSON-compatible with extra features
- Trailing commas, comments and unquoted keys
- Tuples, bytes, raw strings and Temporal dates
- Identifiers that document values
- Playground and comparison with other formats
Ratings & Reviews
No ratings yet
Be the first to rate Duper.
People also visit
Duper FAQ
What is Duper?
A human-friendly extension of JSON with comments, trailing commas, extra types and identifiers.
Is every JSON file valid Duper?
Yes. The site says every valid JSON file is automatically valid Duper.
What is it good for?
Configuration files, REST API responses and logs, according to the site.
What licence is it under?
The MIT licence, and the source is on GitHub under EpicEric/duper.
What are the best Duper alternatives?
Popular alternatives to Duper include Svelte Jsoneditor, Json Viewer and JSONT. See all Duper alternatives
.png?auto=compress&fit=max&w=128)



