I have problem in reading json from file using python. The data are stored in dictionary that makes unsorted. I want to store the data in list variable to be in right sequence.
flookup = open('lookup.json')
self.tags = json.loads(flookup.read())
flookup.close()
self.tags contains data not ordered based on lookup.json file
{
"JournalTitle": "Journal Title",
"PubCode": "Pub Code",
"UniqueDocumentID": "Unique Document ID"
}