Originally posted by miabrahams
View Post
- You can also edit XML by hand but nobody would say that it harmonizes with existing UNIX configuration file conventions. TOML is better at that than JSON is.
- TOML's type system is like JSON's but also adds a datetime type, so people hand-editing data containing dates don't have to manually mess around with human-unfriendly "seconds since the epoch" representations or typo-prone "timestamp as a string" representations.
- While not included with stdlibs, there are also TOML parsing libraries available for tons of different languages. (The "v0.5.0 compliant" section of their wiki lists parsers for C++, .NET, Elixir, Java, JavaScript, Objective-C, Python, R, Rust, Smalltalk, Swift, and Wren. If your schema doesn't need the features added in v0.5.0, the "v0.4.0 compliant" section takes that list and adds Clojure, Common Lisp, Crystal, Dart, Erlang, Fortran, Go, Haskell, LabVIEW, Lua, MATLAB, Nim, OCaml, Perl 5, Perl 6, PHP, Ruby, Chicken Scheme, Scala, and Shell.)
Comment