Introduction
Hjson is a syntax related to JSON that is
meant to be easier for people to write. Files use the extension .hjson and
must be UTF-8 without a byte order mark; an optional first line #hjson can
identify them.
Structure
Comments start with # or // and run to the end of the line,
or sit between /* and */. A string may be written without
quotes, in which case it runs to the end of the line. Multiline strings are written
between ''' marks, and the indentation of the opening mark is stripped from
the lines that follow.
Not described
This page is a first outline.
Known, not yet covered
- Reference: the full grammar.
- Viewer: the site has no viewer for this format.
Links
Reference
- Hjson syntax – the description of the syntax