Json looks like this:
cat test.json |jq -r ".nodes[].run_data" { "id": "1234", "status": "PASSED","penultimate_status": "PASSED", "end_time":"2022-02-28T09:50:05Z" } {"id": "4321", "status": "PASSED", "penultimate_status": "UNKNOWN","end_time": "2020-10-14T13:52:57Z" }
I want to get "status" and "end_time" of the newest run. Unfortunately the order is not fix. Meaning the newest run can be first in the list, but also last or in the middle...