I am trying to get all the date values in a json array for the dates inside the england-and-wales value.The array that like this (except it has a lot more values) the json array is here : https://www.gov.uk/bank-holidays.json
{"england-and-wales":{"division":"england-and-wales","events":[{"title":"New Year’s Day","date":"2015-01-01","notes":"","bunting":true}},{"title":"Good Friday","date":"2015-04-03","notes":"","bunting":false}]},"scotland":{"division":"scotla
nd","events":[{"title":"New Year’s Day","date":"2015-01-01","notes":"","bunting":true},{"title":"2nd January","date":"2015-01-02","notes":"","bunting":true},{"title":"Good Friday","date":"2
015-04-03","notes":"","bunting":false},{"title":"Early May bank holiday","date":"2015-05-04","notes":"","bunting":true}
As commented below the following will pick out all dates:
curl -s https://www.gov.uk/bank-holidays.json | jq '.. | .date? // empty'
Im not sure how to only pick dates inside the england-and-wales array?