TomlDecodeError: Loading with multiple dictionaries within a dictionary. #419
Labels
component: decoder
Related to parsing in `toml.load`
syntax: inline table
Related to inline tables
type: bug
A confirmed bug or unintended behavior
Version: v0.10.2
False Error: 'Invalid inline table value encountered'
I get the following error while trying to load the below TOML from a file:
toml.decoder.TomlDecodeError: Invalid inline table value encountered
The contents of the TOML file:
bad = {x = {y = {a = 1}, z = {b = 1}}}
For example, these TOML contents parse fine:
good = {x = {a = 1}, y = {b = 1}}
good = {x = {y = {a = 1}}}}
And this will fail as well:
bad = {x = {y = {w = {a = 1}, z = {b = 1}}}}
The text was updated successfully, but these errors were encountered: