skip to Main Content

Combining multiple json arrays

I'm trying to combine two json files with arrays in common using jq (example below): file1.json { "veg": { "trolley": [ "potato" ], "total_items": [ 1 ] } } file2.json { "veg": { "trolley": [ "lettuce", "tomato" ], "total_items": […

VIEW QUESTION
Back To Top
Search