element-hq / element-hq/synapse
Use YAML parser implementing YAML 1.2 rather than 1.1
Open
A-Config
T-Enhancement
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#1885](https://github.com/matrix-org/synapse/issues/1885).
---
YAML 1.2 is a true superset of json. Using a parser that implemented 1.2 would allow configuration files written in json or yaml with no extra effort.
One possibility may be [ruamel.yaml](http://yaml.readthedocs.io/en/latest/overview.html) which is mentioned on yaml.org
Contributor guide
Assessment
This issue has not been assessed yet.