JSON is Faster than XML – This is No Surprise

I was reading the wires today and came across another article talking about the speed advantage of JSON over XML in the serialization/transfer/de-serialization. Certainly, that's no surprise to anyone that's used both of these formats. XML, as it's defined is just not meant to move large amounts of data, and while it's possible to use it for config files, I think it's still a miss there as plists or SQLite is a far better solution.

But what got my interest this morning is the existence of a Google Groups project called touchcode. In this one project, there is a sub-project called TouchJSON that implements the JSON format in Obj-C code. This is cool stuff.

I've done plenty of JSON stuff in Java for the Google Visualization API, but this means that I don't have to mess around with writing an API for all the work on the Mac I might like to use JSON. Again, I can't see it as a valid tool for config files, but for serving up JSON data, this, along with a nice embedded HTTP server in Obj-C would be a great pairing. That way, I could stay in Obj-C and provide JSON data to AJAX clients. Neat.

Not sure why WebObjects got the can, but it did. Sure would be nice to see what (if anything) Apple is looking at for a possible replacement.