✅ Writing a dictionary to json file
I'm writing a helper function that is executed at run-time to check if the
I've looked at a couple of different stack overflows, but they have some weird code as their solutions that I've never seen before.
styles.json file exists and if it doesn't then it creates the file and writes in the default style dictionary. The wanted end result looks like thisI've looked at a couple of different stack overflows, but they have some weird code as their solutions that I've never seen before.