Overthink JSON #3

Closed
opened 2019-01-13 10:24:19 +00:00 by Dennis · 1 comment
Owner

Right now, JSON is used to save all configuration, but also all messages. It is probably not the most suitable format.

Think about other formats, for example, YAML.

Right now, JSON is used to save all configuration, but also all messages. It is probably not the most suitable format. Think about other formats, for example, [YAML](https://wiki.python.org/moin/YAML).
Dennis self-assigned this 2019-01-13 10:24:19 +00:00
Dennis added the
enhancement
label 2019-01-13 10:24:19 +00:00
Author
Owner

Alternatives to JSON:

All these languages support comments and multi line strings (which are the main reasons to move away from traditional JSON).

I probably prefer Hjson because it has a similar structure to JSON and because it is backwards compatible with JSON.

Alternatives to JSON: * [YAML](https://wiki.python.org/moin/YAML) * [TOML](https://github.com/toml-lang/toml) * [Hjson](https://hjson.org/) All these languages support comments and multi line strings (which are the main reasons to move away from traditional JSON). I probably prefer Hjson because it has a similar structure to JSON and because it is backwards compatible with JSON.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dennis/plugable-matrix-bot#3
No description provided.