Json – jq command for getting root element inside an inner list
This is my sample json { "parent": { "rootElement": "root", "innerList": [ {"id": 1, "value": "A"}, {"id": 2, "value": "B"}, {"id": 3, "value": "C"} ] } } I want a transformed json like this using jq commands {"innerList": [ {"id":…