Closed willpinha closed 2 years ago
Support for this was added in https://github.com/toml-lang/toml/pull/904. Changelog: https://github.com/toml-lang/toml/blob/main/CHANGELOG.md
Keep in mind that, even with multi-line inline tables, indentation is ignored. What makes this work for you (once your parser supports it) are the commas and line breaks, not the indents.
Is there a way to support indentation in inline tables? So instead of doing:
We can do:
This is especially useful when we are dealing with many fields in the inline table.