Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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

http://doc.crates.io/manifest.html



+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

[2] http://blog.codeclimate.com/blog/2013/01/10/rails-remote-cod...


+1 for TOML, started playing with Rust a couple of weeks ago.


+2 on Toml, it's a great config file language.


I've been -1 on TOML for a long time, and preferred YAML, but your point about comments is persuading me.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: