Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving dotted keys in tables #384

Open
xfrost11 opened this issue Oct 22, 2021 · 0 comments
Open

Preserving dotted keys in tables #384

xfrost11 opened this issue Oct 22, 2021 · 0 comments
Labels
component: encoder Related to serialising in `toml.dump` type: feature A self-contained enhancement or new feature

Comments

@xfrost11
Copy link

Reading in the following toml:

[data]
a.b=1

And then writing it right back out yields:

[data.a]
b = 1

Both formats are valid but there doesn't seem to be a way to preserve the formatting of the original.

@pradyunsg pradyunsg added component: encoder Related to serialising in `toml.dump` type: feature A self-contained enhancement or new feature labels Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: encoder Related to serialising in `toml.dump` type: feature A self-contained enhancement or new feature
Projects
None yet
Development

No branches or pull requests

2 participants