I have a like 950 json files that I need to transform but I'm kinda stuck. I have right a shell script to iterate over files, delete somekeys but I go ...
I have a like 950 json files that I need to transform but I'm kinda stuck. I have right a shell script to iterate over files, delete somekeys but I go ...
Given this JSON: Can the following jq code be simplified? The use of variable assignment feels like cheating and I'm wondering if it can be elim ...
This is a variation on a question that's been asked before. I'm using an external data source in Terraform to ask it for a list of volume snapshots i ...
how to convert json data into single string with no spaces in between using bash scripting? I have below json data we need to convert above json d ...
I want to filter with jq the objects from json content of this fileA [ { "id": "bird", "content": { "key1": "a" } }, { ...
I have 2 json files containing translations for my app: en-US.json: { "car": "car", "bike": "bike", "tree": "tree", } nl-NL.json: { ...
How to dynamically update one JSON object and put it back into the original JSON objects variable? I have one variable with the following JSON data i ...
Consider this JSON document check syntax I want to generate a series of strings that combines the id field with each of the values. So output I ...
There is a part of the script where each request receives a response and is written to a variable. How to do it in one request with writing to variabl ...
I want to extract an array of key-value pairs from the below JSON, that is generated by the following AWS CLI script. The array should contain the loa ...
From Wikidata, I get the following json: # Sparql query query=$(cat ./myquery.sparql) response=$(curl -G --data-urlencode query="${query}" https://wi ...
I have a json like this My attempt is to replace TaskDefinition key value from "abc" to "123" and ContainerName key value from "def" to "456 in one ...
I have an input like below which just has stageIds, along with their submit and completion time in unix time seconds desired output is below, where ...
I have a jq command which I am trying to parallelise using GNU parallel but for some reason I am not able to get it to work. The vanilla jq query is: ...
I have: [ { "name": "Trevor", "fruits": ["apple", "banana"] }, { "name": "Lily", "fruits": ["apple", "haribo"] } ] And I want ...
I just want to be able to have a small quick view or list of what is changing with a terraform plan instead of the long output given by a terraform pl ...
My json file is called my_locations.json and contains an array called locations. I want to filter this array by all objects that have keys location.is ...
I want to fetch some data from below JSON code: I'm able to get the output using below command but now I want to format it in such a way that my outp ...
I have a json of this type: I get the Affiliation using jq like so: It works great, and gives me excatly the affiliations I need. However, I no ...
I'm trying create a function that echoes the a JSON with escaped values with backslash like "System.Title": "The \"title\" with double quotes" propert ...