GLON

Compare GLON

Data Serialization Format GLON JSON JSON5 YAML TOML Hjson NestedText
Valid Markdown Y N N N N N N
Data valid if indented with spaces Y Y Y Y Y Y Y
Data valid if indented with tabs Y Y Y N Y Y N
Unquoted keys (without spaces) Y N Y Y Y Y Y
Unquoted keys (with spaces) Y N N Y N N Y
Allows [],{},"",'',`` anywhere in string values + keys Y Y Y Y Y Y N
Above feature & without escaping or quotes Y N N N N N N
Unquoted strings Y N N Y N Y Y
Allows #hashTags anywhere in unquoted keys + values Y N N N N N N
Allows [[WikiLinks]] in unquoted keys + values Y N N N N N N
Can make arrays without brackets Y N N Y N N Y
Can make objects (key value pairs) without {}/[] Y N N Y N N Y
Supports data types other than strings Y Y Y Y Y Y N
Format parser can treat all data as strings Y N N N N N Y
Supports comments on their own lines Y N Y Y Y Y Y
Supports comments on the same line as data Y N N Y Y Y N
Can preserve tabs + spaces in unquoted keys + values Y N N Y N N N
Above feature & including leading and trailing Y N N N N N N
Can separate keys + values with Equals Y N N N Y N N
Can separate keys + values with Colon Y Y Y Y N Y Y

- SOURCES:
  - Results of 'convert to JSON' tools per format.
  - Documentation per format.
  - Report error / correction
- COMMON TO ALL:
  - All formats use plain text.
  - All formats can convert to JSON.
  - All formats offer multi-line strings.
- FORMATS:
  - GLON
  - JSON
  - JSON5
  - Hjson
  - NestedText
  - YAML
  - TOML