highlight.hjson
{
// Numbers:
integer: 12
decimal: 12.3
// maybe you prefer js style comments
/* or if you feel old fashioned */
string: "One two three"
# comments are useful
"rate1": 1000,
"rate2": 2000
# quotes are optional
text: look ma, no quotes!
# note that for quoteless strings everything up
# to the next line is part of the string!
map:
{
a: 1
b: 2
}
map_with_commas:
{
a: 1,
b: 2,
}
multiline_text:
'''
KDE is a customizable,
open-source desktop environment
with a modern Plasma interface.
'''
numbers: [ 1, 2, 3, 6, 42 ],
complex_list: [
{ a: 1, b: 2, c: "string" },
{ d: 3, e: 4.1, f: string without quotes }
]
}