I\'m getting started with Google App Engine. I want to make AJAX chat like Twitter.
class ChatMessage(db.Model): message = db.StringProperty() created =
In App Engine Python you can use this script to encode db.Models to JSON. You may have to customize some parts, like the DateTime formatting.
http://code.google.com/p/google-app-engine-samples/source/browse/trunk/geochat/json.py?r=55