Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon



Hjson is a data notation created in 2014 by Christian Zangl.

#478on PLDB 8Years Old 2.6kUsers
0Books 0Papers

Hjson is a syntax extension to JSON. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself. It's intended to be used like a user interface for humans, to read and edit before passing the JSON data to the machine.

Example from the web:
{ # hash style comments # (because it's just one character) // line style comments // (because it's like C/JavaScript/...) /* block style comments because it allows you to comment out a block */ # Everything you do in comments, # stays in comments ;-} }

Language features

Feature Supported Example Token
MultiLine Comments
/* A comment
/* */
# A comment
Line Comments
# A comment
Semantic Indentation ϴ
pony.html · hjson.html · swift-il.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub ·