2 ms·
I've used JSON and YAML for a very long time, but whenever I have the option, I'll be using TOML every time. YAML is _huge_ (did you know all JSON is valid YAM
by steveklabnik 10y ago
I've used JSON and YAML for a very long time, but whenever I have the option, I'll be using TOML every time.
YAML is _huge_ (did you know all JSON is valid YAML?) and those features can come back to bite you... http://blog.codeclimate.com/blog/2013/01/10/rails-remote-code-execution-vulnerability-explained/ http://blog.codeclimate.com/blog/2013/01/10/rails-remote-cod...
JSON has a number of annoyances, mostly no comments, no trailing commas, all the stuff this article gets into.
Formats like INI or CSV don't really have a spec, or if they do, most implementations don't seem to follow them.
TOML is a bit weird at first, but it's grown on me quite a bit.