i have a dictionary, print statement gives me this result
{u'Cosmetics wholesaler': [set(['Famous', 85.94406247138977])], u'Mortuary': [set([80.53020238876343, 'Red']), set([57.67210125923157, 'Swordfish'])]}
this is what gives me this dict with set appended
if x[itm] not in dict.keys():
dict[x[itm]] = []
dd = {x['Input Tag'], x['crank-' + itmSplit[1]]}
dict[x[itm]].append(dd)
I want to dump this to json but after using json.dumps, its giving this error
raise TypeError(repr(o) + " is not JSON serializable")