Duplicate Keys when Generating a Json from a Dictionary in Python
TLDR: A dictionary in json treats all keys as string, while a python dict distinguishes not only between the content but also its datatype (see stackoverflow). When saving a dictionary into a json and reloading the dictionary from it, you have to be careful not to implicitely convert the original numeric key into a key …
Duplicate Keys when Generating a Json from a Dictionary in Python Read More »