I have a dictionary like:
{"Items": [ {"ID": "123abc","Name": "test name","Description": "item 1" }, {"ID": "321zyx","Name": "test name two","Description": "item 2" } ]}
I'd like to use jq
to convert this into:
{"123abc": {"Name": "test name","Description": "item 1" },"321zyx": {"Name": "test name two","Description": "item 2" }}
Is that possible? If so, how would I accomplish this?