3 ms·
Fun fact: YAML is a superset of JSON. That is, any JSON is also valid YAML. YAML is a complex and unintuitive mess that allows doing every thing in a million w
by crehn 7y ago
Fun fact: YAML is a superset of JSON. That is, any JSON is also valid YAML.
YAML is a complex and unintuitive mess that allows doing every thing in a million ways. I’m surprised it ever got so much traction. TOML is a breath of fresh air next to it.
- deleted 7y ago[deleted]
- chme 7y agoWhat is even greater: with version 1.0 TOML supports different value types in arrays. That means it is compatible with JSON data structures and allows easy conversion of existing applications to it!
- 3pt14159 7y agoMy only gripe with TOML is that numbers can be variable names. I get what they're trying to do (be consistent) but it just looks wrong to have 3.14159 = "pi" to be: {"3":{"14159":"pi"}} Otherwise I think TOML is great.
- BiteCode_dev 7y agoI like toml but the syntaxe for an array of objects is terrible.
- bmn__ 7y ago> Fun fact: YAML is a superset of JSON. That is, any JSON is also valid YAML. That's false. https://metacpan.org/pod/JSON::XS#JSON-and-YAML https://metacpan.org/pod/JSON::XS#JSON-and-YAML