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
Looking at other TOML -> JSON tools, it looks like empty tables should map to an empty object. I've updated your fix @elibroftw with that in mind. Will be part of the next release.
Describe the bug
yq rejects perfectly legal empty TOML tables
Version of yq: v4.40.5
Input Toml
input.toml:
Command
Actual behavior
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."
The text was updated successfully, but these errors were encountered: