skip to Main Content

bash get 2nd JSON record with jq

I'm trying to get the lastest version of "spip" For that, I can use a JSON output from https://www.spip.net/spip_loader.api but I don't know how to get the 2nd record key (4.2.5) in bash with jq. $ wget -q -O- https://www.spip.net/spip_loader.api…

VIEW QUESTION

Normalize JSON data

Given the following JSON structure { "data": [ { "id": "000000000014444A", "teams": [ "000000000011AE74" ] }, { "id": "000000000014434B", "teams": [ "000000000011AE74", "00000000001583CE", "000000000010B4D7" ] } ] } How can I use jq to structure the data as [ {…

VIEW QUESTION
Back To Top
Search