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

How to validate json with some conditions

There is some json. { "headerInfo": { "id": 50 "characteristics": [ { "id": "123456789", "type": "float", "multiValued": false, "numberDecimals": 6, "length": 10, "caseSensitive": false, "entryFieldMask": "_,___.______", "unitOfMeasure": "P1", "additionalValues": true }, { "id": "15151511", "type": "float", "multiValued": false, "numberDecimals": 0,…

VIEW QUESTION
Back To Top
Search