You could give the MessagePack protocol (http://msgpack.org/) a go. It's like a binary JSON with readers and writers in many languages. I've successfully used it on a server network running LuaJIT to transfer data around, and it's quite compact.
PlayerXMember Since 04 Feb 2005
Offline Last Active Jul 02 2013 06:20 PM