Measures Concepts
GitHub icon

Hjson

Hjson - Data notation

< >

Hjson is an open source data notation created in 2014 by Christian Zangl.

Source code:
git clone https://github.com/hjson/hjson
#470on PLDB 10Years Old

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 Token Example
MultiLine Comments ✓ /* */
/* A comment
*/
Comments ✓
# A comment
Line Comments ✓ #
# A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout