Closed
Description
Describe the bug
yq rejects perfectly legal empty TOML tables
Version of yq: v4.40.5
Input Toml
input.toml:
[emptyTable]
Command
yq -o=json '.' input.toml
Actual behavior
Error: bad file 'input.toml': error retrieving table [emptyTable] value: %!w(<nil>)
Expected behavior
Parsing works. https://toml.io/en/v1.0.0#table says: "Empty tables are allowed and simply have no key/value pairs within them."
Activity