Unfortunately there is a subtle difference between the output of repr/str 
and JSON. Python by default uses single quotes while JSON needs the double 
ones. If there are no strings in the dict though, str/repr would work all 
fine.

Reply via email to