If you write programs in Python, more likely than not, at one point you will have to either write a dictionary to a JSON file or read a dictionary from a JSON file. Fortunately, reading and dumping JSON files are super easy in Python. In this tutorial I will show you how to write a dictionary to a JSON file and how to read a dictionary from a JSON file.
Write dictionary to a JSON file
Read dictionary from a JSON file
thanks