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
Describe the bug
A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.25.2
Operating system: maclinux
Installed via: NixOS
Input Yaml
data1.yml:
values:
- global.region: qa-de-1
Command
yq '.values[] | to_entries[]' data1.yml
Actual behavior
Error: Bad expression, please check expression syntax
Expected behavior
key: global.regionvalue: qa-de-1
Additional context
This can be worked around with yq '.values[] | to_entries | .[]' data1.yaml but it would be cool to have the alias to be jq compatible.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
Note that any how to questions should be posted in the discussion board and not raised as an issue.
Version of yq: 4.25.2
Operating system: maclinux
Installed via: NixOS
Input Yaml
data1.yml:
Command
yq '.values[] | to_entries[]' data1.yml
Actual behavior
Expected behavior
Additional context
This can be worked around with
yq '.values[] | to_entries | .[]' data1.yaml
but it would be cool to have the alias to be jq compatible.The text was updated successfully, but these errors were encountered: