Also look into AMF/PyAMF AMF is binary protocol , very much like json. I have a chatroulette like webcam application in development using PyAMF.
On 9/20/11, Phyo Arkar <phyo.arkarl...@gmail.com> wrote: > yes, json/jsonp is much better portocol for gaming coz due to lesser > size and its properties. > But if he already have XML engine for his game he should go with it > (coz all the game engine supports XML , not any with JSON support i > know of yet.) > > On 9/20/11, Ross Peoples <ross.peop...@gmail.com> wrote: >> You can try JSON, Python 2.6+ has a C JSON parser in it already which >> web2py >> uses for JSON communications. I haven't done any testing with it versus >> XML, >> but JSON is such a simple protocol with minimal parsing requirements that >> I'd imagine it's much faster than parsing XML. >