On Fri, Feb 13, 2009 at 11:35 PM, percious <[email protected]> wrote:
>
> Personally I think we should default to SimpleJson, and then if the
> user has TurboJson installed, we should
> default to that.  It should be simple enough to put a switch in
> config.
>
> try:
>    import turbojson
> except:
>   import simplejson
>
> or such.
>
> I feel that for simple jsonifications (dictionaries) SJ will be
> enough.

But it is extraordinarily likely that SQLAlchemy objects will be
returned by the controller, and those are not simple dictionaries.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to