I am writing a little program in python and I am using a dictionary whose (like the title says) keys and values are tuples. I am trying to use json as follows
im
You can use ujson module. ujson.dumps() accepts tuples as keys in a dictionary. You can install ujson by pip.