I would rely on repr too much, Wikus is correct,
and all escape sequences are safe?

http://json.org/

simplejson slow vs repr? on GAE it should be even slower...



2011/1/10 Wikus van de Merwe <dupakrop...@googlemail.com>:
> 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