Skip to content

DuperThe format that's super!

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

Duper

Why Duper? ​

Duper excels in a variety of use cases:

  • Configuration files: Duper's explicit types and comments serve as helpful guides when users need to modify values.
  • REST APIs: Extended type support and self-documenting identifiers make Duper a natural fit for API responses.
  • Logging: With a simple and readable syntax for logs, Duper is a breath of fresh air for both manual and tool-assisted debugging.

Playground ​

Duper

Comparison ​

FeatureDuperJSONJSON5YAMLTOMLRON
Comments✅❌✅✅✅✅
Trailing commas✅❌✅✅✅✅
Unquoted keys✅❌✅✅✅✅
Integers✅❌❌✅✅✅
Tuples✅❌❌❌❌✅
Bytes✅❌❌✅[1]❌✅
Date and time✅[2]❌❌✅✅❌
Raw strings✅❌❌✅✅✅
Identifiers/tags✅❌❌✅❌✅
Unambiguous✅✅✅❌[3]⚠️[4]✅
Simple✅✅✅❌✅✅
JSON-compatible✅✅✅✅❌❌
Popular❌✅⚠️✅✅⚠️

Released under the MIT License.