[EMAIL PROTECTED] schrieb:
> It seems TurboGears apps always return *strings*....either html or
> JSON or something else.
> 
> It isn't trivial to convert these *strings* to Python *dicitonaries*.
> 
> I was wondering easiest way to do this.
> 
> (e.g. Imagine the TurboGears web app's clients are Python scripts
> using urllib to grab data from a SQLObject database.)

I don't fully get this - is there any reason not to use simplejson to 
decode JSON-output to a dictionary? That's precisely what it's for.

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to