Disclaimer: You are looking at a post I wrote some time ago. The information and opinions contained within may be outdated and may differ from my current views. Please proceed accordingly.

Hooray For Programmers Who Can Explain Stuff

Jan 23, 2007 11:06 AM
Tags: blogging, javascript, programming, technology, writing, xml

Simon Willison condenses the case for JSON in an explanation I could have used a year ago.

The sweet spot for JSON is serializing simple data structures for transfer between programming languages. If you need more complex data structures (maybe with some kind of schema for validation), use XML. If you want to do full blown RPC use SOAP or XML-RPC. If you just want a light-weight format for moving data around, JSON fits the bill admirably.

Back then, I could only glean that people were sick of XML and it was cool you could just eval() it in the browser.

This is what Jeff Atwood means when he says that programming isn't the most important thing that a programmer can do.

This blog is no longer active, and comments have been disabled.