On 01/05/2006, at 21:50, Jorge Godoy wrote:
> > Em Segunda 01 Maio 2006 16:41, Alberto Valverde escreveu: >> >> I'm using 'encode' with no problems (thanks to Kevin to pointing it >> out at http://tinyurl.com/lkl84) > > So, you're using *just* jsonify.encode(). I was using it together > with > json.write(), as it was the recommended approach a while ago > (jsonify.encode() was there to grant a valid value to json.write(), > IIRC). Yep, but don't take me too seriously, I'm not a "jsonify" expert :) However, jsonify returns a string so you should be fine... >>> type(encode(dict(a=2))) <type 'str'> Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
