Hacker News new | ask | show | jobs
by paulddraper 27 days ago
> Top-level arrays. A TOML file is always a table, so a list of records needs a wrapper key.

I'm curious for example configs that are top-level lists?

1 comments

One example could be something that's a list of files/folders e.g. .gitignore

Or it could be a list of records:

{name: 'Alice', age: 42}

{name: 'Bob': age: 44}