skip to Main Content

Jq how to merge two json objects

I want to merge two JSON objects that has a common key Object A { "extensions": { "app_name": "extensions-prod" }, "plugins": { "app_name": "plugins-prod" } } Object B { "plugins": { "project_name": "plugins-prod" } } Desired output: { "plugins": {…

VIEW QUESTION

Json – JQ – group duplicates not remove

I am trying to group the duplicates from the following json by id, but remove duplicates . Here is the json: { "intId": "97210f2c23f45b55569f32309105f395c94", "extId": "39e9588ee62d1cccc711d75ff86c5570", "name": "generic name", "users": { "186-1": { "userKey": "186-1", "extId": "186", "intIds": { "w_eyvyfghz844o":…

VIEW QUESTION

Json – Flatten multiple arrays keeping order

I have a json object like: { "Nemo": [ 3694756688, 3694756832, 3694756650 ], "Firefox": [ 3694756795, 3694756407, 3694756412, 3694756395 ], "Codium": [ 3694756035, 3694756383, 3694756378 ], "Terminals": [ 3694756804, 3694756802, 3694756428 } I need output like: 3694756688 3694756832 3694756650 3694756795…

VIEW QUESTION
Back To Top
Search