Hi.
Why the json serializer does not support plain strings?
I'm having problems because I want to serialize keywords arguments and
the dictionary keys are str objects, not unicode.
There are some problems with this:
elif isinstance(obj, str):
w('"')
w(stringEncode(obj.decode("us-ascii"))
w('"')
?
I can use simplejson, but I don't want to add too many dependencies.
Thanks Manlio Perillo
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web