The new AjaxDataController expects all object data to arrive in JSON format. I was using json-py to parse the incoming JSON data.
In keeping with the "One Way To Do It", I think whatever JSON package TurboGears supports, MUST encode and decode JSON formatted data. Otherwise, developers will be forced to find an alternative solution for JSON.
On 24 Dec, 2005, at 9:12 pm, Kevin Dangoor wrote:
At the moment, TurboGears doesn't actually have anything that depends on incoming JSON (that I'm aware of... CatWalk, perhaps?) You can make REST-style requests just fine without being able to decode JSON.
-- Jeff Watkins http://newburyportion.com/ "Computers are like Old Testament gods; lots of rules and no mercy." -- Joseph Campbell

