Skip to content

Possible to merge arrays using their values as keys? #791

Answered by mikefarah
kyguy asked this question in Q&A
Discussion options

You must be logged in to vote

You should be able to do it - I've recently added an example of merging arrays using matching object keys:

https://mikefarah.gitbook.io/yq/operators/multiply-merge#merge-arrays-of-objects-together-matching-on-a-key

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mikefarah
Comment options

@kyguy
Comment options

@mikefarah
Comment options

@kyguy
Comment options

Answer selected by kyguy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants