I´m trying to save a nested dictionaries structure to a json file and don´t know how to do it.
main(Dictionary) Key1: Dictionary1
with open(‘Main.json’, ‘w’) as fp:
but it doesn´t work. Could you help me, please?