How to recursively modify values of dicts inside dicts?
I’m trying to encrypt all the data inside the json, I need the program to encrypt the data if it’s anything other than a dict, but recursively modify it in the dicts inside the json, here’s an example: