You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[a]]
[[a.b]]
[a.b.c]
d = "val0"
[[a.b]]
[a.b.c]
d = "val1"
The library has no problem producing the toml output from a python object constructed like so, but on attempting to parse it, it errors with "An implicitly defined table can't be an array". That does not seem to be the case in this file.
Removing one layer of table/array allows it to be read.
To be fair, the TOML to JSON tool I usually use to validate my TOML doesn't work correctly with this eiither: https://toml-to-json.matiaskorhonen.fi/, but I can't find anything in the spec that should limit this use case.
Here's that same toml input being dumped from a python object and then loaded.
Here's an example of such a toml file:
The library has no problem producing the toml output from a python object constructed like so, but on attempting to parse it, it errors with "An implicitly defined table can't be an array". That does not seem to be the case in this file.
Removing one layer of table/array allows it to be read.
To be fair, the TOML to JSON tool I usually use to validate my TOML doesn't work correctly with this eiither: https://toml-to-json.matiaskorhonen.fi/, but I can't find anything in the spec that should limit this use case.
Here's that same toml input being dumped from a python object and then loaded.
The text was updated successfully, but these errors were encountered: