Recently, I’ve spent a lot of time going back and forth between Python dicts and JSON. For some reason, I decided last week that I’d be useful to be able to quickly convert a Python dict to pretty printed JSON.
I created a TextExpander snippet that takes a Python dict from the clipboard, converts it to JSON, and pastes it.
Here are the details:

|
|