Hi All,
I'm trying to create a combined list of itemNames under "run", within each of the headers, if anyone can help please.
Example List (from a JSON file I've read in):
CG
I'm trying to create a combined list of itemNames under "run", within each of the headers, if anyone can help please.
Example List (from a JSON file I've read in):
{ "Header1":{ "skip":[ ], "run":[ "itemName1" "itemName2" ] }, "HdrNumber2":{ "skip":[ ], "run":[ "itemName3" "itemName4" "itemName5" "itemName6" ] } }...so that the result should be this list:
{'itemName1', 'itemName2', 'itemName3', 'itemName4', 'itemName5', 'itemName6'}Thank you in advance! (I feel like this should be simple, but have been banging my head much of today trying to figure out how create that list!)
CG