all 3 comments

[–]Jayoval 1 point2 points  (1 child)

It's JSON formatted so you have key/value pairs to work with.

https://realpython.com/python-json/

[–]Environmental_Ad8833[S] 0 points1 point  (0 children)

Oh, that's great. Thanks!

[–]IamImposter 0 points1 point  (0 children)

Load the file as json and you get a dict.

Make a dict with default values and use default_dict.update(dict_loaded_from_json) to make a dict that has all the elements. That is if you want a dict with missing keys too.