-
There is another go project gojq which also implements the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I also noticed that gojq doesn't keep the order of map keys. I'm sure there are other differences too. |
Beta Was this translation helpful? Give feedback.
-
@mikefarah Thanks for all these infos. Indeed the main difference seems to be that Great project, thanks! |
Beta Was this translation helpful? Give feedback.
yq
has been built specifically to handleyaml
- so it handle multi-docs yaml files, comments, aliases, merge anchors, styling, tags and has operators specifically to manipulate that metadata, and does its best to keep that formatting (though it's not perfect) when editing.I also noticed that gojq doesn't keep the order of map keys.
I'm sure there are other differences too.