Show HN: Duper – The Format That's Super

3 days ago 2

Skip to content

A human-friendly extension of JSON with quality-of-life improvements, extra types, and semantic identifiers.

Duper

🎨

Ergonomic

Optional quotes for keys, trailing commas, comments, and clean syntax.

🔧

Rich types

Tuples, bytes, raw strings, and more beyond basic JSON.

🔄

JSON-compatible

Every valid JSON file is automatically valid Duper.

📝

Self-documenting

Identifiers provide guidance, readability, and validation.

Why Duper?

Duper excels in a variety of use cases:

  • Configuration files: Duper's explicit types and identifiers serve as helpful guides when users need to modify values.
  • REST APIs: Self-documenting identifiers make Duper feel natural in API payloads and responses.
  • Data interchange: With support for bytes, raw data, minimal syntax, and JSON compatibility, Duper is ideal for data exchange between systems.

Playground

Comparison

FeatureDuperJSONJSON5YAMLTOML
Comments
Trailing commas
Unquoted keys
Integers
Tuples
Bytes[1]
Date and time
Raw strings
Identifiers
Unambiguous[2]⚠️[3]
Simple
JSON-compatible
Popular⚠️
Read Entire Article