XML – Looks like this:
JSON – Looks like this:
JSON reminds me of how a lighttpd configuration file is able to hold script in it. Meaning the file that hold information, holds simple code so you have less info to process. JSON can send arrays. So instead of XML parser reading through a node value and creating an array, JSON just sends the array! Instead of an XML parser that creates objects and its properties, JSON just sends the object with it’s properties.