-
-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
To Reproduce
$ dasel version
v3.2.1
$ echo '
[[fruits]]
name = "apple"
[fruits.physical]
color = "red"
shape = "round"
' | dasel -i toml -o json
dasel: error: error reading input: conflicting types at path 'fruits': expected mapThis is valid syntax:
Any reference to an array of tables points to the most recently defined table element of the array. This allows you to define sub-tables, and even sub-arrays of tables, inside the most recent table.
Expected behavior
{
"fruits": [
{
"name": "apple",
"physical": {
"color": "red",
"shape": "round"
}
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working