3 ms·
Alternatives to XML?
I have grown to really dislike XML as a comunicating protocol/data serialiser. It is very verbose and inefficient, especially for mobile use. Its main advantages are: it is ubiquitous, and there are many free tools, parsers, marshallers available for any languages.
Assuming you have control both to the server and client, what would be a good alternative to XML?
I thought about Json, but I don't like its syntax.
What's your experience with these alternatives?
- stevecooperorg 18y agoyaml? not used it myself, but possibly worth a look.
- gaika 18y agoyaml or thrift (binary)
- ScottWhigham 18y agoyaml is definitely a logical alternative, I think
- bayareaguy 18y agoFor simple transport, I've always liked http://cr.yp.to/proto/netstrings.txt http://cr.yp.to/proto/netstrings.txt
- boucher 18y agonever heard of it before, but our custom protocol is pretty similar to this.