4 ms·
JSON is okay, but I hope TOML will gain traction soon. Because comments. And trailing commas. Rust Crate is already using TOML for package metadata. https://gi
by ash 12y ago
JSON is okay, but I hope TOML will gain traction soon. Because comments. And trailing commas. Rust Crate is already using TOML for package metadata.
https://github.com/toml-lang/toml https://github.com/toml-lang/toml
http://doc.crates.io/manifest.html http://doc.crates.io/manifest.html
- bjt 12y agoI've been -1 on TOML for a long time, and preferred YAML, but your point about comments is persuading me.
- nor0101 12y ago+1 for TOML, started playing with Rust a couple of weeks ago.
- catwell 12y ago+1 for TOML. If you think simplicity matters, look at the YAML spec [1], vomit and never use it again. If you still don't believe me, try implementing a conforming YAML 1.2 parser (oh, and try not to make it a source of RCE [2]...). [1] http://yaml.org/spec/1.2/spec.html http://yaml.org/spec/1.2/spec.html [2] 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...
- pnathan 12y ago+2 on Toml, it's a great config file language.