
Sept. 9, 2006
1:08 p.m.
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