Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?
|
|
Here's the canonical TOML example from the TOML README, and a YAML version of the same. Which looks nicer?
|
|
How would YAML distinguish between a number and a string? TOML seems to do this easily but would a YAML parser automatically give you numbers since all strings and numbers look the same (no double quotes)?
I know this is an old ass question, but I'll leave this here for whoever else stumbles upon this.
In YAML, you can use quotes for strings if you'd like and I usually do all the time as I prefer things to be a bit more explicit.
How would YAML distinguish between a number and a string? TOML seems to do this easily but would a YAML parser automatically give you numbers since all strings and numbers look the same (no double quotes)?