What is the best file format for configuration file?
What is the best file format for configuration file?
cross-posted from: https://programming.dev/post/1743099
.yaml, .toml, etc?
You're viewing a single thread.
All Comments
43 comments
If you want the file to be directly human readable/editable:
- TOML
- YAML
If you never need to look at it or edit it manually:
- JSON
20 0 ReplyI hate yaml with a passion. for stuff such as ansible it becomes an uneditable mess (one copy and paste away from destroying the whole file)
luckily, yaml is a superset of json, so you could just write json and feed it through a yaml parser and it'll work
14 0 Reply
43 comments
Scroll to top